Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URL requirement in argcmdr setup.py prescribes its installation by source URL #27

Closed
jesteria opened this issue Jun 23, 2022 · 0 comments
Labels

Comments

@jesteria
Copy link
Member

Summary

As a user who would like to take advantage of the resolution of #23 – and really of tomerfiliba/plumbum#604 – I must install argcmdr from its source URL (this repository) rather than from PyPI.

In depth

The current state of pip and setup.py appears to be such that specification of a fork repository requirement –

install_requires=[
    …
    'plumbum @ git+https://github.com/jesteria/plumbum.git@v1.7.2-604',
]

– is interpreted as simply pip install plumbum (from PyPI) unless the setup.py is actually invoked, i.e. unless pip is made to retrieve the source, either:

  • pip install https://github.com/dssg/argcmdr/archive/0.12.0.zip
  • or in another setup.py: argcmdr @ https://github.com/dssg/argcmdr/archive/0.12.0.zip
    • (…and onwards)

This is exceptional.

Outlook

@jesteria jesteria added the bug label Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant