GithubHelp home page GithubHelp logo

Is Python 3.12 different? about cibuildwheel HOT 5 CLOSED

ndw avatar ndw commented on June 18, 2024
Is Python 3.12 different?

from cibuildwheel.

Comments (5)

Czaki avatar Czaki commented on June 18, 2024

Python 3.12 has removed deprecated API from importlib module here: python/cpython#98040

As You do not provide source code we cannot check where is a problem. The latest setuptools is ready on python 3.12

from cibuildwheel.

ndw avatar ndw commented on June 18, 2024

Thanks. I appreciate that lack of source code makes this more difficult to debug. I updated the requirements.txt file to rely on the most recent setuptools. I don't see any references to, for example, pkgutil in our code base so I'm still quite confused.

from cibuildwheel.

Czaki avatar Czaki commented on June 18, 2024

Did you have pyproject.toml file with build-system.requires section? Maybe you pin setuptools there?

from cibuildwheel.

henryiii avatar henryiii commented on June 18, 2024

Also, older versions of pretty much everything might trigger this. NumPy, for example, must be 1.26.0+ or you'll see this sort of problem. If you are pinning or limiting at all, most likely in pyproject.toml or in requirements.txt if you install from there before building (and avoid build isolation). I'd recommend fully regenerating requirements.txt from requirements.in on Python 3.12 if that's the case.

from cibuildwheel.

ndw avatar ndw commented on June 18, 2024

Thank you. It was a bad version in pyproject.toml. blush.

from cibuildwheel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.