pdm seems unable to install a dependency from an egg present on pypi.org #1897
Unanswered
lestephane
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Running
pdm install
on Linux with a 3.10 python and the following dependency:dependencies = ["beancount==2.3.5"]
Based on what I see at https://pypi.org/project/beancount/2.3.5/#files
I would have expected https://files.pythonhosted.org/packages/e1/77/fcb9c7d46a16acc55a5da9395a24ec0d65cb72987426d3edb317d58d167e/beancount-2.3.5-py3.10-linux-x86_64.egg to be used.
Instead it tries to compile from source distribution https://files.pythonhosted.org/packages/77/51/2acc2741fa2937a3a1123fd00e6e76e6d6f27c46579ea53705c49bd221ec/beancount-2.3.5.tar.gz
And I don't want that. I no longer want to pollute my host operating system with -dev packages if there is a perfectly valid binary package with published checksums.
The following works (though the sha256 fragment is ignored unfortunately)
But it feels wrong somehow, because:
✔ Install beancount **0.0.0** successful
(0.0.0 is incorrect)Is there a way for pdm to pick up the egg (if present for the OS and python version) as a fallback for when a wheel is not available? That would be my expectation, at least when I use PDM_ONLY_BINARY=:all:.
Beta Was this translation helpful? Give feedback.
All reactions