Skip to content

Commit f6c77de

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

File tree

2 files changed

+5
-20
lines changed

2 files changed

+5
-20
lines changed

.github/workflows/python-package.yml

+4-19
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,10 @@ 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
3023
- # 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"
3624
- python-version: 3.9
3725
toxenv: "py39"
3826
- python-version: "3.10"
@@ -41,6 +29,8 @@ jobs:
4129
toxenv: "py311"
4230
- python-version: 3.12
4331
toxenv: "py312"
32+
- python-version: "3.13"
33+
toxenv: "py313"
4434
- python-version: 3.9
4535
os: ubuntu-latest
4636
lint: "true"
@@ -51,13 +41,8 @@ jobs:
5141
with:
5242
python-version: ${{ matrix.python-version }}
5343
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
5944
- name: Install Linux dependencies for Python 3
60-
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version != '2.7' }}
45+
if: ${{ matrix.os == 'ubuntu-latest' }}
6146
run: |
6247
sudo apt update
6348
# 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)