Skip to content

Commit

Permalink
ci: add Python 3.13 to workflows (bug 1932890) (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzeid authored Nov 22, 2024
1 parent 94762cc commit f237e82
Show file tree
Hide file tree
Showing 4 changed files with 648 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ workflows:
- test_3_10
- test_3_11
- test_3_12
- test_3_13
test-build-publish:
jobs:
- verify:
Expand All @@ -40,6 +41,10 @@ workflows:
<<: *tags-only-filter
requires:
- verify
- test_3_13:
<<: *tags-only-filter
requires:
- verify
- build-and-publish:
<<: *tags-only-filter
requires:
Expand All @@ -48,6 +53,7 @@ workflows:
- test_3_10
- test_3_11
- test_3_12
- test_3_13

jobs:
test_3_8: &test_template
Expand Down Expand Up @@ -94,6 +100,10 @@ jobs:
<<: *test_template
docker:
- image: cimg/python:3.12
test_3_13:
<<: *test_template
docker:
- image: cimg/python:3.13
verify:
docker:
- image: cimg/python:3.10
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ requirements:
docker-compose run generate-python3.10-requirements
docker-compose run generate-python3.11-requirements
docker-compose run generate-python3.12-requirements
docker-compose run generate-python3.13-requirements

.ONESHELL:
.PHONY: dev-env
Expand Down
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ services:
command: sh -c "cd /mots && pip install pip-tools && python -m piptools compile --resolver=backtracking requirements/base.in --generate-hashes -o requirements/python3.12.txt"
volumes:
- .:/mots
generate-python3.13-requirements:
image: python:3.13
command: sh -c "cd /mots && pip install pip-tools && python -m piptools compile --resolver=backtracking requirements/base.in --generate-hashes -o requirements/python3.13.txt"
volumes:
- .:/mots
Loading

0 comments on commit f237e82

Please sign in to comment.