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: tallero (truocolo)
Last Packager: truocolo
Votes: 3
Popularity: 0.000641
First Submitted: 2022-06-12 22:15 (UTC)
Last Updated: 2024-02-02 16:26 (UTC)

Dependencies (14)

Required by (1)

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 »

sng commented on 2022-07-02 06:11 (UTC) (edited on 2022-07-02 06:24 (UTC) by sng)

Yes, I know the feeling... don't worry about it!

I am now at a different system, stil manjaro stable...

Here is the log

https://controlc.com/7a1b3648

EDIT

Just tested it on arch, all ok...

MarsSeed commented on 2022-07-02 05:10 (UTC)

Sorry, I've screwed up pytest-freezegun 0.4.1 checksum.

But I've now pushed the latest version of that, 0.4.2.

(Versions after 3.0 don't officially support Python 2, so I've sifted through every change commit and tested locally every new version bump. That's when I forgot to update the checksum, between 0.4.0 and 0.4.1.)

sng commented on 2022-07-02 04:53 (UTC) (edited on 2022-07-02 04:54 (UTC) by sng)

pytest-freezegun output..

==> Validating source files with b2sums...
    pytest-freezegun-0.4.1.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
100  260k    0  260k    0     0   259k      0 --:--:--  0:00:01 --:--:-- 1134k
==> Validating source files with b2sums...
    urllib3-1.26.9.tar.gz ... Passed
 -> error downloading sources: python2-pytest-freezegun 
     context: error downloading sources: python2-pytest-freezegun 
     context: exit status 1 

I gotta go run some errands...

I'll check it out in 30-45 min...

sng commented on 2022-07-02 04:32 (UTC) (edited on 2022-07-02 04:40 (UTC) by sng)

I've been waiting on this one for more than 5 minutes... at 61%...

test/contrib/test_socks.py::TestSocks5Proxy::test_proxy_rejection

Both with and without using LANG=en_US.utf8 gives the same result

sng commented on 2022-07-02 04:28 (UTC)

ok, these are the commands... still waiting for the tests to complete...

$ LC_ALL=en_US python2 -c 'import sys; print("default: " + sys.getdefaultencoding()); print("filesystem: " + sys.getfilesystemencoding())'
default: ascii
filesystem: ANSI_X3.4-1968

$ LC_ALL=C python2 -c 'import sys; print("default: " + sys.getdefaultencoding()); print("filesystem: " + sys.getfilesystemencoding())'
default: ascii
filesystem: ANSI_X3.4-1968

MarsSeed commented on 2022-07-02 03:17 (UTC) (edited on 2022-07-02 03:26 (UTC) by MarsSeed)

In that latest update, I've added a needed test addon (python2-pytest-freezegun), and also made the test output more verbose, which might help in tracking down where exactly your testing execution gets frozen.

Also, I would like to know roughly how long do you wait before hitting Ctrl+C. :) For me, one test hangs for 30-60 seconds and then succeeds.

MarsSeed commented on 2022-07-02 03:11 (UTC)

Also I've pushed the new 1.26.9-6 version. So I'd really appreciate if you tried the build again. :)

(And using one of the existing English locales on your system, i.e. either C.UTF-8 or en_US.utf8.)

MarsSeed commented on 2022-07-02 03:09 (UTC)

And in the interim: a recommendation.

When you want to produce non-Greek output for a build, please choose one of the locales that are present in the output of locale --all-locales (locale -a for short).

So in case of the system that generated the outputs in your last comment, I recommend you either use C.UTF-8 or en_US.utf8. These exist as generated locales on your system. Whereas en_US per se does not. So using the latter might lead to strange and hard-to-track errors during a build.

MarsSeed commented on 2022-07-02 03:01 (UTC)

Thanks, I'll look into all the things you've sent. :)

Meanwhile just another small request: please also share the output of the following command:

LC_ALL=en_US python2 -c 'import sys; print("default: " + sys.getdefaultencoding()); print("filesystem: " + sys.getfilesystemencoding())'

LC_ALL=C python2 -c 'import sys; print("default: " + sys.getdefaultencoding()); print("filesystem: " + sys.getfilesystemencoding())'

sng commented on 2022-07-02 02:27 (UTC) (edited on 2022-07-02 02:43 (UTC) by sng)

The locale thing was because i used LANG=en_US yay --devel -Syu to produce the pastebin (so that everything is in english, otherwise you would be having parts of it in greek :) )

Normally, it is plain yay --devel -Syu :)

Anyways... here it is

$ env | grep -E '^(LANG|LC_)' | sort
LANG=el_GR.utf8

$ locale --all-locales
C
C.UTF-8
el_GR.utf8
en_US.utf8
POSIX

$ python2 -c 'import sys; print("default: " + sys.getdefaultencoding()); print("filesystem: " + sys.getfilesystemencoding())'
default: ascii
filesystem: UTF-8

$ LC_ALL=en_US.UTF-8 python2 -c 'import sys; print("default: " + sys.getdefaultencoding()); print("filesystem: " + sys.getfilesystemencoding())'
default: ascii
filesystem: UTF-8

BTW, I'm on stable

And

cat: /home/spiros/.cache/yay/python2-urllib3/pkg/python2-urllib3/.BUILDINFO: No such file or directory

As for /home/spiros/.cache/yay/python2-urllib3/src/urllib3-1.26.9/.pytest_cache/v/cache/nodeids, pastebin says "Pastebin’s SMART filters have detected potentially offensive or questionable content in your paste", and wont't post it... :)

But here it is..

https://controlc.com/225b788d