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

Jenkins build started failing #4342

Closed
sphuber opened this issue Sep 1, 2020 · 4 comments · Fixed by #4343
Closed

Jenkins build started failing #4342

sphuber opened this issue Sep 1, 2020 · 4 comments · Fixed by #4343
Assignees

Comments

@sphuber
Copy link
Contributor

sphuber commented Sep 1, 2020

Builds on Jenkins started failing roughly since yesterday, example:

+ pip install --user '.[all]'
Processing /var/jenkins_home/workspace/iida_core_aiidateam_develop-RU3QBMA2T4T22WXTAWCIC67XUQPUWZ2VD4IVEUVDEEPJCLO4QU2Q
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
ERROR: Exception:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/base_command.py", line 188, in main
    status = self.run(options, args)
  File "/usr/local/lib/python3.6/dist-packages/pip/_internal/commands/install.py", line 345, in run
    resolver.resolve(requirement_set)
  File "/usr/local/lib/python3.6/dist-packages/pip/_internal/legacy_resolve.py", line 196, in resolve
    self._resolve_one(requirement_set, req)
  File "/usr/local/lib/python3.6/dist-packages/pip/_internal/legacy_resolve.py", line 359, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/usr/local/lib/python3.6/dist-packages/pip/_internal/legacy_resolve.py", line 307, in _get_abstract_dist_for
    self.require_hashes
  File "/usr/local/lib/python3.6/dist-packages/pip/_internal/operations/prepare.py", line 215, in prepare_linked_requirement
    finder, self.build_isolation,
  File "/usr/local/lib/python3.6/dist-packages/pip/_internal/distributions/source.py", line 70, in prepare_distribution_metadata
    reqs = self.req.pep517_backend.get_requires_for_build_wheel()
  File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/wrappers.py", line 71, in get_requires_for_build_wheel
    'config_settings': config_settings
  File "/usr/local/lib/python3.6/dist-packages/pip/_vendor/pep517/wrappers.py", line 162, in _call_hook
    raise BackendUnavailable
pip._vendor.pep517.wrappers.BackendUnavailable
WARNING: You are using pip version 19.2.3, however version 20.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

This may very well have to do with setuptools==0.50.0 that was released yesterday.

@sphuber sphuber self-assigned this Sep 1, 2020
@sphuber sphuber added topic/dependencies topic/dependencies/constraint Issues related to dependency constraints that should be resolved. labels Sep 1, 2020
@sphuber
Copy link
Contributor Author

sphuber commented Sep 1, 2020

Tagging @csadorf

@greschd
Copy link
Member

greschd commented Sep 1, 2020

For the time being, I think it would be reasonable to put "setuptools>=40.8.0<50" in our pyproject.toml (haven't checked if this fixes the error).

The setuptools release appears to be broken for quite a large number of targets 😵

Edit: Ah sorry, just saw that's what you did in your PR.

@csadorf
Copy link
Contributor

csadorf commented Sep 1, 2020

I see that you already created a PR, but should we maybe wait a day or so to see if this being fixed upstream?

@sphuber
Copy link
Contributor Author

sphuber commented Sep 1, 2020

I see that you already created a PR, but should we maybe wait a day or so to see if this being fixed upstream?

Fine by me to wait a day or two. Luckily we don't really rely heavily on the Jenkins build for problem detection, but it would be nice to get rid of all those red crosses in the build lists and branch/PR statuses

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants