caelum0x 193da7cd3c fix(sdk/python): test_headers_timeout_and_logging asserted the wrong package name
importlib.metadata.version("openjev") raises PackageNotFoundError now that the
real distribution name is "openjev-client" (renamed in a0c6263). The test
imported the stdlib helper directly instead of going through the SDK's own
__version__ (openjev._version, which already has the openjev-client/openjev
fallback), so any fresh install installed under the real "openjev-client"
distribution name fails this test with zero relation to the behavior being
tested (the user-agent header format itself is unaffected -- it is still
"openjev/<version>", matching SDK_NAME).

Verified live: before the fix, `pytest tests/test_clients.py` failed 2/111
(sync + async) with PackageNotFoundError; after, 111/111 pass. Full suite:
681 passed, 54 skipped (unchanged skip count, no regressions). ruff and
pyrefly both clean on the touched file.
2026-11-10 00:20:19 +03:00
..