Skip to content

Commit 7b3a333

Browse files
committed
Dropping Python 3.7 and 3.8
1 parent 76c91d1 commit 7b3a333

File tree

2 files changed

+5
-21
lines changed

2 files changed

+5
-21
lines changed

.github/workflows/python-package.yml

+4-20
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,9 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12]
20+
python-version: [3.9, "3.10", 3.11, 3.12, "3.13"]
2121
os: [ubuntu-latest, windows-latest, macos-latest]
22-
exclude: # https://github.com/actions/runner-images/issues/9770#issuecomment-2085623315
23-
# ubuntu-latest dropped Python 3.7 since late 2024
24-
- python-version: "3.7"
25-
os: ubuntu-latest
26-
# Apple Silicon ARM64 does not support Python < v3.8
27-
- python-version: "3.7"
28-
os: macos-latest
2922
include: # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-environment-variables-in-a-matrix
30-
- # Run those legacy versions on macos13 runner which uses Intel CPUs
31-
python-version: 3.7
32-
toxenv: "py37"
33-
os: macos-13
34-
- python-version: 3.8
35-
toxenv: "py38"
3623
- python-version: 3.9
3724
toxenv: "py39"
3825
- python-version: "3.10"
@@ -41,6 +28,8 @@ jobs:
4128
toxenv: "py311"
4229
- python-version: 3.12
4330
toxenv: "py312"
31+
- python-version: "3.13"
32+
toxenv: "py313"
4433
- python-version: 3.9
4534
os: ubuntu-latest
4635
lint: "true"
@@ -51,13 +40,8 @@ jobs:
5140
with:
5241
python-version: ${{ matrix.python-version }}
5342
cache: 'pip'
54-
- name: Install Linux dependencies for Python 2
55-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '2.7' }}
56-
run: |
57-
sudo apt update
58-
sudo apt install python-dev libgirepository1.0-dev libcairo2-dev gir1.2-secret-1 gnome-keyring
5943
- name: Install Linux dependencies for Python 3
60-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '2.7' }}
44+
if: ${{ matrix.os == 'ubuntu-latest' }}
6145
run: |
6246
sudo apt update
6347
# girepository-2.0 becomes necessary since PyGobject 3.51 https://pygobject.gnome.org/changelog.html#pre-release

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
long_description=long_description,
1818
long_description_content_type="text/markdown",
1919
package_data={'': ['LICENSE']},
20-
python_requires=">=3.7",
20+
python_requires=">=3.9",
2121
install_requires=[
2222
'msal>=1.29,<2', # Use TokenCache.search() from MSAL Python 1.29+
2323

0 commit comments

Comments
 (0)