Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / 
python-httpcore


Commits:
20195de6 by Chih-Hsuan Yen at 2023-11-09T22:27:49+08:00
Upgrade to 1.0.1

anyio, sniffio become optional since 1.0.0 [1]

Also moves/adds all optional dependencies to makedepends

Pushed to [extra-staging] as httpcore 1.x requires 4.x for anyio [1]

[1] https://github.com/encode/httpcore/pull/809

- - - - -
5d65430e by Chih-Hsuan Yen at 2023-11-09T22:29:43+08:00
upgpkg: 1.0.1-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,30 @@
+pkgbase = python-httpcore
+       pkgdesc = A minimal HTTP client
+       pkgver = 1.0.1
+       pkgrel = 1
+       url = https://github.com/encode/httpcore
+       arch = any
+       license = BSD
+       checkdepends = python-pytest-httpbin
+       checkdepends = python-pytest-trio
+       makedepends = python-build
+       makedepends = python-installer
+       makedepends = python-hatchling
+       makedepends = python-hatch-fancy-pypi-readme
+       makedepends = python-h2
+       makedepends = python-socksio
+       makedepends = python-trio
+       makedepends = python-anyio
+       makedepends = python-sniffio
+       depends = python
+       depends = python-h11
+       depends = python-certifi
+       optdepends = python-h2: for HTTP/2 support
+       optdepends = python-socksio: for SOCKS support
+       optdepends = python-anyio: for asyncio backend
+       optdepends = python-trio: for trio backend
+       optdepends = python-sniffio: for async support
+       source = 
python-httpcore-1.0.1.tar.gz::https://github.com/encode/httpcore/archive/1.0.1.tar.gz
+       sha512sums = 
2ad177bfc4523f659e5cfac5d61c464b964192856e4c84b253e85ead47631f9aedee5248e962899248f7b745783a0bc746024310841cc844a78ba52ea1637c44
+
+pkgname = python-httpcore


=====================================
PKGBUILD
=====================================
@@ -4,24 +4,26 @@
 _pkgname=httpcore
 pkgname=python-httpcore
 # https://github.com/encode/httpcore/blob/master/CHANGELOG.md
-# UPDATE_BLOCKED: httpcore 1.x requires anyio>=4.0, which is in turn blocked
-pkgver=0.18.0
+pkgver=1.0.1
 pkgrel=1
 pkgdesc="A minimal HTTP client"
 arch=('any')
 url="https://github.com/encode/${_pkgname}";
 license=('BSD')
-depends=('python' 'python-anyio' 'python-h11' 'python-sniffio' 
'python-certifi')
+depends=('python' 'python-h11' 'python-certifi')
 optdepends=(
   'python-h2: for HTTP/2 support'
   'python-socksio: for SOCKS support'
+  'python-anyio: for asyncio backend'
   'python-trio: for trio backend'
+  # Used but not listed in pyproject.toml. Probably upstream relies on 
transitive dependency anyio -> sniffio
+  'python-sniffio: for async support'
 )
 makedepends=('python-build' 'python-installer' 'python-hatchling' 
'python-hatch-fancy-pypi-readme'
-             'python-h2')
-checkdepends=('python-pytest-httpbin' 'python-pytest-trio' 'python-socksio')
+             'python-h2' 'python-socksio' 'python-trio' 'python-anyio' 
'python-sniffio')
+checkdepends=('python-pytest-httpbin' 'python-pytest-trio')
 source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha512sums=('3dc8114bf02226fc4ac87408163e599f4e9f70f9e5663c9eb7dc9a65b2b72861f3b19ed2f87e29ac90a8b85c5dc32a3fffdaf88e83b15df838fcbd89737b1c57')
+sha512sums=('2ad177bfc4523f659e5cfac5d61c464b964192856e4c84b253e85ead47631f9aedee5248e962899248f7b745783a0bc746024310841cc844a78ba52ea1637c44')
 
 prepare() {
     cd ${_pkgname}-${pkgver}



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-httpcore/-/compare/9aae6bf5b99157c7062fd4a730c9cf57bcbfbfa2...5d65430e6fc425a09c8b8aece900229b6574e158

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-httpcore/-/compare/9aae6bf5b99157c7062fd4a730c9cf57bcbfbfa2...5d65430e6fc425a09c8b8aece900229b6574e158
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to