error in install_requires
See original GitHub issueClean git checkout, execute python setup.py bdist_rpm
python --version: Python 2.7.5
error in asana setup command: ‘install_requires’ must be a string or list of strings containing valid project/version requirement specifiers
I also receive this message when I try to pip install the package.
If I remove the parts after the first comma, the rpm builds:
diff --git a/setup.py b/setup.py
index 6adedd7..a1d2ce3 100755
--- a/setup.py
+++ b/setup.py
@@ -26,9 +26,9 @@ setup(
'Programming Language :: Python :: 3.4'
],
install_requires=[
- 'requests >=2.14.2, == 2.14.*',
- 'requests_oauthlib >= 0.6.1, == 0.6.*',
- 'six >= 1.10.0, == 1.10.*'
+ 'requests >=2.14.2',
+ 'requests_oauthlib >= 0.6.1',
+ 'six >= 1.10.0'
],
author='Asana, Inc',
# author_email='',
┆Issue is synchronized with this Asana task
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Installation error: 'install_requires' must be a string or list of ...
I'm trying to install pendulum on openSUSE 42.3 (Python 3.4.6). I have following error: pip install --user pendulum Collecting pendulum ...
Read more >error in pipenv setup command: 'install_requires' must be a ...
1. Not enough information. · 1. I suspect something is broken in a recent release. · 1. I was able to install with...
Read more >'install_requires' must be a string or list of ... - Misago Forums
'install_requires' must be a string or list of strings containing valid project/version requirement specifiers in Misago setup ... Error with install Misago.
Read more >Python packaging edge cases - 921Kiyo
python setup_modified.py sdist bdist_wheel error in project setup command: 'install_requires' must be a string or list of strings containing ...
Read more >Inspect install_requires from a python package - Super User
I have no idea how far this generalizes, but after getting more detailed logs of the error, I found that it was downloading...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is interesting because the current version specifier string was an attempt to keep our library compatible to older versions of
setuptools
that didn’t yet follow the compatible release version specifier of~=
. If you follow that link, you’ll see that the current strings are meant to be the “semantic meaning” that they suggest for an equivalent of~=
, but it’d be a shame if that doesn’t actually work.This is tricky to test because we’d have to set up a machine / VM image with its configuration to be just right to test it out. In any case, newer versions of
setuptools
after version 8.0 (Dec 2014) should have no problem with either way of specifying a compatible release.Could you attach the output of what your machine says when you run
If it appears to be greater than 8.0, we’ll have to dig in deeper.
Otherwise, you should be able to get moving by running
If that doesn’t work, be sure to let us know!
We recently cut a new release of v0.6.7 - feel free to try it out using a version of setuptools greater than 8.0, and let us know if you run into any issues!