Merge branch 'lilydjwg:master' into master

This commit is contained in:
envolution 2024-11-30 10:25:27 -05:00 committed by GitHub
commit 665fe9f15c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# MIT licensed
# Copyright (c) 2013-2024 lilydjwg <lilydjwg@gmail.com>, et al.
__version__ = '2.16dev'
__version__ = '2.16'

View file

@ -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:

View file

@ -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

View file

@ -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):