Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / python-urllib3
Commits: c97860f8 by Carl Smedstad at 2024-09-04T08:00:51+02:00 upgpkg: 1.26.20-1: Upstream release & use standard pytest https://github.com/urllib3/urllib3/releases/tag/1.26.20 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,6 +1,6 @@ pkgbase = python-urllib3 pkgdesc = HTTP library with thread-safe connection pooling and file post support - pkgver = 1.26.19 + pkgver = 1.26.20 pkgrel = 1 url = https://github.com/urllib3/urllib3 arch = any @@ -14,7 +14,7 @@ pkgbase = python-urllib3 checkdepends = python-idna checkdepends = python-pyopenssl checkdepends = python-pysocks - checkdepends = python-pytest7 + checkdepends = python-pytest checkdepends = python-pytest-freezegun checkdepends = python-pytest-timeout checkdepends = python-tornado @@ -30,7 +30,7 @@ pkgbase = python-urllib3 optdepends = python-idna: security support optdepends = python-pyopenssl: security support optdepends = python-pysocks: SOCKS support - source = https://github.com/urllib3/urllib3/archive/1.26.19/python-urllib3-1.26.19.tar.gz - sha512sums = 6b72012dbd85434b2441229cbdea2a94583693f904dde349780e1290d581c8a5e10fe00a287a032ed1276349d0078b530f16a133e0f164dcea18105fa3dec79a + source = https://github.com/urllib3/urllib3/archive/1.26.20/python-urllib3-1.26.20.tar.gz + sha512sums = 63c4263c5e61adf28344e79b6c864c70e555b715a93e735aca5b6e169f041f3e4518961993c86c83dd13bcb149f7dd77b6e90140cf4aa2310c14fcaa0a52179b pkgname = python-urllib3 ===================================== PKGBUILD ===================================== @@ -5,7 +5,7 @@ _name=urllib3 pkgname=python-urllib3 -pkgver=1.26.19 +pkgver=1.26.20 pkgrel=1 pkgdesc="HTTP library with thread-safe connection pooling and file post support" arch=("any") @@ -28,7 +28,7 @@ checkdepends=( 'python-idna' 'python-pyopenssl' 'python-pysocks' - 'python-pytest7' + 'python-pytest' 'python-pytest-freezegun' 'python-pytest-timeout' 'python-tornado' @@ -42,8 +42,8 @@ optdepends=( 'python-pyopenssl: security support' 'python-pysocks: SOCKS support' ) -source=("https://github.com/urllib3/urllib3/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('6b72012dbd85434b2441229cbdea2a94583693f904dde349780e1290d581c8a5e10fe00a287a032ed1276349d0078b530f16a133e0f164dcea18105fa3dec79a') +source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('63c4263c5e61adf28344e79b6c864c70e555b715a93e735aca5b6e169f041f3e4518961993c86c83dd13bcb149f7dd77b6e90140cf4aa2310c14fcaa0a52179b') prepare() { # remove python-mock requirement @@ -58,41 +58,8 @@ build() { check() { local pytest_options=( -vv - # TODO: report upstream - --deselect test/test_ssltransport.py::SingleTLSLayerTestCase::test_ssl_object_attributes - --deselect test/contrib/test_pyopenssl.py::TestSSL::test_ssl_read_timeout - --deselect test/with_dummyserver/test_socketlevel.py::TestSSL::test_ssl_read_timeout - # Tests hang and need an adjusted backported patch for pytest8 - # https://github.com/urllib3/urllib3/commit/8c2088622059860e5411c8e37b26e402a5dda0bb - --deselect test/with_dummyserver/test_socketlevel.py::TestSSL::* - --deselect test/with_dummyserver/test_socketlevel.py::TestClients::* - --deselect test/contrib/test_pyopenssl.py::TestClientCerts::test_client_certs_two_files - --deselect test/contrib/test_pyopenssl.py::TestClientCerts::test_client_certs_one_file - --deselect test/contrib/test_pyopenssl.py::TestClientCerts::test_missing_client_certs_raises_error - --deselect test/contrib/test_pyopenssl.py::TestClientCerts::test_client_cert_with_string_password - --deselect test/contrib/test_pyopenssl.py::TestClientCerts::test_client_cert_with_bytes_password - --deselect test/contrib/test_pyopenssl.py::TestSSL::test_ssl_failure_midway_through_conn - --deselect test/contrib/test_pyopenssl.py::TestSSL::test_retry_ssl_error - --deselect test/contrib/test_pyopenssl.py::TestSSL::test_requesting_large_resources_via_ssl - --deselect test/with_dummyserver/test_proxy_poolmanager.py::TestHTTPProxyManager::test_scheme_host_case_insensitive - --deselect test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_client_certs_two_files - --deselect test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_client_certs_one_file - --deselect test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_missing_client_certs_raises_error - --deselect test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_client_cert_with_string_password - --deselect test/with_dummyserver/test_socketlevel.py::TestClientCerts::test_client_cert_with_bytes_password - --deselect test/with_dummyserver/test_socketlevel.py::TestProxyManager::test_connect_reconn - --deselect test/with_dummyserver/test_socketlevel.py::TestProxyManager::test_connect_ipv6_addr - --deselect test/with_dummyserver/test_proxy_poolmanager.py::TestIPv6HTTPProxyManager::test_basic_ipv6_proxy - --deselect test/with_dummyserver/test_socketlevel.py::TestSSL::test_ssl_failure_midway_through_conn - --deselect test/with_dummyserver/test_socketlevel.py::TestProxyManager::test_https_proxymanager_connected_to_http_proxy - --deselect test/with_dummyserver/test_socketlevel.py::TestSSL::test_retry_ssl_error - --deselect test/with_dummyserver/test_socketlevel.py::TestSSL::test_ssl_failed_fingerprint_verification - --deselect test/with_dummyserver/test_socketlevel.py::TestSSL::test_ssl_custom_validation_failure_terminates - --deselect test/with_dummyserver/test_socketlevel.py::TestSSL::test_requesting_large_resources_via_ssl - --deselect test/test_connection.py::TestConnection::test_recent_date - --deselect test/test_no_ssl.py::TestImportWithoutSSL::test_cannot_import_ssl - --deselect test/contrib/test_pyopenssl.py::TestSSL::test_ssl_failed_fingerprint_verification - --deselect test/contrib/test_pyopenssl.py::TestSSL::test_ssl_custom_validation_failure_terminates + --deselect=test/contrib/test_pyopenssl.py::TestSSL::test_ssl_read_timeout + --deselect=test/with_dummyserver/test_socketlevel.py::TestSSL::test_ssl_read_timeout ) local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-urllib3/-/commit/c97860f8eda98f69b2b3a11343846648a0c1950f -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-urllib3/-/commit/c97860f8eda98f69b2b3a11343846648a0c1950f You're receiving this email because of your account on gitlab.archlinux.org.
