Package Details: python2-urllib3 1.26.15-1

Git Clone URL: https://aur.archlinux.org/python2-urllib3.git (read-only, click to copy)
Package Base: python2-urllib3
Description: HTTP library with thread-safe connection pooling and file post support
Upstream URL: https://pypi.org/project/urllib3/1.26.15
Licenses: MIT
Submitter: MarsSeed
Maintainer: None
Last Packager: truocolo
Votes: 4
Popularity: 0.015154
First Submitted: 2022-06-12 22:15 (UTC)
Last Updated: 2024-02-02 16:26 (UTC)

Dependencies (14)

Sources (1)

Pinned Comments

tallero commented on 2024-01-29 07:04 (UTC) (edited on 2024-01-29 07:05 (UTC) by tallero)

Am I the only person thinking a package submitter (cough cough) saying 'I have an update, give me ownership to receive it' to its current, active maintainer instead of simply posting/sending it is kinda hostile?

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

korimitsu commented on 2022-09-27 20:51 (UTC)

Fails to build:

$ pamac build python2-urllib3
test/contrib/test_pyopenssl.py::TestSSL::test_ssl_failure_midway_through_conn PASSED                                                                                                                                                 [ 49%]
test/contrib/test_pyopenssl.py::TestSSL::test_ssl_read_timeout FAILED                                                                                                                                                                [ 49%]
test/contrib/test_pyopenssl.py::TestSSL::test_ssl_failed_fingerprint_verification PASSED                                                                                                                                             [ 49%]
test/contrib/test_pyopenssl.py::TestSSL::test_retry_ssl_error PASSED                                                                                                                                                                 [ 49%]
test/contrib/test_pyopenssl.py::TestSSL::test_ssl_load_default_certs_when_empty PASSED                                                                                                                                               [ 49%]
test/contrib/test_pyopenssl.py::TestSSL::test_ssl_dont_load_default_certs_when_given PASSED                                                                                                                                          [ 49%]
test/contrib/test_pyopenssl.py::TestSSL::test_load_verify_locations_exception PASSED                                                                                                                                                 [ 49%]
test/contrib/test_pyopenssl.py::TestSSL::test_ssl_custom_validation_failure_terminates PASSED                                                                                                                                        [ 49%]
test/contrib/test_pyopenssl.py::TestSSL::test_requesting_large_resources_via_ssl[True-None] /var/tmp/pamac-build-user/python2-urllib3/PKGBUILD: line 78: 373527 Killed                  python2 setup.py pytest --addopts "$(cat <<-EOM
                --verbose               --cache-clear           --ignore test/contrib/test_socks.py             --deselect test/test_retry.py::TestRetry::test_respect_retry_after_header_sleep                 --deselect test/test_retry_deprecated.py::TestRetry::test_respect_retry_after_header_sleep          --deselect test/with_dummyserver/test_socketlevel.py::TestHeaders::test_request_host_header_ignores_fqdn_dot            --deselect test/with_dummyserver/test_proxy_poolmanager.py::TestHTTPSProxyVerification::test_https_proxy_ipv6_san
                EOM
    )"
==> ERROR: A failure occurred in check().
    Aborting...

ashleymills commented on 2022-09-21 14:08 (UTC)

Still unable to update here and this is breaking everything else.

Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in bootstrap_inner self.run() File "/var/cache/private/pamac/python2-urllib3/src/urllib3-1.26.11/dummyserver/server.py", line 134, in run self.server = self._start_server() File "/var/cache/private/pamac/python2-urllib3/src/urllib3-1.26.11/dummyserver/server.py", line 130, in _start_server self.socket_handler(sock) File "/var/cache/private/pamac/python2-urllib3/src/urllib3-1.26.11/test/with_dummyserver/test_socketlevel.py", line 1203, in socket_handler ca_certs=DEFAULT_CA, File "/usr/lib/python2.7/ssl.py", line 931, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 599, in __init self.do_handshake() File "/usr/lib/python2.7/ssl.py", line 828, in do_handshake self._sslobj.do_handshake() SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:727) <<

This appears to be due to deprecation of some insecure SSL features?

gloomy commented on 2022-09-19 17:10 (UTC)

I'm unable to update as well, see https://gist.github.com/b23182b83ec766b5a09f94eb23467bd1 . Any idea how to solve it?

micsnare commented on 2022-09-01 18:13 (UTC)

Hi @MarsSeed

I've run into a similar problem trying to update python2-urllib3 https://pastebin.com/nfQUhbKf

Would you mind having a quick look at it too?

fpf3 commented on 2022-08-09 18:23 (UTC)

@MarsSeed "Boa" is my hostname, and I'm running Manjaro, whose current released kernel is 4.19. Everything (except urllib3) is up to date.

ColdSphinX commented on 2022-08-08 08:03 (UTC)

@MarsSeed, sure https://paste.nosupamu.de/view/b6574f46

MarsSeed commented on 2022-08-06 18:16 (UTC) (edited on 2022-08-06 18:16 (UTC) by MarsSeed)

ColdSphinX, thanks for reporting.

Could you please send over the whole build output log, not just the skimmed one?

I see there are missing details so I need the full log to better understand what's happening.

Thanks in advance. :)

ColdSphinX commented on 2022-08-05 12:56 (UTC) (edited on 2022-08-05 12:56 (UTC) by ColdSphinX)

I get some timeout and ssl errors when updating:

==> Software upgrade (new version) :

aur/python2-urllib3 1.26.9.r11.g37ba0024-3 -> 1.26.11-1

https://pastebin.com/iQnrJS5B

Linux <hostname> 5.18.16-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 03 Aug 2022 11:25:04 +0000 x86_64 GNU/Linux

core/openssl 1.1.1.q-1 [installed]

core/openssl-1.0 1.0.2.u-1 [installed]

extra/python-pyopenssl 22.0.0-1 [installed]

multilib/lib32-openssl 1:1.1.1.q-1 [installed]

aur/python2-pyopenssl 21.0.0-6 [installed] (1) (0,37)

MarsSeed commented on 2022-08-04 15:43 (UTC)

@fpf3, thanks for reporting the issue.

Unfortunately I cannot reproduce the failure. (Your submitted log seems incomplete, though I have my doubts that the full log would be more useful in this specific case.)

Btw, I also get the SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:727) exceptions during the tests, but those do not make them fail on my end.

I do not know what "Linux Boa" is, but it seems your system is extremely outdated - Linux 4.9.248 was released on 11 Dec 2020.

All in all, I don't know how to help you to fix the tests for that old system. I suggest that you continue to do what you already did - build the package with --nocheck to disable tests. Then try to use the Python 2 application that requires urllib3, and check if it still works properly. (I believe it should, as the failure is most likely coming from the specific way the test suite's dummyserver is set up, and how it interacts with that specific OS system you used for running the build.)