diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..be006de --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +# Keep GitHub Actions up to date with GitHub's Dependabot... +# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot +# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + groups: + github-actions: + patterns: + - "*" # Group all Actions updates into a single larger pull request + schedule: + interval: weekly diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8eb17bd..6af88f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,11 @@ name: test -on: [push, pull_request] +on: + push: + branches: + - main + + pull_request: # Cancel running jobs for the same workflow and branch. concurrency: @@ -24,7 +29,7 @@ jobs: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] qt-lib: [pyqt5, pyqt6, pyside2, pyside6] os: [ubuntu-latest, windows-latest, macos-latest] exclude: @@ -40,7 +45,7 @@ jobs: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5.2.0 with: python-version: ${{ matrix.python-version }} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1268495..7fbe4b2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,9 @@ +UNRELEASED +---------- + +* Added official support for Python 3.13. +* Dropped support for EOL Python 3.8. + 4.4.0 (2024-02-07) ------------------ diff --git a/README.rst b/README.rst index 76ab13b..ca9c6f9 100644 --- a/README.rst +++ b/README.rst @@ -74,8 +74,6 @@ Features Requirements ============ -Since version 4.1.0, ``pytest-qt`` requires Python 3.7+. - Works with either PySide6_, PySide2_, PyQt6_ or PyQt5_. If any of the above libraries is already imported by the time the tests execute, that library will be used. diff --git a/setup.py b/setup.py index 1f99bd6..4bdaebc 100644 --- a/setup.py +++ b/setup.py @@ -32,11 +32,11 @@ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "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.13", "Topic :: Desktop Environment :: Window Managers", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", diff --git a/tox.ini b/tox.ini index e3f965f..e1203e3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38,39,310,311,312}-{pyqt5,pyside2,pyside6,pyqt6} +envlist = py{39,310,311,312,313}-{pyqt5,pyside2,pyside6,pyqt6} [testenv] deps=