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

setup.py fails on Python 3.3 #662

Closed
jayvdb opened this issue Jun 6, 2018 · 3 comments
Closed

setup.py fails on Python 3.3 #662

jayvdb opened this issue Jun 6, 2018 · 3 comments

Comments

@jayvdb
Copy link

jayvdb commented Jun 6, 2018

tox.ini says behave supports 3.3, but out of the box setup.py fails

$ python setup.py -q install
/opt/python/3.3.6/lib/python3.3/distutils/dist.py:258: UserWarning: Unknown distribution option: 'python_requires'
  warnings.warn(msg)
error in behave setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in traceback2; python_version < '3.0' at ; python_version < '3.0'

https://travis-ci.org/jayvdb/behave/jobs/388593320

@jayvdb
Copy link
Author

jayvdb commented Jun 6, 2018

c.f. #661 which also needs to be fixed if py33 is to be supported.

@jenisys
Copy link
Member

jenisys commented Jun 6, 2018

Sorry, I think you are mistaken. This does not look like a behave problem. This looks like a setuptools problem. Use a current version of setuptools / pip and you will not get this problem.
NOTE: python_requires support was added in "v24.2.0" (2016-07-20). I assume that you have an older version installed.

SEE ALSO:

@jenisys
Copy link
Member

jenisys commented Jun 6, 2018

And note that python3.3.x reached end-of-life:
https://www.python.org/downloads/release/python-337/

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