Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit aa515fc

Browse files
committed
Drop python 3.7 and 3.8; add 3.13 support
1 parent bf69b93 commit aa515fc

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,40 +13,43 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest]
16-
python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
16+
python-version: [3.9, '3.10', '3.11', '3.12', '3.13']
1717

1818
steps:
1919
- uses: actions/checkout@v4
20-
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v5
20+
21+
- name: Install the latest version of uv
22+
uses: astral-sh/setup-uv@v3
2223
with:
23-
python-version: ${{ matrix.python-version }}
24-
cache: "pip"
25-
cache-dependency-path: setup.py
24+
version: "latest"
25+
enable-cache: true
26+
cache-dependency-glob: "**/setup.py"
2627

2728
- name: Set up Java
2829
uses: actions/setup-java@v4
2930
with:
3031
distribution: "temurin"
31-
java-version: 11
32+
java-version: 17
33+
34+
- name: Install python
35+
run: uv venv --python ${{ matrix.python-version }}
3236

3337
- name: Install dependencies
3438
run: |
35-
python -m pip install --upgrade pip
36-
pip install pycodestyle unittest-xml-reporting
37-
pip install .
39+
uv pip install pycodestyle unittest-xml-reporting
40+
uv pip install .
3841
3942
- name: Test
40-
run: python -m xmlrunner discover -v -o test-results/test/
43+
run: uv run -m xmlrunner discover -v -o test-results/test/
4144

4245
- name: Pycodestyle
43-
run: pycodestyle cr8
46+
run: uv run -m pycodestyle cr8
4447

4548
- name: Upload results to wacklig
4649
env:
4750
WACKLIG_TOKEN: ${{ secrets.WACKLIG_TOKEN }}
4851
run: |
49-
curl -s https://raw.githubusercontent.com/pipifein/wacklig-uploader/master/wacklig.py | python - --token "$WACKLIG_TOKEN" || echo "Upload to wacklig failed"
52+
curl -s https://raw.githubusercontent.com/pipifein/wacklig-uploader/master/wacklig.py | uv run - --token "$WACKLIG_TOKEN" || echo "Upload to wacklig failed"
5053
5154
publish:
5255
name: Build & publish package to pypi

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,11 @@
4040
'Development Status :: 4 - Beta',
4141
'License :: OSI Approved :: MIT License',
4242
'Programming Language :: Python :: 3',
43-
'Programming Language :: Python :: 3.7',
44-
'Programming Language :: Python :: 3.8',
4543
'Programming Language :: Python :: 3.9',
4644
'Programming Language :: Python :: 3.10',
4745
'Programming Language :: Python :: 3.11',
4846
'Programming Language :: Python :: 3.12',
47+
'Programming Language :: Python :: 3.13',
4948
],
5049
use_scm_version=True,
5150
setup_requires=['setuptools_scm']

0 commit comments

Comments
 (0)