Skip to content

Commit

Permalink
Bump Python to 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlul committed Aug 3, 2024
1 parent 0da732c commit 47769a6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
cache: pip
- run: pip install -r src/requirements.txt
- run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- run: pip install guarddog
- run: guarddog pypi verify src/requirements.txt --output-format sarif --exclude-rules repository_integrity_mismatch > guarddog.sarif
- uses: github/codeql-action/upload-sarif@v3
Expand All @@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- run: pip install ruff
- run: ruff format --check src
- run: ruff check --output-format=github src
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
cache: pip
- run: pip install -r src/requirements.txt
# https://docs.github.com/en/rest/actions/workflow-runs#list-workflow-runs-for-a-repository
Expand Down
6 changes: 1 addition & 5 deletions src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile
Expand All @@ -10,8 +10,6 @@ certifi==2024.7.4
# via
# httpcore
# httpx
exceptiongroup==1.2.1
# via anyio
h11==0.14.0
# via httpcore
h2==4.1.0
Expand All @@ -36,5 +34,3 @@ sniffio==1.3.1
# via
# anyio
# httpx
typing-extensions==4.12.0
# via anyio

0 comments on commit 47769a6

Please sign in to comment.