Replies: 2 comments 4 replies
-
The lock file is not used by package managers other than PDM. What matters is what you have specified in pyproject's dependencies. The deps end up in the wheel's metadata (wheel that is built by PDM), and are what pipx (or any other installation tool) uses to install dependencies. Could you show your pyproject deps so we can help? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Yeah, the lock file format is tool-specific and only consumed by the corresponding tool. Fortunately, Python Packaging is working on a standard lockfile format: PEP 665, hope that will help the eco-system. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like my end user to be able to install my tool without having to clone the repo and everything, mostly with pipx. I use the publish plugin to export my tool to a private repo and I'm able to install it with pipx. So far so good. A problem arises when trying to run the tool. It seem pipx did not install the dependencies versions specified in the lock file, but used another version which breaks my tool:
pdm.lock
hasWhereas pipx installed
3.0.0a0
which breaks my code. Am I missing something ?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions