pdm-project / pdm-build-locked Goto Github PK
View Code? Open in Web Editor NEWpdm-build-locked is a pdm plugin to publish locked dependencies as optional-dependencies
Home Page: https://pdm-build-locked.readthedocs.io
License: MIT License
pdm-build-locked is a pdm plugin to publish locked dependencies as optional-dependencies
Home Page: https://pdm-build-locked.readthedocs.io
License: MIT License
Hi,
First I would like to say thank you for developing this plugin. I am willing to make some enhancements to this project instead of starting a new fork, the enhancements include:
pdm-backend
and hatchling
So I hereby ask if you are interested in migrating this project to pdm-project
umbrella?
Describe the bug
when tool.pdm.resolution.overrides
is set to a range incompatible with project.dependencies
for that dependency, the optional-dependencies group locked
may be unusable in the resulting .whl
file.
To Reproduce
Steps to reproduce the behavior:
tool.pdm.resolution.overrides
to sphinx<7
and project.dependencies
to sphinx>7
.sphinx==6.2.1
will be locked by pdmpdm build
pip install mypkg[locked]
- will yield ResolutionImpossible
Desired behavior
pdm build
shall be aborted with an error stating that the locked dependency is incompatible with project.dependencies
Describe the bug
pdm.backend.exceptions.ValidationError: Field `project.optional-dependencies` declared as dynamic in but is defined
To Reproduce
Declared optional-dependencies dynamic. No project dependencies (dependencies = []
).
Run pdm build
.
Additional context
Backend error from here:
Docs section that states dynamic here: https://pdm-build-locked.readthedocs.io/en/latest/plugins/backend.html#id1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.