GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pyproject.toml: Upgrade setuptools for Python 3.12 beta 1 by cclauss · Pull Request #23824 · numpy/numpy

Conversation

@cclauss

@cclauss cclauss commented May 28, 2023

Copy link
Copy Markdown

Related to #23808

https://www.python.org/download/pre-releases
https://docs.python.org/3.12/whatsnew/3.12.html

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mattip

mattip commented May 28, 2023

Copy link
Copy Markdown
Member

We deliberately pin setuptools to work around other problems with numpy.distutils. The plan for python 3.12 is to move to the meson build system, and to deprecate use of setuptools. You can try out the meson build using python3.12 -m pip install -r build_requirements.txt; python3.12 -m spin build.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cclauss

cclauss commented May 28, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Author

Remarkably, with this one change, I am able to successfully:
python3.12 -m pip install Cython git+https://github.com/cclauss/numpy.git@patch-1

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mattip

mattip commented May 28, 2023

Copy link
Copy Markdown
Member

Can you run tests?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cclauss

cclauss commented May 28, 2023 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Author

55 successful, 2 skipped, 3 failing checks

Build_Test / intel_spr_sde_test (pull_request) Failing after 37s

RuntimeError: Unrecognized setuptools command: ['editable_wheel', '--dist-dir', '/tmp/pip-wheel-11ogh7zp/.tmp-yehi2l_w']
Perhaps this is caused by editable_wheel being considered private in current versions of setuptools.

  • Improve editable_wheel debugging tips. pypa/setuptools#3822
  • https://setuptools.pypa.io/en/stable/history.html

azure-pipeline numpy.numpy

azure-pipeline numpy.numpy (ComprehensiveTests Windows Python39-32bit-full)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cclauss
cclauss marked this pull request as draft May 28, 2023 08:55
@cclauss
pyproject.toml: Upgrade setuptools for Python 3.12 beta 1
1ee3971
Related to numpy#23808

https://www.python.org/download/pre-releases
https://docs.python.org/3.12/whatsnew/3.12.html
@cclauss
cclauss force-pushed the patch-1 branch from f898531 to 1ee3971 Compare May 28, 2023 09:54
@cclauss
Python 3.12-dev
e14fdd6
@EwoutH EwoutH mentioned this pull request Jun 4, 2023
Python 3.12 wheels for Cython 3.0 beta (on PyPI) cython/cython#5467
Closed
@cclauss cclauss closed this Jun 5, 2023
@cclauss
cclauss deleted the patch-1 branch June 5, 2023 09:20
@cclauss

cclauss commented Jun 5, 2023

Copy link
Copy Markdown
Author

@EwoutH Perhaps you have a clearer vision about how to do this.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rgommers

rgommers commented Jun 5, 2023

Copy link
Copy Markdown
Member

Until gh-23838 is merged, you can either use the branch from which I made that PR, or follow the instructions at https://github.com/numpy/numpy/blob/main/building_with_meson.md#pip-install.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rgommers

rgommers commented Jun 5, 2023

Copy link
Copy Markdown
Member

Also note that 3.12.0b1 has a bug that may cause a crash in numpy, and is fixed in CPython's main branch (see gh-23766).

cclauss reacted with rocket emoji
All reactions
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@cclauss @mattip @rgommers
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.