Skip to content

Commit

Permalink
Test with python 3.12 and 3.13 and use 3.13 for the other github acti…
Browse files Browse the repository at this point in the history
…ons (#205)

* upgrade python dependency to 3.13

    * .devcontainer/devcontainer.json:
    * .github/workflows/automatic_generation.yml:
    * .github/workflows/generate_package.yml:
    * .github/workflows/make_release.yml:
    * .github/workflows/publish.yml:
    * .github/workflows/pytest.yml:
    * setup.py:

* Also test with 3.12

    * .github/workflows/automatic_generation.yml:
    * .github/workflows/pytest.yml:
    * setup.py:
  • Loading branch information
jwillemsen authored Nov 29, 2024
1 parent 161773e commit b5d8ae2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"image": "mcr.microsoft.com/devcontainers/python:3.12",
"image": "mcr.microsoft.com/devcontainers/python:3.13",
"postCreateCommand": "pip3 install -r requirements_generate.txt"
}
6 changes: 3 additions & 3 deletions .github/workflows/automatic_generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: install dependencies
run: pip install -r requirements_generate.txt
- name: Install phacc for current versions
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
if: needs.generate_package.outputs.need_to_release == 'true'
strategy:
matrix:
python-version: ['3.12']
python-version: ['3.12', '3.13']
steps:
- name: checkout repo content
uses: actions/checkout@v4
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: install dependencies
run: pip install -r requirements_generate.txt
- name: Install phacc for current versions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/make_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
python-version: ["3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit b5d8ae2

Please sign in to comment.