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

crash on generic pip sample setup.py #719

Closed
majuscule opened this issue Jan 24, 2019 · 2 comments
Closed

crash on generic pip sample setup.py #719

majuscule opened this issue Jan 24, 2019 · 2 comments

Comments

@majuscule
Copy link
Contributor

majuscule commented Jan 24, 2019

Environment Versions
  1. Linux 4.15.0-39-generic #42~16.04.1-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
  2. Python 3.6.6
  3. pip 19.0.1
  4. pip-compile, version 3.2.0
Steps to replicate
  1. wget 'https://raw.githubusercontent.com/pypa/sampleproject/master/setup.py`
  2. pip-compile
Expected result

requirements.txt generated

Actual result
Traceback (most recent call last):
  File ".../bin/pip-compile", line 10, in <module>
    sys.exit(cli())
  File ".../lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File ".../lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File ".../lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File ".../lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File ".../lib/python3.6/site-packages/piptools/scripts/compile.py", line 130, in cli
    repository = PyPIRepository(pip_options, session)
  File ".../lib/python3.6/site-packages/piptools/repositories/pypi.py", line 62, in __init__
    process_dependency_links=pip_options.process_dependency_links,
AttributeError: 'Values' object has no attribute 'process_dependency_links'

Might have something to do with pypa/pip#5433 ?

@atugushev
Copy link
Member

atugushev commented Jan 24, 2019

Thanks for the report!

Duplicates to #714

@majuscule
Copy link
Contributor Author

whoops, thanks!

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

No branches or pull requests

2 participants