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

Self-tests fail against pip 22.3 #240

Closed
stanislavlevin opened this issue Oct 17, 2022 · 1 comment
Closed

Self-tests fail against pip 22.3 #240

stanislavlevin opened this issue Oct 17, 2022 · 1 comment
Labels

Comments

@stanislavlevin
Copy link

/usr/src/RPM/BUILD/python3-module-pytest-sugar-0.9.5$ /usr/src/RPM/BUILD/python3-module-pytest-sugar-0.9.5/.tox/py3/bin/python -m pip install --use-feature=2020-resolver --use-feature=fast-deps --exists-action w .tox/.tmp/package/1/pytest_sugar-0.9.5-py2.py3-none-any.whl

Usage:   
  /usr/src/RPM/BUILD/python3-module-pytest-sugar-0.9.5/.tox/py3/bin/python -m pip install [options] <requirement specifier> [package-index-options] ...
  /usr/src/RPM/BUILD/python3-module-pytest-sugar-0.9.5/.tox/py3/bin/python -m pip install [options] -r <requirements file> [package-index-options] ...
  /usr/src/RPM/BUILD/python3-module-pytest-sugar-0.9.5/.tox/py3/bin/python -m pip install [options] [-e] <vcs project url> ...
  /usr/src/RPM/BUILD/python3-module-pytest-sugar-0.9.5/.tox/py3/bin/python -m pip install [options] [-e] <local project path> ...
  /usr/src/RPM/BUILD/python3-module-pytest-sugar-0.9.5/.tox/py3/bin/python -m pip install [options] <archive url/path> ...

option --use-feature: invalid choice: '2020-resolver' (choose from 'fast-deps', 'truststore', 'no-binary-enable-wheel-cache')
ERROR: invocation failed (exit code 2)

https://pip.pypa.io/en/stable/news/#v22-3:

Remove --use-feature=2020-resolver opt-in flag. This was supposed to be removed in 21.0, but missed during that release cycle. (#11493)

@Teemu Teemu added the bug label Nov 5, 2022
@Teemu
Copy link
Owner

Teemu commented Nov 6, 2022

Fixed

@Teemu Teemu closed this as completed Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants