Skip to content
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

Build shared extensions without distutils #93939

Closed
5 tasks done
tiran opened this issue Jun 17, 2022 · 5 comments
Closed
5 tasks done

Build shared extensions without distutils #93939

tiran opened this issue Jun 17, 2022 · 5 comments
Labels
3.12 bugs and security fixes type-feature A feature request or enhancement

Comments

@tiran
Copy link
Member

tiran commented Jun 17, 2022

Feature or enhancement

distutils is deprecated and is scheduled to be removed from Python 3.12. PyPA setuptools replaces distutils and provides shims for distutils package.

GH-90005 tracks effort to use configure.ac, Makefile, and makesetup to build almost all shared extensions without distutils. Only a handful of modules have not been ported yet

@tiran tiran added the type-feature A feature request or enhancement label Jun 17, 2022
@tiran tiran added the 3.12 bugs and security fixes label Jun 27, 2022
tiran added a commit to tiran/cpython that referenced this issue Jun 27, 2022
Scripts for 2to3, idle, and pydoc are now created and installed by make.
tiran added a commit to tiran/cpython that referenced this issue Jun 27, 2022
tiran added a commit that referenced this issue Jun 28, 2022
Scripts for 2to3, idle, and pydoc are now created and installed by make.
tiran added a commit to tiran/cpython that referenced this issue Jun 29, 2022
gvanrossum pushed a commit to gvanrossum/cpython that referenced this issue Jun 30, 2022
Scripts for 2to3, idle, and pydoc are now created and installed by make.
tiran added a commit to tiran/cpython that referenced this issue Jul 4, 2022
Add script ``Tools/scripts/check_modules.py`` to check and validate builtin
and shared extension modules. The script also handles ``Modules/Setup`` and
will eventually replace ``setup.py``.
tiran added a commit that referenced this issue Jul 5, 2022
Add script ``Tools/scripts/check_modules.py`` to check and validate builtin
and shared extension modules. The script also handles ``Modules/Setup`` and
will eventually replace ``setup.py``.

Co-authored-by: Victor Stinner <[email protected]>
Co-authored-by: Erlend Egeberg Aasland <[email protected]>
@erlend-aasland
Copy link
Contributor

erlend-aasland commented Jul 6, 2022

Only a handful of modules have not been ported yet

The last modules are now ported! 🚀 🎉

@tiran
Copy link
Member Author

tiran commented Jul 6, 2022

Thank you for your hard work, @erlend-aasland

The endeavor continues in gh-93939

@tiran tiran closed this as completed Jul 6, 2022
@arhadthedev
Copy link
Member

The endeavor continues in #93939

The link points back to this PR.

@erlend-aasland
Copy link
Contributor

The link points back to this PR.

  1. this is an issue, not a PR ;)
  2. I believe the intention was to close Port module setup to PY_STDLIB_MOD() macro and addext() #90005, and mark this issue as a follow up

tiran added a commit to tiran/cpython that referenced this issue Jul 13, 2022
tiran added a commit to tiran/cpython that referenced this issue Jul 20, 2022
``wasm_assets.py`` was using the old ``MODULE_name`` variable to detect
if a shared extension is available. Emscripten browser builds now
correctly detect that e.g. ``json`` module is available.
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jul 20, 2022
miss-islington added a commit that referenced this issue Jul 20, 2022
(cherry picked from commit 0f34c7e)

Co-authored-by: Christian Heimes <[email protected]>
vstinner added a commit that referenced this issue Nov 3, 2022
The _bootsubprocess module was removed in gh-93939
by commit 81dca70.
@erlend-aasland
Copy link
Contributor

AFAICS, there is no more work to be done here.

@erlend-aasland erlend-aasland added the pending The issue will be closed if no feedback is provided label Feb 8, 2023
@iritkatriel iritkatriel closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2023
@erlend-aasland erlend-aasland removed the pending The issue will be closed if no feedback is provided label Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 bugs and security fixes type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants