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

pre-commit setup fails on Python<3.10 due to repo-review[cli] #451

Open
krassowski opened this issue May 22, 2024 · 1 comment
Open

pre-commit setup fails on Python<3.10 due to repo-review[cli] #451

krassowski opened this issue May 22, 2024 · 1 comment
Labels

Comments

@krassowski
Copy link
Member

An unexpected error has occurred: CalledProcessError: command: ('python', '-mpip', 'install', '.', 'repo-review[cli]')
return code: 1
stdout:
    Processing repo8y1m3338
      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'
      Preparing metadata (pyproject.toml): started
      Preparing metadata (pyproject.toml): finished with status 'done'
stderr:
    ERROR: Ignored the following versions that require a different python version: 0.10.0 Requires-Python >=3.10; 0.10.1 Requires-Python >=3.10; 0.10.2 Requires-Python >=3.10; 0.10.3 Requires-Python >=3.10; 0.10.4 Requires-Python >=3.10; 0.10.5 Requires-Python >=3.10; 0.10.6 Requires-Python >=3.10; 0.11.0 Requires-Python >=3.10; 0.7.0 Requires-Python >=3.10; 0.7.0b1 Requires-Python >=3.10; 0.7.0b10 Requires-Python >=3.10; 0.7.0b2 Requires-Python >=3.10; 0.7.0b3 Requires-Python >=3.10; 0.7.0b4 Requires-Python >=3.10; 0.7.0b5 Requires-Python >=3.10; 0.7.0b6 Requires-Python >=3.10; 0.7.0b7 Requires-Python >=3.10; 0.7.0b8 Requires-Python >=3.10; 0.7.0b9 Requires-Python >=3.10; 0.8.0 Requires-Python >=3.10; 0.8.1 Requires-Python >=3.10; 0.9.0 Requires-Python >=3.10; 0.9.1 Requires-Python >=3.10; 0.9.2 Requires-Python >=3.10; 0.9.3 Requires-Python >=3.10
    ERROR: Could not find a version that satisfies the requirement repo-review[cli] (from versions: none)
    ERROR: No matching distribution found for repo-review[cli]

I guess not much to do here if we want to keep it, but it's an annoyance

@krassowski krassowski added the bug label May 22, 2024
@fcollonval
Copy link
Member

Yep, from a quick discussion with the authors, increasing the Python version support is unlikely: scientific-python/cookie#435

I just hope that the policy SPEC0 and NEP29 won't bite us in the future for non-dev dependencies.

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