Skip to content

Commit

Permalink
Drop Python 3.7 and add Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Jul 4, 2024
1 parent afdfc0d commit 9d790c7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
needs: [test]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Get pip cache dir
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
fail-fast: false
matrix:
python-version:
["3.7", "3.8", "3.9", "3.10", "3.11", "pypy-3.7", "pypy-3.8"]
["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.7", "pypy-3.8"]
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Confirmed Python 3.12 support. ([#XX])
- Added `CHANGELOG.md` file. ([#40])
- Confirmed Python 3.11 support. ([#39])
- Added test summary to the end of the test run. ([#31])
- Added support for `--no-header` and `--no-summary` command line options. ([#64])
- Added support for capturing terminal output using Rich's `Console` class, with command line option `--rich-capture`. ([#65])
- Added support for other plugins to add to test header, through invocation of `pytest_report_header` hook. ([#66])

### Removed

- Dropped Python 3.7 support. ([#XX])


## [0.1.1] - 2022-03-03

## [0.1.0] - 2022-03-02
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ classifiers =
Topic :: Software Development :: Testing
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Expand All @@ -44,6 +44,7 @@ dev =
flake8
freezegun
mypy
pre-commit
reorder-python-imports
tox
types-attrs
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist =
py{37,38,39,310,311,py37,py38}
py{37,38,39,310,311,,312,py38}
flake8
isolated_build = true

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
pypy-3.7: pypy37
3.12: py312
pypy-3.8: pypy38

[testenv]
Expand Down

0 comments on commit 9d790c7

Please sign in to comment.