Skip to content

Commit 7f543a7

Browse files
authored
build(python): update supported Python versions to 3.9 to 3.13 (pdm-project#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
1 parent d5d5c23 commit 7f543a7

File tree

7 files changed

+37
-183
lines changed

7 files changed

+37
-183
lines changed

.github/workflows/ci.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,12 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "pypy-3.8"]
14+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9"]
1515
os: [ubuntu-latest, windows-latest, macos-latest]
1616
exclude:
17-
- python-version: 3.8
18-
os: macos-latest
1917
- python-version: 3.9
2018
os: macos-latest
2119
include:
22-
- python-version: 3.8
23-
os: macos-13
2420
- python-version: 3.9
2521
os: macos-13
2622

@@ -34,7 +30,7 @@ jobs:
3430
cache: "pip"
3531
- name: Install Dependencies
3632
run: |
37-
python -m pip install -U pip pytest setuptools editables
33+
python -m pip install -U pip pytest setuptools editables pytest-gitconfig
3834
pip install .
3935
- name: Install Mercurial
4036
shell: bash
@@ -59,6 +55,4 @@ jobs:
5955
echo "username = \"John Doe <[email protected]>\"" >> ~/.hgrc
6056
- name: Run Tests
6157
run: |
62-
git config --global user.name "John Doe"
63-
git config --global user.email "[email protected]"
6458
pytest -vvv tests

docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ version = "0.1.0"
3838
description = "A project built with PDM-Backend"
3939
authors = [{name = "John Doe", email="[email protected]"}]
4040
dependencies = ["requests"]
41-
requires-python = ">=3.8"
41+
requires-python = ">=3.9"
4242
readme = "README.md"
4343
license = "MIT"
4444
```

pdm.lock

+27-167
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)