Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: python-httpx 0.23.3-1
Browse files Browse the repository at this point in the history
Both 0.23.1 [1] and 0.23.2 [2] come with backward-incompatible changes,
both of which are (partially) reverted later. Pushing to
[community-testing] first as I'm scared.

[1] encode/httpx#2462
[2] encode/httpx#2538


git-svn-id: file:///srv/repos/svn-community/svn@1378295 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
yan12125 committed Jan 5, 2023
1 parent ec66f5a commit 9a690e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions python-httpx/trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
_pkgname=httpx
pkgname=python-httpx
# https://github.com/encode/httpx/blob/master/CHANGELOG.md
pkgver=0.23.1
pkgver=0.23.3
pkgrel=1
pkgdesc="A next generation HTTP client for Python"
arch=('any')
Expand All @@ -21,13 +21,13 @@ optdepends=(
)
makedepends=('python-build' 'python-installer' 'python-hatchling' 'python-hatch-fancy-pypi-readme')
checkdepends=('python-pytest-asyncio' 'python-pytest-trio' 'python-typing_extensions' 'python-brotlicffi' 'python-h2' 'python-trustme' 'uvicorn' 'python-socksio'
'python-rich' 'python-chardet' 'python-multipart')
'python-rich' 'python-chardet')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
"uvicorn-test-server-use-h11.diff")
sha512sums=('3fe280b6d3cb1a12bdd502e7bd432588375f9cebfcd9e071acb6e851866a56d84a715428599a297f5df43d73997b2a0c02ba1a12b3e32d292b2051161a350751'
'd86ec2b97ca0dda68f023f9d1fbed0cb143e4ae118ac71fe6651f8f65d7130f014c0cc14a9ab490fc09583370141d5827976c334bd1c58aaebcf1a00762214c9')
b2sums=('ee01771377bbfebbc4a9346280c8d59508c78295e61b6f9d60a07099e44dfb0fc208d37b68f511bbbacb48438cf6daa73ef82d7a7ae75470409c8346ddad0ad5'
'b67493e9c8d38ae9b64d831b178d8b943a90a3382e381f08792a35c935fa702b094ea962eb653e5b6ad1b5990466d3d0814d166093aa7b9e921632e61d4ebd45')
sha512sums=('d4f051578de63e677492727c466d44858c31d1b85441621667d4aeaec5cd2ebd0257a1db115f1b4d77d563359dfc81c2cd1221c0cc66c891b461fa1f4e8a5aee'
'd3e6a9df365aff5e4e7b724469672c6da9c7e95cc5d79339ebd1ea249236802d81b8792efb0826f89747424fa1bef20d4965ddb75b3b67e9cd320b5fcc738f18')
b2sums=('96903669ca9d22cbb85bd322a407aa2b6799b5f8bfce277a763248ac2d65d60b85c0c71f24af99098eaca585f8136d9db687d6d0ab8cf2347d3c6fe28222def0'
'f7fc5aa67d59dfbf544ea2668a5df6449d1cb30f5adf1433d92ebbc0fd10d46fec592f1befe829e126d72240666b9c3ea1f69a9f2cca6f3f4e135a7e454be25d')

prepare() {
cd ${_pkgname}-${pkgver}
Expand Down
2 changes: 1 addition & 1 deletion python-httpx/trunk/uvicorn-test-server-use-h11.diff
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ index 970c353..1ea3aa9 100644
@@ -304,7 +304,7 @@ def serve_in_thread(server: Server):

@pytest.fixture(scope="session")
def server():
def server() -> typing.Iterator[TestServer]:
- config = Config(app=app, lifespan="off", loop="asyncio")
+ config = Config(app=app, lifespan="off", loop="asyncio", http="h11")
server = TestServer(config=config)
Expand Down

0 comments on commit 9a690e8

Please sign in to comment.