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: 4
Popularity: 0.016123
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 »

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

MarsSeed commented on 2022-07-02 00:02 (UTC)

Also this file would be useful if you could share that as well (just lists some parameters set during the build, and the installed packages with their versions):

/home/spiros/.cache/yay/python2-urllib3/pkg/python2-urllib3/.BUILDINFO

MarsSeed commented on 2022-07-01 23:58 (UTC)

Could you please share the output of each of the following commands?

env | grep -E '^(LANG|LC_)' | sort

locale --all-locales

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

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

MarsSeed commented on 2022-07-01 23:54 (UTC) (edited on 2022-07-02 00:03 (UTC) by MarsSeed)

Meanwhile I've found something in your log that might indicate some problems with your current system locale.

That can possibly thwart the successful execution of Python 2 code.

Especially because I am using a newly default locale, C.UTF-8 in check(), which has just been included recently (June 2022) in glibc.

Last line is the important one:

==> Extracting sources...
  -> Extracting urllib3-1.26.9.tar.gz with bsdtar
bsdtar: Failed to set default locale

MarsSeed commented on 2022-07-01 23:49 (UTC) (edited on 2022-07-02 00:00 (UTC) by MarsSeed)

Thanks. I am on Manjaro unstable branch. Which branch do you use?

Could you maybe share the following file as well, if you still have it (edit: corrected the path)?

/home/spiros/.cache/yay/python2-urllib3/src/urllib3-1.26.9/.pytest_cache/v/cache/nodeids

sng commented on 2022-07-01 23:35 (UTC) (edited on 2022-07-01 23:40 (UTC) by sng)

Hi again

Here it is...

https://pastebin.com/NZqprcaP

I just used yay --devel -Syu

Also, this is on manjaro, I will test tomorrow with arch...

Hope that is no problem with you :)

MarsSeed commented on 2022-07-01 23:26 (UTC)

I will look into it.

Could you maybe share the whole build output? Including the command line that you used to execute the build (that is, if you used the command line and not a GUI tool like Pamac).

You can upload your log e.g. to Pastebin.

Also, which operating system do you use? (Arch Linux or something else?)

Thanks in advance for the information.

sng commented on 2022-07-01 23:20 (UTC) (edited on 2022-07-01 23:36 (UTC) by sng)

Hi Installation fails (actually gets stuck)

This is what I get:

test/contrib/test_securetransport.py
...
  File "/usr/lib/python2.7/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
error: [Errno 0] Error

MarsSeed commented on 2022-07-01 17:22 (UTC)

I'm glad I was able to help resolve the issue.

Thank you @politas and @xmoon for your useful feedback. :)

politas commented on 2022-07-01 09:41 (UTC)

Build successful. Thanks for the prompt response!