Date: Monday, November 21, 2022 @ 05:28:08
Author: yan12125
Revision: 1350114
python-httpx: drop the workaround for httpcore 0.16.0
Modified:
python-httpx/trunk/PKGBUILD
Deleted:
python-httpx/trunk/httpcore-0.16.0.diff
----------------------+
PKGBUILD | 12 +++---------
httpcore-0.16.0.diff | 13 -------------
2 files changed, 3 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-21 05:27:35 UTC (rev 1350113)
+++ PKGBUILD 2022-11-21 05:28:08 UTC (rev 1350114)
@@ -22,14 +22,11 @@
checkdepends=('python-pytest-asyncio' 'python-pytest-trio'
'python-typing_extensions' 'python-brotlicffi' 'python-h2' 'python-trustme'
'uvicorn' 'python-socksio'
'python-rich' 'python-chardet')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz"
- "uvicorn-test-server-use-h11.diff"
- "httpcore-0.16.0.diff")
+ "uvicorn-test-server-use-h11.diff")
sha512sums=('3cfdf2b3b2f15967a1eec0be05ed947c5e18a46576b68a9cbfd5147dfd4736cb7c389f5431732b93f3a11f3ec6c6f25f7cbb3d96d845f00b58e2b8dae047c1d5'
-
'd86ec2b97ca0dda68f023f9d1fbed0cb143e4ae118ac71fe6651f8f65d7130f014c0cc14a9ab490fc09583370141d5827976c334bd1c58aaebcf1a00762214c9'
-
'085729868f7d77bfe6c9a64eafe01d97e22040db5dc9b27d30de0febff328cf95a4b160649aaeea5174ae6d3f5fb21e9dbfb33df4ffe941a03a425f610da7a81')
+
'd86ec2b97ca0dda68f023f9d1fbed0cb143e4ae118ac71fe6651f8f65d7130f014c0cc14a9ab490fc09583370141d5827976c334bd1c58aaebcf1a00762214c9')
b2sums=('036c66b2c3f743cd069716297f331f0d75043a98180b9db3e156c5692ae8bf9c68d1db87169953a7f44aaf7ee8554d0166f70b508f77b7ff4b0ebc0500bc02ad'
-
'b67493e9c8d38ae9b64d831b178d8b943a90a3382e381f08792a35c935fa702b094ea962eb653e5b6ad1b5990466d3d0814d166093aa7b9e921632e61d4ebd45'
-
'd15e9a864d6c6db808855decbce10c1eee4c05caa979394e4ad43a83555aa9b0970c17a725f91bd1d1a47ddef70df8bbf991e08c7e970dc2433de0088770eb11')
+
'b67493e9c8d38ae9b64d831b178d8b943a90a3382e381f08792a35c935fa702b094ea962eb653e5b6ad1b5990466d3d0814d166093aa7b9e921632e61d4ebd45')
prepare() {
cd ${_pkgname}-${pkgver}
@@ -37,9 +34,6 @@
# fix tests
patch -Np1 -i ../uvicorn-test-server-use-h11.diff
- # fix tests with httpcore 0.16.0; see
https://github.com/encode/httpx/discussions/2438
- patch -Np1 -i ../httpcore-0.16.0.diff
-
# disable -Werror, which often causes failures due to newer dependencies in
Arch
sed -i '/\berror\b/d' setup.cfg
}
Deleted: httpcore-0.16.0.diff
===================================================================
--- httpcore-0.16.0.diff 2022-11-21 05:27:35 UTC (rev 1350113)
+++ httpcore-0.16.0.diff 2022-11-21 05:28:08 UTC (rev 1350114)
@@ -1,13 +0,0 @@
-diff --git a/tests/client/test_async_client.py
b/tests/client/test_async_client.py
-index da2387d..ef7be29 100644
---- a/tests/client/test_async_client.py
-+++ b/tests/client/test_async_client.py
-@@ -173,7 +173,7 @@ async def test_100_continue(server):
- server.url.copy_with(path="/echo_body"), headers=headers,
content=content
- )
-
-- assert response.status_code == 200
-+ assert response.status_code == 100
- assert response.content == content
-
-