Skip to content

Commit a91af0d

Browse files
committed
Python 3.13
1 parent ac801a5 commit a91af0d

File tree

6 files changed

+461
-297
lines changed

6 files changed

+461
-297
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12
1+
FROM python:3.13
22

33
RUN apt-get remove -yq docker.io docker-doc docker-compose podman-docker containerd runc 2>&1 || true
44

.github/workflows/ci.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ jobs:
175175
- name: Set up Python
176176
uses: actions/setup-python@v5
177177
with:
178-
python-version: "3.12"
178+
python-version: "3.13"
179179

180180
- name: "Setup Python environment"
181181
run: |
182182
pipx install -f poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
183183
poetry config virtualenvs.create true --local
184-
poetry env use 3.12
184+
poetry env use 3.13
185185
186186
- name: Compare package versions
187187
run: |
@@ -285,7 +285,7 @@ jobs:
285285
- name: Set up Python
286286
uses: actions/setup-python@v5
287287
with:
288-
python-version: '3.12'
288+
python-version: '3.13'
289289
- name: "Setup git credentials"
290290
run: "git config --global user.name 'Infrahub' && \
291291
git config --global user.email '[email protected]' && \
@@ -295,7 +295,7 @@ jobs:
295295
- name: "Setup Python environment"
296296
run: |
297297
poetry config virtualenvs.create true --local
298-
poetry env use 3.12
298+
poetry env use 3.13
299299
- name: "Install dependencies"
300300
run: "poetry install --no-interaction --no-ansi"
301301
- name: "Unit Tests"
@@ -338,7 +338,7 @@ jobs:
338338
- name: Set up Python
339339
uses: actions/setup-python@v5
340340
with:
341-
python-version: '3.12'
341+
python-version: '3.13'
342342
- name: "Setup git credentials"
343343
run: "git config --global user.name 'Infrahub' && \
344344
git config --global user.email '[email protected]' && \
@@ -348,7 +348,7 @@ jobs:
348348
- name: "Setup Python environment"
349349
run: |
350350
poetry config virtualenvs.create true --local
351-
poetry env use 3.12
351+
poetry env use 3.13
352352
- name: "Install dependencies"
353353
run: "poetry install --no-interaction --no-ansi"
354354
- name: "Mypy Tests"
@@ -384,7 +384,7 @@ jobs:
384384
- name: Set up Python
385385
uses: actions/setup-python@v5
386386
with:
387-
python-version: '3.12'
387+
python-version: '3.13'
388388
- name: "Setup git credentials"
389389
run: "git config --global user.name 'Infrahub' && \
390390
git config --global user.email '[email protected]' && \
@@ -394,7 +394,7 @@ jobs:
394394
- name: "Setup Python environment"
395395
run: |
396396
poetry config virtualenvs.create true --local
397-
poetry env use 3.12
397+
poetry env use 3.13
398398
- name: "Install dependencies"
399399
run: "poetry install --no-interaction --no-ansi"
400400
- name: "Mypy Tests"
@@ -433,7 +433,7 @@ jobs:
433433
- name: Set up Python
434434
uses: actions/setup-python@v5
435435
with:
436-
python-version: '3.12'
436+
python-version: '3.13'
437437
- name: Install tini
438438
run: "apt-get update && apt-get install -y tini"
439439
- name: "Setup git credentials"
@@ -456,7 +456,7 @@ jobs:
456456
- name: "Setup Python environment"
457457
run: |
458458
poetry config virtualenvs.create true --local
459-
poetry env use 3.12
459+
poetry env use 3.13
460460
- name: "Install dependencies"
461461
run: "poetry install --no-interaction --no-ansi"
462462
- name: "Run tests"
@@ -500,7 +500,7 @@ jobs:
500500
# - name: Set up Python
501501
# uses: actions/setup-python@v5
502502
# with:
503-
# python-version: '3.12'
503+
# python-version: '3.13'
504504
# - name: "Setup git credentials"
505505
# run: "git config --global user.name 'Infrahub' && \
506506
# git config --global user.email '[email protected]' && \
@@ -510,7 +510,7 @@ jobs:
510510
# - name: "Setup Python environment"
511511
# run: |
512512
# poetry config virtualenvs.create true --local
513-
# poetry env use 3.12
513+
# poetry env use 3.13
514514
# - name: "Install dependencies"
515515
# run: "poetry install --no-interaction --no-ansi"
516516
# - name: "Unit Tests"
@@ -533,12 +533,12 @@ jobs:
533533
- name: Set up Python
534534
uses: actions/setup-python@v5
535535
with:
536-
python-version: 3.12
536+
python-version: 3.13
537537
- name: "Setup environment"
538538
run: |
539539
pipx install -f poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
540540
poetry config virtualenvs.create true --local
541-
poetry env use 3.12
541+
poetry env use 3.13
542542
pip install invoke toml
543543
- name: "Install Package"
544544
run: "poetry install"
@@ -625,7 +625,7 @@ jobs:
625625
- name: Set up Python
626626
uses: actions/setup-python@v5
627627
with:
628-
python-version: 3.12
628+
python-version: 3.13
629629
- name: "Install dependencies"
630630
run: npm install
631631
- name: "Setup Python environment"
@@ -650,12 +650,12 @@ jobs:
650650
- name: Set up Python
651651
uses: actions/setup-python@v5
652652
with:
653-
python-version: "3.12"
653+
python-version: "3.13"
654654
- name: "Setup Python environment"
655655
run: |
656656
pipx install -f poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
657657
poetry config virtualenvs.create true --local
658-
poetry env use 3.12
658+
poetry env use 3.13
659659
- name: "Install dependencies"
660660
run: "poetry install --no-interaction --no-ansi"
661661
- name: "Setup environment"
@@ -765,7 +765,7 @@ jobs:
765765
- name: Set up Python
766766
uses: actions/setup-python@v5
767767
with:
768-
python-version: 3.12
768+
python-version: 3.13
769769

770770
- name: Install Invoke
771771
run: pip install invoke toml
@@ -936,7 +936,7 @@ jobs:
936936
- name: Set up Python
937937
uses: actions/setup-python@v5
938938
with:
939-
python-version: "3.12"
939+
python-version: "3.13"
940940

941941
- name: Install Invoke
942942
run: |
@@ -1026,7 +1026,7 @@ jobs:
10261026
- name: Set up Python
10271027
uses: actions/setup-python@v5
10281028
with:
1029-
python-version: '3.12'
1029+
python-version: '3.13'
10301030
- name: "Setup git credentials"
10311031
run: "git config --global user.name 'Infrahub' && \
10321032
git config --global user.email '[email protected]' && \
@@ -1036,7 +1036,7 @@ jobs:
10361036
- name: "Setup Python environment"
10371037
run: |
10381038
poetry config virtualenvs.create true --local
1039-
poetry env use 3.12
1039+
poetry env use 3.13
10401040
- name: "Install dependencies"
10411041
run: "poetry install --no-interaction --no-ansi"
10421042
- name: Update PATH

development/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ****************************************************************
22
# STAGE : Base Python Image
33
# ****************************************************************
4-
ARG PYTHON_VER=3.12
4+
ARG PYTHON_VER=3.13
55
ARG POETRY_VER
66
FROM docker.io/python:${PYTHON_VER}-slim AS base
77

0 commit comments

Comments
 (0)