(originally reported here: https://bugs.python.org/issue37204)
Environment
- pip version: 19.0.3 (the one that's shipped with CPython)
- Python version: Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32
- OS: Windows 10
To reproduce:
- Download and run Python installer from python.org (I used
python-3.7.3-amd64-webinstall.exe).
- Modify install settings (don't know if it's relevant, mentioning it just in case):
- Install for all users: yes
- Customize install location: "C:\Python37"
- Install.
- Run the following commands:
pip --version
py -m pip --version
Expected behavior:
> pip --version
pip 19.0.3 from C:\Python37\lib\site-packages\pip (python 3.7)
> py -m pip --version
pip 19.0.3 from C:\Python37\lib\site-packages\pip (python 3.7)
(the output of both commands is identical)
Actual behavior:
> pip --version
pip 19.0.3 from c:\python37\lib\site-packages\pip (python 3.7)
> py -m pip --version
pip 19.0.3 from C:\Python37\lib\site-packages\pip (python 3.7)
(the output of the first command is in lower case)
Same happens for all binaries and scripts in PYTHON_PREFIX/Scripts, not only for pip.exe.
For example, if I install pytest (using pip install pytest or py -m pip install pytest, doesn't matter), I get the following:
> pytest -v
============================================================ test session starts ============================================================
platform win32 -- Python 3.7.3, pytest-4.6.2, py-1.8.0, pluggy-0.12.0 -- c:\python37\python.exe
cachedir: .pytest_cache
rootdir: C:\temp\qqq
collected 0 items
======================================================= no tests ran in 0.02 seconds ========================================================
> py -m pytest -v
============================================================ test session starts ============================================================
platform win32 -- Python 3.7.3, pytest-4.6.2, py-1.8.0, pluggy-0.12.0 -- C:\Python37\python.exe
cachedir: .pytest_cache
rootdir: C:\temp\qqq
collected 0 items
======================================================= no tests ran in 0.02 seconds ========================================================
(originally reported here: https://bugs.python.org/issue37204)
Environment
To reproduce:
python-3.7.3-amd64-webinstall.exe).Expected behavior:
(the output of both commands is identical)
Actual behavior:
(the output of the first command is in lower case)
Same happens for all binaries and scripts in
PYTHON_PREFIX/Scripts, not only forpip.exe.For example, if I install pytest (using
pip install pytestorpy -m pip install pytest, doesn't matter), I get the following: