Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 14 additions & 15 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,32 @@ jobs:
strategy:
matrix:
py:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "pypy-3.8"
- "pypy-3.10"
os:
- "ubuntu-20.04"
- "ubuntu-24.04"
- "windows-2022"
- "macos-11"
- "macos-13"
architecture:
- x64
- x86

include:
# Only run coverage on ubuntu-20.04, except on pypy3
- os: "ubuntu-20.04"
# Only run coverage on ubuntu-24.04, except on pypy3
- os: "ubuntu-24.04"
pytest-args: "--cov"
- os: "ubuntu-20.04"
py: "pypy-3.8"
- os: "ubuntu-24.04"
py: "pypy-3.10"
pytest-args: ""

exclude:
# Linux and macOS don't have x86 python
- os: "ubuntu-20.04"
- os: "ubuntu-24.04"
architecture: x86
- os: "macos-11"
- os: "macos-13"
architecture: x86

name: "Python: ${{ matrix.py }}-${{ matrix.architecture }} on ${{ matrix.os }}"
Expand All @@ -57,7 +56,7 @@ jobs:
- name: Running tox
run: tox -e py -- ${{ matrix.pytest-args }}
coverage:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
name: Validate coverage
steps:
- uses: actions/checkout@v4
Expand All @@ -69,26 +68,26 @@ jobs:
- run: pip install tox
- run: tox -e py312-cover,coverage
docs:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
name: Build the documentation
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12
architecture: x64
- run: pip install tox
- run: tox -e docs
lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
name: Lint the package
steps:
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12
architecture: x64
- run: pip install tox
- run: tox -e lint
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Features
- Added HTTP 418 error code via `pyramid.httpexceptions.HTTPImATeapot`.
See https://github.com/Pylons/pyramid/pull/3667

- Coverage reports in tests based on Python 3.12 instead of Python 3.8.
- Base coverage reports in tests on Python 3.12 instead of Python 3.8.

- All scripts now pass a new option ``__script__`` when loading the WSGI app.
For example, ``pserve`` sets ``__script__ == 'pserve'``. This works for
Expand Down Expand Up @@ -55,7 +55,7 @@ Bug Fixes
Backward Incompatibilities
--------------------------

- Drop support for Python 3.6 and 3.7.
- Drop support for Python 3.6, 3.7, and 3.8.

- Drop support for l*gettext() methods in the i18n module.
These have been deprecated in Python's gettext module since 3.8, and
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
lint,
py38,py39,py310,py311,py312,pypy3,
py39,py310,py311,py312,pypy3,
py312-cover,coverage,
docs

Expand Down