-
Notifications
You must be signed in to change notification settings - Fork 12
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
⚠️ Upstream CI Failed ⚠️ #164
Comments
It seems that an update to Typer results in not being able to install typer from github directly with pip. When you do so, you get the following error from pip: > pip install git+https://github.com/tiangolo/typer
Collecting git+https://github.com/tiangolo/typer
Cloning https://github.com/tiangolo/typer to /private/var/folders/6c/yts2b01x3rj8wgdkzlwtqpzcslvb49/T/pip-req-build-na9ifeu0
Running command git clone --filter=blob:none --quiet https://github.com/tiangolo/typer /private/var/folders/6c/yts2b01x3rj8wgdkzlwtqpzcslvb49/T/pip-req-build-na9ifeu0
Resolved https://github.com/tiangolo/typer to commit e663db02cd98c4ac9337e2dfbf75e7a2ba490a48
Installing build dependencies ... done
Getting requirements to build wheel ... done
ERROR: Exception:
Traceback (most recent call last):
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
status = run_func(*args)
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
return func(self, options, args)
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 340, in run
requirement_set = resolver.resolve(
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 75, in resolve
collected = self.factory.collect_root_requirements(root_reqs)
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 506, in collect_root_requirements
req = self._make_requirement_from_install_req(
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 468, in _make_requirement_from_install_req
cand = self._make_candidate_from_link(
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 215, in _make_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 291, in __init__
super().__init__(
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 161, in __init__
self.dist = self._prepare()
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 230, in _prepare
dist = self._prepare_distribution()
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 302, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 421, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 490, in _prepare_linked_requirement
dist = _get_prepared_distribution(
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 57, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(finder, build_isolation)
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 45, in prepare_distribution_metadata
self._install_build_reqs(finder)
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 114, in _install_build_reqs
conflicting, missing = self.req.build_env.check_requirements(build_reqs)
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_internal/build_env.py", line 178, in check_requirements
if req.marker is not None and not req.marker.evaluate():
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 304, in evaluate
return _evaluate_markers(self._markers, current_environment)
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 234, in _evaluate_markers
lhs_value = _get_env(environment, lhs.value)
File "/Users/kpaul/Software/miniconda3/envs/jupyter-forward-dev/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 215, in _get_env
raise UndefinedEnvironmentName(
pip._vendor.packaging.markers.UndefinedEnvironmentName: 'extra' does not exist in evaluation environment. |
Ok. This appears to be related to the new release of pip version 22.1. The last working Upstream CI test passes with pip version 22.0.4, but the first failure is with pip version 22.1. |
Yes. I've confirmed that this is a bug in pip 22.1, and it appears to have already been fixed here: I suspect that this will fix itself in a few days when a bugfix release of pip is minted. |
See also pypa/pip#11112 which was merged (the day after the 22.1 release). |
this appears to have been resolved! |
Workflow Run URL
The text was updated successfully, but these errors were encountered: