gh-91246: Implement PEP 775: Make zlib required on platforms other than wasi #130297
gh-91246: Implement PEP 775: Make zlib required on platforms other than wasi #130297StanFromIreland wants to merge 14 commits intopython:mainfrom
Conversation
…rong comments, add news/whatsnew entries
Co-authored-by: Gregory P. Smith <greg@krypto.org>
This reverts commit be513cb.
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
Please add zlib to build requirements. The version notes from Please also adjust docs for |
| import random | ||
| import sys | ||
| from test.support import bigmemtest, _1G, _4G, is_s390x | ||
| import importlib |
There was a problem hiding this comment.
They are all technically "Standard library imports"...
There was a problem hiding this comment.
The comment was about alphabetically sorted, your reply about grouped by type 🙂
There was a problem hiding this comment.
I'm sorry but where in PEP 8 is that specified, I cannot seem to find any mention of it?
There was a problem hiding this comment.
It’s a very common practice. But another one is to always import os and sys at the top.
Yet another is to sort by module length to get a nice pyramid drawing 📐
Misc/NEWS.d/next/Build/2025-02-19-00-00-00.gh-issue-91246.ahsgd3.rst
Outdated
Show resolved
Hide resolved
| * GNU Autoconf 2.72 is now required to generate :file:`configure`. | ||
| (Contributed by Erlend Aasland in :gh:`115765`.) | ||
|
|
||
| * zlib is now required to build CPytho on all platforms except WASI. |
There was a problem hiding this comment.
| * zlib is now required to build CPytho on all platforms except WASI. | |
| * zlib is now required to build CPython on all platforms except WASI. |
|
PEP 775 was withdrawn. |
|
@StanFromIreland could you keep the previous title and add the mention of the PEP if you want? |
|
@merwok Is this sufficient? |
According to Petr's plan:
However binascii's re-implementation of crc32 cannot be removed till WASI supports zlib.
📚 Documentation preview 📚: https://cpython-previews--130297.org.readthedocs.build/