-
-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,28 +26,26 @@ To build optional modules: | |
|
|
||
| * `libbz2 <https://sourceware.org/bzip2/>`_ for the :mod:`bz2` module. | ||
|
|
||
| * `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>`) | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I removed some unnecessary commas here. |
||
| for the :mod:`hashlib` module. | ||
|
|
||
| * `libffi <https://sourceware.org/libffi/>`_ 3.3.0 is the recommended | ||
| minimum version for the :mod:`ctypes` module. | ||
|
|
||
| * ``liblzma``, for the :mod:`lzma` module. | ||
| * ``liblzma`` for the :mod:`lzma` module. | ||
|
|
||
| * `libmpdec <https://www.bytereef.org/mpdecimal/doc/libmpdec/>`_ 2.5.0 | ||
| for the :mod:`decimal` module. | ||
|
|
||
| * ``libncurses`` or ``libncursesw``, | ||
| for the :mod:`curses` module. | ||
| * ``libncurses`` or ``libncursesw`` for the :mod:`curses` module. | ||
|
|
||
| * ``libpanel`` or ``libpanelw``, | ||
| for the :mod:`curses.panel` module. | ||
| * ``libpanel`` or ``libpanelw`` for the :mod:`curses.panel` module. | ||
|
|
||
| * `libreadline <https://tiswww.case.edu/php/chet/readline/rltop.html>`_ or | ||
| `libedit <https://www.thrysoee.dk/editline/>`_ | ||
| for the :mod:`readline` module. | ||
|
|
||
| * `libuuid <https://linux.die.net/man/3/libuuid>`_, for the :mod:`uuid` module. | ||
| * `libuuid <https://linux.die.net/man/3/libuuid>`_ for the :mod:`uuid` module. | ||
|
|
||
| * `OpenSSL <https://www.openssl.org/>`_ 1.1.1 is the minimum version and | ||
| OpenSSL 3.0.18 is the recommended minimum version for the | ||
|
|
@@ -57,7 +55,7 @@ To build optional modules: | |
|
|
||
| * `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 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| :mod:`zlib` module. | ||
|
|
||
| * `zstd <https://facebook.github.io/zstd/>`_ 1.4.5 is the minimum version for | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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:
cpython/Modules/zlibmodule.c
Lines 16 to 18 in 59547a2