-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
C: dependency resolutionAbout choosing which dependencies to installAbout choosing which dependencies to installC: extrasHandling optional dependenciesHandling optional dependencies
Description
- Pip version: 9.0.1
- Python version: 3.5.2
- Operating system: Ubuntu 16.04.3 LTS
Description:
Note: I initially reported this here pypa/setuptools#1247, but was advised to report it here instead.
A similar issue was reported and fixed here for pip.
In our case:
- We have a repo with multiple packages in it.
- We have the
zulip_botspackage that depends onrequestsandsimple_salesforce.simple_salesforcefurther depends onrequests[security]. - The
zulip_botspackage also depends on thezulippackage in the same repo which also depends on/installsrequests. So, it is clear thatrequestsdoes get installed whether you installzuliporzulip_bots. - We usually use our provision script to set up a dev env and install the
zulipandzulip_botspackages. - But recently, when we ran this executable (part of the
zulip_botspackage), we ran into:
pkg_resources.DistributionNotFound: The 'cryptography>=1.3.4; extra == "security"' distribution was not found and is required by requestsThe above error led us to conclude that for some reason, requests[security] was not getting satisfied as expected.
It would mean a lot to us if someone could please shed some light on whether this is a re-manifestation of #3189 and #3198 or simply a quirk in our understanding of how extra dependencies are resolved! Thanks! :)
ankostis, JoseKilo, springheeledjak, glostis, discosultan and 3 more
Metadata
Metadata
Assignees
Labels
C: dependency resolutionAbout choosing which dependencies to installAbout choosing which dependencies to installC: extrasHandling optional dependenciesHandling optional dependencies