Skip to content

Commit

Permalink
chore: support python 3.12 (#293)
Browse files Browse the repository at this point in the history
* Add Python 3.12 to poetry files

* Add Python 3.12 to tests

* Update README

* Update packages
  • Loading branch information
angelofenoglio authored Nov 4, 2024
1 parent 4f77c9d commit e92f56e
Show file tree
Hide file tree
Showing 5 changed files with 273 additions and 302 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
max-parallel: 1
matrix:
python-version: ['3.9.15', '3.10.8', '3.11.8']
python-version: ['3.9.15', '3.10.8', '3.11.8', '3.12.7']
toolbox-image-tag: ['1.3.5-0.2.0', '1.5.0-0.2.0', '1.6.0-0.2.0']
steps:
- name: Checkout base branch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Leverage CLI explicitly supports the following Python versions:
- Python 3.9.x
- Python 3.10.x
- Python 3.11.x
- Python 3.12.x

These versions are not only supported but are also the only versions used in our CI/CD pipelines to ensure compatibility
and performance. This rigorous testing helps prevent compatibility issues and ensures that the Leverage CLI performs as
Expand Down Expand Up @@ -109,6 +110,7 @@ Once pyenv is installed, you can install any supported Python version by followi
pyenv install 3.9.7
pyenv install 3.10.1
pyenv install 3.11.8
pyenv install 3.12.7
```

4. Create a virtual environment for the leverage project:
Expand Down
Loading

0 comments on commit e92f56e

Please sign in to comment.