You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a file requirements file containing zope.event
pip-compile
Output contains zope-event
Expected result
The compiled file should contain zope.event as zope-event does not exist.
Actual result
It contains zope.event
Why is this an issue?
When you have a setup.py pointing to your compiled requirements file, you can not use console_scripts anymore.
Because when you try to run my entry_point console_scripts, you will get an error similar to:
pkg_resources.DistributionNotFound: The 'zope-event==4.5.0' distribution was not found and is required by my_package
The text was updated successfully, but these errors were encountered:
Jorricks
changed the title
[6.5.0] Packages containing dots are renamed to use dashes
[6.5.x] Packages containing dots are renamed to use dashes
Mar 11, 2022
Environment Versions
Python 3.8.11
pip 22.0.3
pip-compile, version 6.5.1
Steps to replicate
zope.event
zope-event
Expected result
The compiled file should contain
zope.event
aszope-event
does not exist.Actual result
It contains
zope.event
Why is this an issue?
When you have a
setup.py
pointing to your compiled requirements file, you can not use console_scripts anymore.Because when you try to run my entry_point console_scripts, you will get an error similar to:
The text was updated successfully, but these errors were encountered: