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

Invalid environment marker: python_version<"2.7" due to extra colon #22

Closed
ejames opened this issue Apr 25, 2016 · 4 comments
Closed

Invalid environment marker: python_version<"2.7" due to extra colon #22

ejames opened this issue Apr 25, 2016 · 4 comments

Comments

@ejames
Copy link

ejames commented Apr 25, 2016

An erroneous colon in 6848ca8, the fix to #18, causes setup.py to fail:

$ python setup.py develop
error in funcsigs setup command: Invalid environment marker: python_version<"2.7"
@rbtcollins
Copy link
Member

See issue #21 - the : is valid, but your setuptools is too old.

@legrostdg
Copy link

I actually have the same problem:

$ python setup.py build
warning: no files found matching '*' under directory 'setuptools/_vendor'

Installed /home/user/builds/funcsigs/setuptools-24.0.2-py2.7.egg
error in funcsigs setup command: Invalid environment marker: python_version<"2.7"

So, funcsigs installs setuptools-24.0.2, but fails on :python_version<"2.7". With python_version<"2.7" it builds.

@legrostdg
Copy link

Do you have any clues to solve this? As far as I can see, funcsigs installs setuptools-24.0.2, so should work with :python_version<"2.7"... Is there any downsides in reverting it to python_version<"2.7"?

@rbtcollins
Copy link
Member

Demand-installed setuptools won't work because setuptools is already loaded when the dependencies are processed; with a pyproject.toml it should work but that hasn't been implemented into pip etc yet.

With 'python_version<"2.7"' that becomes the name of an extra, rather than a conditional dependency - the semantics are entirely different.

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

3 participants