generated from pdm-project/pdm
-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(python): update supported Python versions to 3.9 to 3.13 (#271)
* test(gitconfig): use `pytrest-gitconfig` to avoid run environment git setting side-effects * build(python): update supported Python versions to 3.9 to 3.13
- Loading branch information
1 parent
d5d5c23
commit 7f543a7
Showing
7 changed files
with
37 additions
and
183 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -11,16 +11,12 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "pypy-3.8"] | ||
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9"] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
exclude: | ||
- python-version: 3.8 | ||
os: macos-latest | ||
- python-version: 3.9 | ||
os: macos-latest | ||
include: | ||
- python-version: 3.8 | ||
os: macos-13 | ||
- python-version: 3.9 | ||
os: macos-13 | ||
|
||
|
@@ -34,7 +30,7 @@ jobs: | |
cache: "pip" | ||
- name: Install Dependencies | ||
run: | | ||
python -m pip install -U pip pytest setuptools editables | ||
python -m pip install -U pip pytest setuptools editables pytest-gitconfig | ||
pip install . | ||
- name: Install Mercurial | ||
shell: bash | ||
|
@@ -59,6 +55,4 @@ jobs: | |
echo "username = \"John Doe <[email protected]>\"" >> ~/.hgrc | ||
- name: Run Tests | ||
run: | | ||
git config --global user.name "John Doe" | ||
git config --global user.email "[email protected]" | ||
pytest -vvv tests |
This file contains 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 |
---|---|---|
|
@@ -38,7 +38,7 @@ version = "0.1.0" | |
description = "A project built with PDM-Backend" | ||
authors = [{name = "John Doe", email="[email protected]"}] | ||
dependencies = ["requests"] | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
readme = "README.md" | ||
license = "MIT" | ||
``` | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.