Skip to content

Commit 0bf9f13

Browse files
committed
Drop Python 3.8 support, add 3.13
1 parent cdad310 commit 0bf9f13

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

.github/workflows/test.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: test
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
pull_request:
49

510
# Cancel running jobs for the same workflow and branch.
611
concurrency:
@@ -24,7 +29,7 @@ jobs:
2429
fail-fast: false
2530

2631
matrix:
27-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
32+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2833
qt-lib: [pyqt5, pyqt6, pyside2, pyside6]
2934
os: [ubuntu-latest, windows-latest, macos-latest]
3035
exclude:
@@ -40,7 +45,7 @@ jobs:
4045
- uses: actions/checkout@v3
4146

4247
- name: Set up Python ${{ matrix.python-version }}
43-
uses: actions/setup-python@v3
48+
uses: actions/setup-python@v5.2.0
4449
with:
4550
python-version: ${{ matrix.python-version }}
4651

CHANGELOG.rst

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
UNRELEASED
2+
----------
3+
4+
* Added official support for Python 3.13.
5+
* Dropped support for EOL Python 3.8.
6+
17
4.4.0 (2024-02-07)
28
------------------
39

README.rst

-2
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ Features
7474
Requirements
7575
============
7676

77-
Since version 4.1.0, ``pytest-qt`` requires Python 3.7+.
78-
7977
Works with either PySide6_, PySide2_, PyQt6_ or PyQt5_.
8078

8179
If any of the above libraries is already imported by the time the tests execute, that library will be used.

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@
2424
url="http://github.com/pytest-dev/pytest-qt",
2525
use_scm_version={"write_to": "src/pytestqt/_version.py"},
2626
setup_requires=["setuptools_scm"],
27-
python_requires=">=3.8",
27+
python_requires=">=3.9",
2828
classifiers=[
2929
"Development Status :: 5 - Production/Stable",
3030
"Framework :: Pytest",
3131
"Intended Audience :: Developers",
3232
"License :: OSI Approved :: MIT License",
3333
"Operating System :: OS Independent",
3434
"Programming Language :: Python :: 3",
35-
"Programming Language :: Python :: 3.8",
3635
"Programming Language :: Python :: 3.9",
3736
"Programming Language :: Python :: 3.10",
3837
"Programming Language :: Python :: 3.11",
3938
"Programming Language :: Python :: 3.12",
39+
"Programming Language :: Python :: 3.13",
4040
"Topic :: Desktop Environment :: Window Managers",
4141
"Topic :: Software Development :: Quality Assurance",
4242
"Topic :: Software Development :: Testing",

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{38,39,310,311,312}-{pyqt5,pyside2,pyside6,pyqt6}
2+
envlist = py{39,310,311,312,313}-{pyqt5,pyside2,pyside6,pyqt6}
33

44
[testenv]
55
deps=

0 commit comments

Comments
 (0)