question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pdm 1.5.0 doesn't install from sdist via pip

See original GitHub issue
  • I have searched the issue tracker and believe that this is not a duplicate.

Make sure you run commands with -v flag before pasting the output.

Steps to reproduce

pip install pdm==1.5.0 --no-cache-dir --no-binary :all:

Actual behavior

Collecting pdm==1.5.0
  Downloading pdm-1.5.0.tar.gz (149 kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 149 kB 7.0 MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
  WARNING: Generating metadata for package pdm produced metadata for project name unknown. Fix your #egg=pdm fragments.
WARNING: Discarding https://files.pythonhosted.org/packages/35/61/f7c37dd26c810ef14b1fba95935c8c2be4240f1643d0a9d81a98b95115c6/pdm-1.5.0.tar.gz#sha256=6a9a16b10016b35c1900843906512fb549f2c1059a5789acaa9b23982b5f7e37 (from https://pypi.org/simple/pdm/) (requires-python:>=3.7). Requested unknown from https://files.pythonhosted.org/packages/35/61/f7c37dd26c810ef14b1fba95935c8c2be4240f1643d0a9d81a98b95115c6/pdm-1.5.0.tar.gz#sha256=6a9a16b10016b35c1900843906512fb549f2c1059a5789acaa9b23982b5f7e37 has inconsistent name: filename has 'pdm', but metadata has 'UNKNOWN'
ERROR: Could not find a version that satisfies the requirement pdm==1.5.0
ERROR: No matching distribution found for pdm==1.5.0

Expected behavior

pdm to install from the sdist

Environment Information

N/A

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
dtrodriguescommented, Apr 22, 2021

The 1.5.1 release worked smoothly. Thanks!

1reaction
frostmingcommented, Apr 20, 2021

Just upload a new sdist tarball 1.5.0.post1

Read more comments on GitHub >

github_iconTop Results From Across the Web

pdm install error (regarding to resolvelib) Β· Issue #685 - GitHub
Tried here, nothing worked. $ sudo python3 -m pip install --upgrade pip Requirement already satisfied: pip in /usr/lib/python3/dist-packages (Β ...
Read more >
Manage Dependencies - PDM
Editable dependencies#. Local directories and VCS dependencies can be installed in editable mode. If you are familiar with pip , it is just...
Read more >
pip is not able to install packages correctly: Permission denied ...
The answer is to do this: STATIC_DEPS=true pip install lxml . Β· When you edit your questions there's no need to include text...
Read more >
PDM - The Blue Book - GitHub Pages
PDM is a modern Python package manager with PEP 582 support. It installs and manages packages in a similar way to npm that...
Read more >
Packaging in Python: Tools and Formats | by Martin Thoma
Solution: twine. Install twine via pip install twine and you can upload your distribution files: twine upload dist/*Β ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found