Comments (3)
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.
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.
@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)
- [FR] Lock entry for `foo[bar,qux]`: tell which deps come from `bar` vs. `qux` HOT 1
- `dev-dependencies` are not being added to `pyproject.toml` when `tool.pdm.source` is present. HOT 1
- [Monorepo] index has to be set twice HOT 1
- Drop `#egg` fragment on `pdm export` if supplied a `--no-egg-fragments` HOT 3
- Default values for CLI arguments not aligned with documentation HOT 1
- Repository configuration not possible at project level
- ImportError: pip is not installed HOT 4
- Local path is not installable for non-selected dev dependency HOT 4
- comma in Author name makes publishing to PyPI impossible HOT 1
- Add `requires-pdm` option in pyproject.toml like `requires-python` HOT 12
- bug fix report, binaries of wrong "32/64" bitnes in __pypackages__ HOT 2
- Allow setting PDM_PREFER_BINARY in pyproject.toml
- How to add dependency with paddlepaddle or paddlepaddle-gpu HOT 4
- Unable to read multiple platform-specific entries for single dependency from `pyproject.toml` HOT 1
- `pdm remove` also remove pdm itself HOT 4
- `--project` doesn't respect `PDM_PROJECT` HOT 4
- Resolving dependency is very very slow HOT 4
- pdm always crashes on a poetry project with names including comma HOT 5
- pdm deletes ``pyproject.toml`` keys it's not authorized to HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdm.