Skip to content

Commit

Permalink
build(python): update supported Python versions to 3.9 to 3.13 (#271)
Browse files Browse the repository at this point in the history
* 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
noirbizarre authored Nov 29, 2024
1 parent d5d5c23 commit 7f543a7
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 183 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
Expand Down
194 changes: 27 additions & 167 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7f543a7

Please sign in to comment.