Code Monkey home page Code Monkey logo

Comments (3)

thmsklngr avatar thmsklngr commented on June 2, 2024 1

Well, I'm going to verify the case if Python 3.6 might be the bad guy.
It's just a behavior to install setuptools and wheel as part of the dev dependencies.

from pdm.

pawamoy avatar pawamoy commented on June 2, 2024

It looks like requires-python = ">=3.6" is preventing the build system to use recent version of setuptools and wheel. Upgrading it to requires-python = ">=3.7" seems to fix the issue. Your build requirements actually require Python >= 3.8, so I'd recommend using that.

This behavior was explained by the numerous warnings printed to the console:

PackageWarning: Skipping [email protected] because it requires Python>=3.8 but the project claims to work with Python>=3.6. Instead, another 
version of setuptools that supports Python>=3.6 will be used.
If you want to install [email protected], narrow down the `requires-python` range to include this version. For example, ">=3.8" should work.
...
PackageWarning: Skipping [email protected] because it requires Python>=3.7 but the project claims to work with Python>=3.6. Instead, another version
of wheel that supports Python>=3.6 will be used.
If you want to install [email protected], narrow down the `requires-python` range to include this version. For example, ">=3.7" should work.
...

(but maybe you had the quiet option turned on)

Or maybe something clashes between your build requirements and your optional dependencies. Why do you list setuptools and wheel in a dev optional group? This would only be useful if you wanted to build your package in non-isolated mode.

from pdm.

frostming avatar frostming commented on June 2, 2024

@pawamoy is right, the bad file name is generated by the backend setuptools, which installs a problematic version on Python 3.6. Not a bug of PDM. I am closing it now.

from pdm.

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.