Your message dated Thu, 03 Oct 2024 23:49:38 +0000
with message-id <[email protected]>
and subject line Bug#1076136: fixed in mysql-connector-python 9.0.0-1
has caused the Debian Bug report #1076136,
regarding AttributeError: module 'ssl' has no attribute 'wrap_socket' with
Python 3.12
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1076136: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076136
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-mysql.connector
Version: 8.0.15-4
Severity: serious
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
After the update to Python 3.12, I can no longer use the
mysql.connector.connect function due to this error:
File "/usr/lib/python3/dist-packages/mysql/connector/__init__.py", line 173,
in connect
return MySQLConnection(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/mysql/connector/connection.py", line
102, in __init__
self.connect(**kwargs)
File "/usr/lib/python3/dist-packages/mysql/connector/abstracts.py", line 735,
in connect
self._open_connection()
File "/usr/lib/python3/dist-packages/mysql/connector/connection.py", line
250, in _open_connection
self._do_auth(self._user, self._password,
File "/usr/lib/python3/dist-packages/mysql/connector/connection.py", line
155, in _do_auth
self._socket.switch_to_ssl(ssl_options.get('ca'),
File "/usr/lib/python3/dist-packages/mysql/connector/network.py", line 427,
in switch_to_ssl
self.sock = ssl.wrap_socket(
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'
It seems that Python 3.12 removed the ssl.wrap_socket() function (see
https://docs.python.org/3.12/whatsnew/3.12.html#ssl).
Regards, Daniel
- -- System Information:
Debian Release: trixie/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'oldstable-updates'), (500, 'oldstable-security'), (500, 'unstable'), (500,
'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.9.8-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-mysql.connector depends on:
ii python3 3.12.3-1
ii python3-protobuf 3.21.12-8.2
python3-mysql.connector recommends no packages.
python3-mysql.connector suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmaPpIEACgkQS80FZ8KW
0F07uRAAuJHnoY3Ds5a+i45FC2Dra7WvpedIWULgM9TjNDbIfFGPjKyIZfzBUpAB
5xvUZkP47K/HzByVRUcotI8ila/S11irtCMnij1n4Nbo+VC999X2XPXdtTIpEe/k
bmSlcGbHs7Fx3wgwuWhDZesZgXPSKu9ghr3NX1Pe+ew+U5Q7S2XeFPMAItIuddKV
q+p4xVrNuW0RsKVbX9VwSMClgfIquskie1wjMRFS8nbM6oPJuVJYzLNST0hhplmC
VnQ4EBMt52bvhQn4/izZ+HumykN0FNnsN2KZ9VRt3D/Jc1Ed/XVXYx1uSaRIliVK
QPBSP5U8pcwCLhvqyiqBrVfzn8iF5uFJdSyjhIajO6LMHW4D3MhQo5FG7ATpDzMt
STdZunDlZ3MeaC47lZzsQkd2UI/36MxjlRCcMk8LBc7+f4MUspbrdzZpZaTu9Dxi
v/6/GY2yl1MbCg1izgOWcMTAtswa0TfYX4OKaDtXvtUI8t53c5ESpkJ2s23bxuHI
EpHX1/r+UNDLg98naxFi8te3BiR9acvh7ub9c31/bFO8mn07NoOPDffcqOjdDaA4
uZ+4xje94k/RG3kZa5VUeEGrXpj+SDbpkME9G6mpBP2nkDEdxK7NpVK1V0sdS7nz
zG46G6kNT0pHWK1Nu7jsOJ8lzvjJzA7RRYFFPhL5xT2GEAHav98=
=Ld/f
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Source: mysql-connector-python
Source-Version: 9.0.0-1
Done: Daniel Leidert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mysql-connector-python, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Leidert <[email protected]> (supplier of updated
mysql-connector-python package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 04 Oct 2024 01:21:06 +0200
Source: mysql-connector-python
Architecture: source
Version: 9.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>,
Changed-By: Daniel Leidert <[email protected]>
Closes: 1040290 1076136 1077767
Changes:
mysql-connector-python (9.0.0-1) unstable; urgency=medium
.
* Team upload.
* New upstream release.
- Fixes CVE-2024-21090 and CVE-2024-21170 (closes: #1077767).
- Provides compatibility with Python 3.12 (closes: #1076136, #1040290).
* d/control: Add Rules-Requires-Root.
(Standards-Version): Bump to 4.7.0.
(Build-Depends): Add pybuild-plugin-pyproject.
* d/copyright: Update team and upstream copyright.
* d/rules: Adjust for new source structure.
(override_dh_installdocs): Fix target and adjust files.
(override_dh_installexamples): Fix target adjusting path to examples.
* d/watch: Re-enable downloadurl- and filenamemangle. Increase version.
Checksums-Sha1:
bfc420738cd4eeec1d1cc23cc8499294e2bf7c6c 2177
mysql-connector-python_9.0.0-1.dsc
bbafce02c530c3b6e726592b2ec97d65e2ad1825 16195374
mysql-connector-python_9.0.0.orig.tar.gz
f4f6921ab14b5d336da1ff58eaa5131c01a96e9e 5744
mysql-connector-python_9.0.0-1.debian.tar.xz
ac50f4275bf406f0622f8e56e478e588d20646e7 8834
mysql-connector-python_9.0.0-1_amd64.buildinfo
Checksums-Sha256:
dbe90d14f89a2f93e064d5f4bdb7dc08d87113e8df40896648e93d942e713796 2177
mysql-connector-python_9.0.0-1.dsc
d25dd11e7859c5cf5efdcb08996b1aaad9d0b0df7a8331d0822ea18f23fdd4d0 16195374
mysql-connector-python_9.0.0.orig.tar.gz
174ca3dbd550cf2a2d12d4a113a1ce8cd2b034423db0e012820a76c98c091772 5744
mysql-connector-python_9.0.0-1.debian.tar.xz
968fef3d9c9488a2b5c16faac35dec6e89991f985c66af4a6c997191dec20132 8834
mysql-connector-python_9.0.0-1_amd64.buildinfo
Files:
9159282c1892755ef99a37d1cb0923e0 2177 python optional
mysql-connector-python_9.0.0-1.dsc
66d0fd536dc05e22baad335d7b3bc407 16195374 python optional
mysql-connector-python_9.0.0.orig.tar.gz
07c34878efe38930763f2a989e146259 5744 python optional
mysql-connector-python_9.0.0-1.debian.tar.xz
2b259c2026756f98e9fbea077ed63548 8834 python optional
mysql-connector-python_9.0.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmb/KHgACgkQS80FZ8KW
0F3L1RAAyNLIfUPu2ybFTfrgqYYGHaTwXkTuj7DB992s/pt6gbdXfN0E/vy7+LvD
Si6dqIJI9NLI9ibnEtnxmAtjRkuOniRKWGruOjCDgL/DvaDp6g0ZtVWkO1sUamyS
mMVng0vDTpLvo5CR4J065V+Z+YmB8UIvLrLgs/nBPj1PmPlf6Tis3j6xOD3Ik0EB
F/y07bj/aUttbTlhqhryqe5OZLLCxNitmmC7r/nhnOrVCKv4yJwKsf0YHmGMSJ8m
D8wquIbIsOsbn3LAB/TSN1c8L2EGf6It8rnN4uH6QWDgdqlk3XS3dv7HLhkYs+ZJ
abnhmKaldJUisG2vz3vpvoWmtZWgssIIQNoWTJYjmbxvhS+M1T9dV/tKW6klfA+e
bMUIMCl4RJ3lZVMsshTM5J4LkCjcZb8E/YU6Vg1PQWJvNNjGK+s75uBzdQGAP4dF
cJ7cfGvszxjzJ65mSuXBpiXK9luW1k/dHZxi3fde+fN41xtixXrBtAgXotcQr9qt
K4x4UbxxA8ibLwV9GuRv2yDbABgJ6YK3PDNxc/ZGIHC/QfjEYRv8VJiSDSYoZjgg
dkMCHmSHCQAloO/i53fT6l7zwF3pZqbbxe7HJ5rRDDOLMHkG78DEa1oO/5rytv4D
sn4xC6fDS096swbGv2ynmuHeSnApdF4iomj9q/zImOngeuIb7UI=
=pV0J
-----END PGP SIGNATURE-----
pgpCo73LUfsiM.pgp
Description: PGP signature
--- End Message ---