-
Notifications
You must be signed in to change notification settings - Fork 5
Get back onto supported Python versions #112
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
Open
matthias-bach-by
wants to merge
7
commits into
master
Choose a base branch
from
modernise
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c1b4e68
Add an AGENTS.md for easier offloading of work to Copilot
matthias-bach-by b746280
Add a tox configuration for easier local testing
matthias-bach-by 5395f70
Consistently use our default Python version
matthias-bach-by 214b90f
Drop no longe required coveralls compatibility workaround
matthias-bach-by d6de58e
Drop support for Python 3.9
matthias-bach-by 19934e7
Update tested dependencies after updating minimum supported Python ve…
matthias-bach-by 9ff4e90
Verify support for Python 3.14
matthias-bach-by File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,5 +9,6 @@ venv*/ | |
| build | ||
| tests/fixture/package/dist | ||
| dist/ | ||
| tox/ | ||
|
|
||
| README.html | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 3.9 | ||
| 3.10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # Agents | ||
|
|
||
| Use these project-specific defaults when making future changes: | ||
|
|
||
| - Run tests with `pytest`. | ||
| - Use `tox` to run the full test matrix across supported Python versions. | ||
| - Keep `core-requirements.txt` for runtime dependencies and `extra-test-requirements.txt` for test-only dependencies. | ||
| - Regenerate `requirements.txt` from those inputs with `tox -e compile`. Use `tox -e compile -- --upgrade` to upgrade dependencies to the latest compatible versions. | ||
| - When changing supported Python versions, keep `tox.ini`, GitHub workflows, and `setup.py` trove classifiers in sync. | ||
| - Keep `.python-version` set to the lowest supported Python version so Dependabot and single-version tooling pick it up correctly. | ||
| - Keep `base_python` in the `compile` environment in `tox.ini` set to the lowest supported Python version so that `tox -e compile` works correctly. | ||
| - When changing supported Python versions, recompile the `requirements.txt` file with `tox -e compile -- --upgrade` to ensure that compatible versions of dependencies are used. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| min_version = "4.0" | ||
| env_list = ["3.10", "3.11", "3.12", "3.13", "3.14"] | ||
|
|
||
| [env_run_base] | ||
| description = "run tests on {base_python}" | ||
| deps = ["-r requirements.txt", "--no-deps"] | ||
| commands = [["pytest", "--no-cov"]] | ||
|
|
||
| [env.compile] | ||
| description = "compile dependencies" | ||
| skip_install = true | ||
| deps = ["pip-tools"] | ||
| commands = [["pip-compile", "--no-emit-index-url", "--strip-extras", "--unsafe-package", "pip", { replace = "posargs", extend = true }]] | ||
| base_python = "3.10" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe just go to 3.12 and above? Then we buy a bit of time until we need another upgrade :)