Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844148 - dev-lang/python: needs backport to fix hashlib deprecated algorithm behaviour with >=dev-libs/openssl-3
Summary: dev-lang/python: needs backport to fix hashlib deprecated algorithm behaviour...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
Depends on:
Blocks: openssl-3.0
  Show dependency tree
Reported: 2022-05-14 06:51 UTC by Sam James
Modified: 2022-05-19 04:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-14 06:51:26 UTC
Noticed when running Gemato's test suite.

This is just a reminder for us to ensure the commit gets backported.

It's not in Python 3.8.13 or Python 3.10.4.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-16 08:49:11 UTC
3.9 & 3.11 are good.

Backport to 3.10 done.

I'm working on 3.8 right now, along with some other OpenSSL-3 fixes.

I'm not doing 3.7 since the patches don't apply cleanly and we don't really support it anyway.

I'm going to test PyPy's upstream bugfix afterwards.
Comment 2 Larry the Git Cow gentoo-dev 2022-05-16 09:00:25 UTC
The bug has been referenced in the following commit(s):

commit 42a3d8f92aab1cc896d7c3b0d24c12458f707fd1
Author:     Michał Górny <>
AuthorDate: 2022-05-16 08:54:44 +0000
Commit:     Michał Górny <>
CommitDate: 2022-05-16 09:00:21 +0000

    dev-lang/python: Backport OpenSSL 3 fixes to 3.8.13_p1
    Signed-off-by: Michał Górny <>

 dev-lang/python/Manifest                |   1 +
 dev-lang/python/python-3.8.13_p1.ebuild | 361 ++++++++++++++++++++++++++++++++
 2 files changed, 362 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2022-05-17 07:49:20 UTC
The bug has been closed via the following commit(s):

commit 972df7506fdf616e2b923ad4ce44f86a607efb5c
Author:     Michał Górny <>
AuthorDate: 2022-05-17 07:47:53 +0000
Commit:     Michał Górny <>
CommitDate: 2022-05-17 07:49:17 +0000

    dev-python/pypy3: Backport OpenSSL 3 fixes as 7.3.9_p1
    Signed-off-by: Michał Górny <>

 dev-python/pypy3/Manifest              |   1 +
 dev-python/pypy3/pypy3-7.3.9_p1.ebuild | 200 +++++++++++++++++++++++++++++++++
 2 files changed, 201 insertions(+)