[Bug 1879310] Re: python package does not depend on ca-certificates

2021-12-13 Thread Christian Heimes
Reminder: It's been over 18 months since I reported this bug. python3
3.6.7-1~18.04 (bionic) and python3 3.8.2-0ubuntu2 (focal) are still not
fixed. The bugfix is a trivial one-line change, which I mentioned in
comment #1 over 13 months ago.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879310

Title:
  python package does not depend on ca-certificates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1879310/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1879310] Re: python package does not depend on ca-certificates

2020-11-09 Thread Christian Heimes
** Also affects: python3.9 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879310

Title:
  python package does not depend on ca-certificates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1879310/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1879310] Re: python package does not depend on ca-certificates

2020-11-09 Thread Christian Heimes
Latest Ubuntu release is still broken:

$ cat Dockerfile.ubuntu-groovy 
FROM ubuntu:groovy
RUN apt update && \
apt upgrade -y && \
apt install -y python3 && \
apt clean

RUN python3 -c 'from urllib.request import urlopen;
urlopen("https://www.pypi.org";)'

$ podman build -f Dockerfile.ubuntu-groovy 
STEP 1: FROM ubuntu:groovy
STEP 2: RUN apt update && apt upgrade -y && apt install -y python3 &&   
  apt clean
--> Using cache 199e6b47bba512fbf9ffe7b308da61d7d0262c741d624ebfacea6b277cef2fbd
--> 199e6b47bba
STEP 3: RUN python3 -c 'from urllib.request import urlopen; 
urlopen("https://www.pypi.org";)'
Traceback (most recent call last):
  File "/usr/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
  File "/usr/lib/python3.8/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output
self.send(msg)
  File "/usr/lib/python3.8/http/client.py", line 950, in send
self.connect()
  File "/usr/lib/python3.8/http/client.py", line 1424, in connect
self.sock = self._context.wrap_socket(self.sock,
  File "/usr/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
  File "/usr/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
  File "/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate 
verify failed: unable to get local issuer certificate (_ssl.c:1124)


The issue can be fixed with a simple one-line change to debian/control to 
install ca-certificates by default. curl has the same recommends stanza.

Package: python3.8
...
Recommends: ca-certificates

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879310

Title:
  python package does not depend on ca-certificates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1879310/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1879310] Re: python package does not depend on ca-certificates

2020-11-09 Thread Christian Heimes
Other language bindings pull in ca-certificates by default. PHP either
depends on ca-certificates through apache2 -> ssl-cert -> openssl or
php-curl -> libcurl bindings. Ruby has an indirect dependency while
nodejs has a direct dependency.

# apt install ruby
# aptitude why ca-certificates
i   ruby Depends ruby2.7  
i A ruby2.7  Depends rubygems-integration (>= 1.8)
i A rubygems-integration Depends ca-certificates

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879310

Title:
  python package does not depend on ca-certificates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1879310/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1879310] Re: python package does not depend on ca-certificates

2020-05-18 Thread Timo Aaltonen
** Also affects: python3.8 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879310

Title:
  python package does not depend on ca-certificates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1879310/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1879310] Re: python package does not depend on ca-certificates

2020-05-18 Thread Timo Aaltonen
** Also affects: python3.6 (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: python3.8 (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: python3.6 (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Also affects: python3.8 (Ubuntu Focal)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879310

Title:
  python package does not depend on ca-certificates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1879310/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1879310] Re: python package does not depend on ca-certificates

2020-05-18 Thread Hans Joachim Desserud
** Bug watch added: Debian Bug tracker #960869
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960869

** Also affects: python3-defaults (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960869
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879310

Title:
  python package does not depend on ca-certificates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1879310/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1879310] Re: python package does not depend on ca-certificates

2020-05-18 Thread Bug Watch Updater
** Changed in: python3-defaults (Debian)
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879310

Title:
  python package does not depend on ca-certificates

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1879310/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs