-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Update documented minimum required zlib library version #140116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| * `libb2 <https://github.com/BLAKE2/libb2>`_ (:ref:`BLAKE2 <hashlib-blake2>`), | ||
| used by :mod:`hashlib` module. | ||
| * `libb2 <https://github.com/BLAKE2/libb2>`_ (:ref:`BLAKE2 <hashlib-blake2>`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed some unnecessary commas here.
| incompatibilities between the Python module and versions of the zlib library | ||
| earlier than 1.1.3; 1.1.3 has a `security vulnerability <https://zlib.net/zlib_faq.html#faq33>`_, so we recommend using | ||
| 1.1.4 or later. | ||
| has its own home page at https://www.zlib.net. zlib 1.2.2.1 is the minium |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was wrong for a while:
Lines 16 to 18 in 59547a2
| #if defined(ZLIB_VERNUM) && ZLIB_VERNUM < 0x1221 | |
| #error "At least zlib version 1.2.2.1 is required" | |
| #endif |
| * `Tcl/Tk <https://www.tcl-lang.org/>`_ 8.5.12 for the :mod:`tkinter` module. | ||
|
|
||
| * `zlib <https://www.zlib.net>`_ 1.1.4 is the reccomended minimum version for the | ||
| * `zlib <https://www.zlib.net>`_ 1.2.2.1 is the minimum version for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zlib 1.2.2.0 was released in 2004: https://madler.net/pipermail/zlib-announce_madler.net/2004/000002.html. So it sounds reasonable to require this (old) version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I noted here, it is required by the code. One will get an error otherwise.
vstinner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
emmatyping
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
Merged, thanks. |
|
#141204 effectively backports this to 3.14. |
📚 Documentation preview 📚: https://cpython-previews--140116.org.readthedocs.build/