Skip to content

Commit

Permalink
Bump Python version to 3.12 (#181)
Browse files Browse the repository at this point in the history
3.12 has performance improvements that hopefullly will benefit us.

Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
  • Loading branch information
ericwb authored Jan 3, 2024
1 parent 1bec0dc commit ba51dd0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/unit-test.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.11"]
python-version: ["3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -47,7 +47,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -68,7 +68,7 @@ jobs:
strategy:
matrix:
python-version: [
["3.11", "311"]
["3.12", "312"]
]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload-asset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Install dependencies
run: pip install wheel
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ classifier =
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Security
project_urls =
Release notes = https://github.com/securesauce/precli/releases
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


setuptools.setup(
python_requires=">=3.11", setup_requires=["pbr>=2.0.0"], pbr=True
python_requires=">=3.12", setup_requires=["pbr>=2.0.0"], pbr=True
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[tox]
minversion = 3.2.0
envlist = py311
envlist = py312

[testenv]
usedevelop = True
Expand Down

0 comments on commit ba51dd0

Please sign in to comment.