Skip to content

Commit e84e8d2

Browse files
chore: Clean up dependencies and update GitHub Actions (#57)
* chore: update GitHub Actions and dependencies to latest versions, remove semgrep workflow * chore: bump uvicorn version from 0.34 to 0.38
1 parent b07e244 commit e84e8d2

File tree

9 files changed

+458
-1034
lines changed

9 files changed

+458
-1034
lines changed

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ jobs:
3636
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.
3737

3838
- name: Checkout
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v5
4040

4141
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v3
42+
uses: github/codeql-action/init@v4
4343
with:
4444
languages: ${{ matrix.language }}
4545
queries: +security-and-quality
4646

4747
- name: Autobuild
48-
uses: github/codeql-action/autobuild@v3
48+
uses: github/codeql-action/autobuild@v4
4949

5050
- name: Perform CodeQL Analysis
51-
uses: github/codeql-action/analyze@v3
51+
uses: github/codeql-action/analyze@v4
5252
with:
5353
category: "/language:${{ matrix.language }}"

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Checkout code
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v5
3636
with:
3737
fetch-depth: 0
3838
fetch-tags: true
@@ -68,7 +68,7 @@ jobs:
6868
prerelease: ${{ steps.get_prerelease.outputs.prerelease }}
6969

7070
- name: Configure Python
71-
uses: actions/setup-python@v5
71+
uses: actions/setup-python@v6
7272
with:
7373
python-version: "3.12"
7474

.github/workflows/rl-scanner.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
scan-status: ${{ steps.rl-scan-conclusion.outcome }}
3232

3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v5
3535
with:
3636
fetch-depth: 0
3737
fetch-tags: true
3838

3939
- name: Configure Python
40-
uses: actions/setup-python@v5
40+
uses: actions/setup-python@v6
4141
with:
4242
python-version: ${{ inputs.python-version }}
4343

.github/workflows/semgrep.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/snyk.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
- if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'
3232
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.
3333

34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v5
3535
with:
3636
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3737

38-
- uses: snyk/actions/python@b98d498629f1c368650224d6d212bf7dfa89e4bf # pin@0.4.0
38+
- uses: snyk/actions/python@9adf32b1121593767fc3c057af55b55db032dc04 # pin@1.0.0
3939
env:
4040
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v3
1818

1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v6
2121
with:
2222
python-version: ${{ matrix.python-version }}
2323

poetry.lock

Lines changed: 435 additions & 962 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,18 @@ packages = [
1212

1313
[tool.poetry.dependencies]
1414
python = ">=3.9"
15-
auth0-server-python = ">=1.0.0b3"
15+
auth0-server-python = ">=1.0.0b5"
1616
fastapi = ">=0.115.11,<0.117.0"
17-
itsdangerous = "^2.2.0"
17+
pydantic = "^2.12.3"
1818

1919

2020
[tool.poetry.group.dev.dependencies]
2121
pytest = "^7.2"
2222
pytest-cov = "^4.0"
2323
pytest-asyncio = "^0.20.3"
2424
pytest-mock = "^3.14.0"
25-
uvicorn = "^0.34.0"
26-
twine = "^6.1.0"
27-
ruff = "^0.12.7"
25+
uvicorn = "^0.38.0"
26+
ruff = ">=0.12.7,<0.15.0"
2827

2928
[tool.pytest.ini_options]
3029
addopts = "--cov=auth0_fastapi --cov-report=term-missing --cov-report=html"

requirements.txt

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
# Direct dependencies
2-
auth0-server-python==1.0.0b4
3-
Authlib==1.6.5
4-
fastapi==0.116.1
5-
itsdangerous==2.2.0
6-
pydantic==2.11.7
7-
pydantic_core==2.33.2
8-
starlette==0.47.2
9-
typing_extensions==4.14.1
10-
uvicorn==0.34.3
11-
pytest==7.4.4
12-
pytest-asyncio==0.20.3
13-
pytest-cov==4.1.0
14-
pytest-mock==3.14.1
15-
ruff==0.12.7
16-
coverage==7.10.2
1+
auth0-server-python>=1.0.0b5
2+
fastapi>=0.116.1
3+
pydantic>=2.12.3
4+
uvicorn>=0.38.0
5+
pytest>=7.4.4
6+
pytest-asyncio>=0.20.3
7+
pytest-cov>=4.1.0
8+
pytest-mock>=3.14.1

0 commit comments

Comments
 (0)