Black version number is not properly set when downloading from source and installing from PyPi. #1910
Labels
C: packaging
Installation and packaging of Black
T: bug
Something isn't working
T: user support
OP looking for assistance or answers to a question
Describe the bug
I am trying to install black locally after downloading from pypi, but the version is set to 0.0.0.
To Reproduce Steps to reproduce the behavior:
pip-compile --allow-unsafe --generate-hashes --output-file=./core-linux.txt ./core.in
1.```
pip download
--no-build-isolation
--require-hashes
--no-binary :all:
--only-binary ${BINARY}
-d "/source/packages/pywheel"
-r "/tmp/requirements/core-linux.txt"
Processing /source/packages/pywheel/black-20.8b1.tar.gz
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
WARNING: Requested black==20.8b1 from file:///source/packages/pywheel/black-20.8b1.tar.gz (from -r /tmp/requirements/test-linux.txt (line 35)), but installing version 0.0.0
ERROR: Requested black==20.8b1 from file:///source/packages/pywheel/black-20.8b1.tar.gz (from -r /tmp/requirements/test-linux.txt (line 35)) has different version in metadata: '0.0.0'
Expected behavior A clear and concise description of what you expected to happen.
Install correctly.
Environment (please complete the following information):
Linux - Python 3.7
The text was updated successfully, but these errors were encountered: