Skip to content

Commit 9312f14

Browse files
Support Python>=3.12, adopt SPDX licensing (#41)
* Support Python 3.12 * Drop license classifier
1 parent 026e8fb commit 9312f14

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
fail-fast: false
1818
runs-on: ${{ matrix.runs-on }}
1919
steps:
20-
- uses: actions/checkout@v2
21-
- uses: actions/setup-python@v3
20+
- uses: actions/checkout@v4.2.2
21+
- uses: actions/setup-python@v5.5.0
2222
with:
2323
python-version: 3.12
2424
- name: Install
@@ -30,15 +30,13 @@ jobs:
3030
run: |
3131
python -m pytest
3232
deploy:
33-
runs-on: ubuntu-20.04
33+
runs-on: ubuntu-latest
3434
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
3535
environment: PyPi-deploy
3636
steps:
37-
- uses: actions/checkout@v2
37+
- uses: actions/checkout@v4.2.2
3838

39-
- uses: actions/setup-python@v3
40-
with:
41-
python-version: 3.10.2
39+
- uses: actions/[email protected]
4240
- name: Install requirements and build wheel
4341
shell: bash -l {0}
4442
run: |

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default_language_version:
2-
python: "3.10"
2+
python: "3.12"
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
55
rev: "v5.0.0"
@@ -24,7 +24,7 @@ repos:
2424
rev: "v3.19.1"
2525
hooks:
2626
- id: pyupgrade
27-
args: ["--py310-plus"]
27+
args: ["--py312-plus"]
2828

2929
- repo: https://github.com/hadialqattan/pycln
3030
rev: "v2.5.0"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ name = "pyodide-cli"
77
dynamic = ["version"]
88
authors = [{name = "Pyodide developers"}]
99
description = '"The command line interface for the Pyodide project"'
10+
license = "MPL-2.0"
1011
classifiers = [
1112
"Programming Language :: Python :: 3",
12-
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
1313
"Operating System :: OS Independent",
1414
]
15-
requires-python = ">= 3.10"
15+
requires-python = ">= 3.12"
1616
dependencies = [
1717
"typer",
1818
"rich",

0 commit comments

Comments
 (0)