diff --git a/nvchecker/__init__.py b/nvchecker/__init__.py index 4791cd2..bd3c7c2 100644 --- a/nvchecker/__init__.py +++ b/nvchecker/__init__.py @@ -1,4 +1,4 @@ # MIT licensed # Copyright (c) 2013-2024 lilydjwg , et al. -__version__ = '2.16dev' +__version__ = '2.16' diff --git a/nvchecker/httpclient/httpx_httpclient.py b/nvchecker/httpclient/httpx_httpclient.py index 6604727..412eccb 100644 --- a/nvchecker/httpclient/httpx_httpclient.py +++ b/nvchecker/httpclient/httpx_httpclient.py @@ -49,7 +49,8 @@ class HttpxSession(BaseSession): method, url, json = json, content = body, headers = headers, follow_redirects = follow_redirects, - params = params, + # httpx checks for None but not () + params = params or None, ) err_cls: Optional[type] = None if r.status_code >= 500: diff --git a/setup.cfg b/setup.cfg index b395bd5..efa5296 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,6 +29,7 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Topic :: Internet Topic :: Internet :: WWW/HTTP Topic :: Software Development diff --git a/tests/test_android_sdk.py b/tests/test_android_sdk.py index 28f9530..758e889 100644 --- a/tests/test_android_sdk.py +++ b/tests/test_android_sdk.py @@ -18,7 +18,7 @@ async def test_android_package(get_version): "android_sdk": "cmake;", "repo": "package", }) - assert version.startswith("3.30.") + assert version.startswith("3.") async def test_android_package_channel(get_version):