-
Notifications
You must be signed in to change notification settings - Fork 1
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
"parse_requirements() missing 1 required keyword argument", #12
Comments
Thanks! This looks like an API change in parse_requirements since I last took a look at this. This looks similar to brettcannon/caniusepython3#72. Want to make an attempt at this? It looks like it would be the similar to the fix from that issue: Clever/kayvee-python@ebec3ff I can bump version and release it if you'd like. |
hi. |
No problem with being a novice! I think this is within your abilities. I look forward to reviewing a PR. |
hi. i made some modifications to setup.py,but it doesn't work: root@AR:~/widely# cat setup.py from setuptools import setup, find_packages basedir = os.path.dirname(file) parse_requirements() returns generator of pip.req.InstallRequirement objectsinstall_requirements = parse_requirements(requirements_path), session=PipSession() Convert to setup's list of strings format:requirements = [str(ir.req) for ir in install_requirements] setup( |
so can u just update setup.py file? |
parse_requirements needs a session. Fixes #12
Version 0.16 has been uploaded to PyPI. |
hi. is it possible to use widely in a common linux vps? |
No, |
hi.
root@AR:
/widely# pip install -r requirements.txt/widely# lsroot@AR:
build_docs LICENSE.md MANIFEST.in README.md README.rst requirements.txt setup.py widely
root@AR:
/widely# python setup.py install/widely#Traceback (most recent call last):
File "setup.py", line 14, in
requirements = [str(ir.req) for ir in install_requirements]
File "/usr/local/lib/python2.7/dist-packages/pip/req/req_file.py", line 79, in parse_requirements
"parse_requirements() missing 1 required keyword argument: "
TypeError: parse_requirements() missing 1 required keyword argument: 'session'
root@AR:
how to fix it?
The text was updated successfully, but these errors were encountered: