Skip to content

Commit 7c38ca4

Browse files
authored
Merge pull request #122 from mulkieran/issue_project_757
Use Python 3.12 as lowest supported Python version
2 parents 33365a4 + ff010a4 commit 7c38ca4

2 files changed

Lines changed: 16 additions & 15 deletions

File tree

.github/workflows/main.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,26 +60,30 @@ jobs:
6060
- name: ${{ matrix.task }}
6161
run: ${{ matrix.task }}
6262

63-
lowest_environment_checks:
63+
lowest_supported_python:
6464
strategy:
6565
matrix:
6666
include:
6767
- dependencies: >
6868
python3-dbus
6969
python3-dbus-signature-pyparsing
7070
python3-hypothesis
71-
python3-hs-dbus-signature
7271
task: PYTHONPATH=./src make -f Makefile test
73-
- dependencies: >
74-
python3-setuptools
75-
python3-dbus
76-
python3-dbus-signature-pyparsing
77-
python3-hypothesis
78-
python3-hs-dbus-signature
79-
task: make legacy-package
8072
runs-on: ubuntu-latest
81-
container: fedora:35 # LOWEST DEVELOPMENT ENVIRONMENT
73+
container: fedora:41 # CURRENT DEVELOPMENT ENVIRONMENT
8274
steps:
75+
- name: Install python3.12
76+
run: >
77+
dnf install -y
78+
alternatives
79+
python3.12
80+
- name: Set python3 to python3.12
81+
run: >
82+
alternatives
83+
--install /usr/bin/python3
84+
python3
85+
/usr/bin/python3.12
86+
10
8387
- name: Display Python version
8488
run: python3 --version
8589
- uses: actions/checkout@v4
@@ -91,5 +95,7 @@ jobs:
9195
${{ matrix.dependencies }}
9296
- name: Install pyright
9397
run: pip install --user pyright
98+
- name: Install hs-dbus-signature
99+
run: pip install --user hs-dbus-signature
94100
- name: ${{ matrix.task }}
95101
run: ${{ matrix.task }}

Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ yamllint:
5353
package:
5454
(umask 0022; python -m build; python -m twine check --strict ./dist/*)
5555

56-
.PHONY: legacy-package
57-
legacy-package:
58-
python3 setup.py build
59-
python3 setup.py install
60-
6156
.PHONY: apply
6257
apply:
6358
@echo "Modules traced:"

0 commit comments

Comments
 (0)