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

Python version, Dependabot and pipenv conflicts #168

Closed
ml-evs opened this issue Sep 24, 2022 · 1 comment
Closed

Python version, Dependabot and pipenv conflicts #168

ml-evs opened this issue Sep 24, 2022 · 1 comment
Labels
build For issues/PRs pertaining to the build or deployment of the package

Comments

@ml-evs
Copy link
Member

ml-evs commented Sep 24, 2022

Some fun, pipenv does not allow you to broadly specify a range of Python versions (e.g., ">3.8"), only "3" or something specific.
By default, dependabot uses a recent Python (3.10), which causes the lockfile to break for all versions that have different requirements between 3.8 and 3.10

Two possible solutions:

  • Pin dependabot to the lowest supported Python version using .python_version or runtime.txt files (see Possibility to set Python version? dependabot/dependabot-core#1455 - still would be quite brittle).
  • Only support one Python version for this project (would simplify quite a few things tbh, but could be restrictive on which dependencies we can use (e.g., if they don't support Python 3.10 themselves)).
  • Scrap pipenv!
@ml-evs ml-evs added the build For issues/PRs pertaining to the build or deployment of the package label Sep 24, 2022
@ml-evs
Copy link
Member Author

ml-evs commented Aug 20, 2024

Closed by #604

@ml-evs ml-evs closed this as completed Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build For issues/PRs pertaining to the build or deployment of the package
Projects
None yet
Development

No branches or pull requests

1 participant