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

Add support for non-pinned requirements #6

Open
joeyespo opened this issue Jan 1, 2019 · 1 comment
Open

Add support for non-pinned requirements #6

joeyespo opened this issue Jan 1, 2019 · 1 comment

Comments

@joeyespo
Copy link
Owner

joeyespo commented Jan 1, 2019

This will solve the Error: Can only work with pinned requirements for now case and close out this TODO.

@jamesbroadhead
Copy link
Contributor

^ this code-path should probably raise rather than fall-through to the next line.

Reading ./scripts/env/requirements.txt...
Error: Can only work with pinned requirements for now.
Traceback (most recent call last):
  File "/Users/jbo/venv/default/bin/upgrade-requirements", line 11, in <module>
    load_entry_point('upgrade-requirements==1.7.0', 'console_scripts', 'upgrade-requirements')()
  File "/Users/jbo/venv/default/lib/python3.7/site-packages/upgrade_requirements.py", line 58, in main
    name, version = requirement.split('==')
ValueError: not enough values to unpack (expected 2, got 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants