Skip to content

Commit c9d1fbe

Browse files
authored
Drop support for Python 3.8 & 3.9, add support for Python 3.12 in CI/CD and update to latest packages (#1311)
1 parent d4c569b commit c9d1fbe

File tree

21 files changed

+793
-768
lines changed

21 files changed

+793
-768
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
{
44
"name": "Python 3",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/python:0-3.11",
6+
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
77
// Features to add to the dev container. More info: https://containers.dev/features.
88
"features": {
99
"ghcr.io/devcontainers/features/github-cli:1": {},
1010
"ghcr.io/devcontainers-contrib/features/poetry:2": {}
1111
},
12-
// "features": {},
1312
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1413
// "forwardPorts": [],
1514
// Use 'postCreateCommand' to run commands after the container is created.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @vlebourl @iMicknl @tetienne
1+
* @iMicknl @tetienne

.github/release-drafter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ categories:
3131
template: |
3232
## What's changed
3333
$CHANGES
34+
3435
## Contributors to this release
3536
$CONTRIBUTORS

.github/workflows/main.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.8", "3.9", "3.10", "3.11"]
19+
python-version: ["3.10", "3.11", "3.12"]
2020

2121
steps:
2222
- uses: "actions/checkout@v4"
23+
2324
- name: Set up Python ${{ matrix.python-version }}
2425
uses: "actions/setup-python@v5"
2526
with:

.github/workflows/release.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
jobs:
1010
deploy:
1111
runs-on: ubuntu-latest
12+
environment: release
13+
14+
permissions:
15+
# IMPORTANT: this permission is mandatory for trusted publishing
16+
id-token: write
1217

1318
steps:
1419
- uses: actions/checkout@v4
@@ -31,10 +36,8 @@ jobs:
3136
ref: "main"
3237
env:
3338
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
- name: Build and publish to PyPi
35-
env:
36-
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
39+
- name: Build package distribution
3740
run: |
38-
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
3941
poetry build
40-
poetry publish
42+
- name: Publish package distributions to PyPI
43+
uses: pypa/gh-action-pypi-publish@release/v1

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/python-tahoma-api.iml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)