Comments (2)
There is no perfect cross-platform lockfile. The dependency resolution in PDM is based on an assumption that all wheels from the same version should have the same dependencies. However, this is not true in rare cases, including tensorflow 2.14.0
, but we also gain a better performance as a trade-off, because we don't need to download all wheels(they may be several gigabytes in size.) to merge the dependencies.
So that is the best we can do in this specific case. And you will have to use a non-cross-platform lockfile for arm and x86_64 separately.
from pdm.
thanks for explaining the assumption. It makes sense. Complete shame that the ecosystem doesn't have a good source of metadata about packages.
from pdm.
Related Issues (20)
- `--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 6
- pdm deletes ``pyproject.toml`` keys it's not authorized to HOT 1
- pdm does not install HOT 2
- Resolving dependencies does not work as expected HOT 6
- Expand user path for venv.location and possibly other config keys. HOT 1
- Locking crashes with InvalidVersion: None HOT 3
- Pdm help information encountered abnormal characters on Windows. HOT 7
- Timeout fail with "large" libraries HOT 1
- Better documentation and CLI help for `pdm install/lock/update/add` semantics HOT 1
- `PdmUsageError` should include explanation and proposed solution(s) HOT 2
- how to add dependency with no-build-isolation HOT 2
- pdm add --no-build-isolation failed in nfs HOT 5
- pdm.exe won't work on windows. HOT 10
- Creates the specified path virtual environment HOT 1
- Support uv as an alternative to pip HOT 5
- Support Per-requirement options as in PIP (since version 7.0) HOT 2
- pdm add / install - Update pdm.lock file incorrectly HOT 3
- Support of Dependency Groups in `pyproject.toml` | PEP 735 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.