Date: Thursday, January 5, 2023 @ 15:43:50
  Author: yan12125
Revision: 1378295

upgpkg: python-httpx 0.23.3-1

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] https://github.com/encode/httpx/issues/2462
[2] https://github.com/encode/httpx/discussions/2538

Modified:
  python-httpx/trunk/PKGBUILD
  python-httpx/trunk/uvicorn-test-server-use-h11.diff

----------------------------------+
 PKGBUILD                         |   12 ++++++------
 uvicorn-test-server-use-h11.diff |    2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-05 15:15:40 UTC (rev 1378294)
+++ PKGBUILD    2023-01-05 15:43:50 UTC (rev 1378295)
@@ -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')
@@ -21,13 +21,13 @@
 )
 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}

Modified: uvicorn-test-server-use-h11.diff
===================================================================
--- uvicorn-test-server-use-h11.diff    2023-01-05 15:15:40 UTC (rev 1378294)
+++ uvicorn-test-server-use-h11.diff    2023-01-05 15:43:50 UTC (rev 1378295)
@@ -5,7 +5,7 @@
 @@ -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)

Reply via email to