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

CI failing due to setuptools change #5150

Closed
zenmonkeykstop opened this issue Mar 10, 2020 · 2 comments · Fixed by #5151
Closed

CI failing due to setuptools change #5150

zenmonkeykstop opened this issue Mar 10, 2020 · 2 comments · Fixed by #5151

Comments

@zenmonkeykstop
Copy link
Contributor

Description

The staging-test-with-rebase circleCI check is failing due to changes in setuptools 46.0.0, with the error:

Creating Python 3 virtualenv in .venv
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in /home/sdci/securedrop-source/.venv/bin/python3
Also creating executable in /home/sdci/securedrop-source/.venv/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
    ERROR: Command errored out with exit status 1:
     command: /home/sdci/securedrop-source/.venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-916609ga/markupsafe/setup.py'"'"'; __file__='"'"'/tmp/pip-install-916609ga/markupsafe/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-916609ga/markupsafe/pip-egg-info
         cwd: /tmp/pip-install-916609ga/markupsafe/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-916609ga/markupsafe/setup.py", line 6, in <module>
        from setuptools import setup, Extension, Feature
    ImportError: cannot import name 'Feature'
    ----------------------------------------

Steps to Reproduce

  • Run CI.

Expected Behavior

CI passes or fails for a valid reason.

Actual Behavior

CI fails through no fault of the code.

@zenmonkeykstop
Copy link
Contributor Author

Related setuptools issue: pypa/setuptools#2017

@zenmonkeykstop
Copy link
Contributor Author

We can probably just update markupsafe to fix this, trying that now...

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

Successfully merging a pull request may close this issue.

1 participant