Giter VIP home page Giter VIP logo

Comments (4)

zorun avatar zorun commented on August 30, 2024

@azmeuk It looks like an issue with hatchling and/or babel, could you have a look?

In the meantime I am disabling the failing python 3.12 job in our CI.

from ihatemoney.

azmeuk avatar azmeuk commented on August 30, 2024

Ah yes, we met this in wtforms too because Babel 2.14 does not rely on setuptools anymore. The solution was to add a special setuptools dependency for python 3.12.

Related Babel changelog entry

Babel no longer directly depends on either distutils or setuptools; if you had been
using the Babel setuptools command extensions, you would need to explicitly depend on setuptools –
though given you're running setup.py you probably already do.

@zorun do you want me to open a PR?

from ihatemoney.

zorun avatar zorun commented on August 30, 2024

Nice, thanks. Yes, a PR would be appreciated. You can re-enable the disabled CI test in the same PR (look at "exclude:")

Out of curiosity, why does it work with older Python versions? Maybe they were bundling setuptools?

from ihatemoney.

azmeuk avatar azmeuk commented on August 30, 2024

Yes, the Python 3.12 changelog mentions it:

PEP 632: Remove the distutils package. See the migration guide for advice replacing the APIs it provided. The third-party Setuptools package continues to provide distutils, if you still require it in Python 3.12 and beyond.

from ihatemoney.

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.