Log a message when not trying to build a wheel from an sdist
See original GitHub issueEnvironment
- pip version: 20.0.2
- Python version: 3.8.0
- OS: MacOS
Description
pip is supposed to attempt to build a wheel from an sdist, so that the installation happens through a wheel. However, when given an sdist URL, pip attempts a setup.py install
without trying to build a wheel.
$ pip install https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz
Collecting https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz
Using cached pycparser-2.19.tar.gz (158 kB)
Installing collected packages: pycparser
Running setup.py install for pycparser ... done
Successfully installed pycparser-2.19
Expected behavior
pip would build a wheel for pycparser
which would get cached for future installs.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Include files in sdist but not wheel - python - Stack Overflow
I am currently trying to build wheels and a source distribution. Because wheels are pre-compiled, they don't need to contain header files ...
Read more >How to Publish an Open-Source Python Package to PyPI
A build system is responsible for creating the actual files that you'll upload to PyPI, typically in the wheel or the source distribution...
Read more >4. Package structure and distribution
The build tool you use to make your distributions will handle wheel creation for you (as we'll talk about in the next section),...
Read more >How to Package Python dependencies with PIP setuptools
Learn step by step how to package a Python project with PIP setuptools and what are the alternatives out there for Python package ......
Read more >Python: Creating a pip installable package
This is essentially trying to install a version that does not exist and causes pip to list ... Further details for building wheels...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closed by #7768. Thanks @anuditnagar!
A
logger.info
is also fine by me 😃