Skip to content

Commit 2aded84

Browse files
authored
Merge branch 'main' into feature/karpathy-lab-init
2 parents 3878de9 + 28c0939 commit 2aded84

File tree

9 files changed

+69
-26
lines changed

9 files changed

+69
-26
lines changed

.github/workflows/ci-cd-fixed.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
runs-on: ubuntu-latest
3838
if: github.event.inputs.skip_tests != 'true'
3939
steps:
40-
- uses: actions/checkout@v4
41-
- uses: actions/setup-python@v5
40+
- uses: actions/checkout@v6
41+
- uses: actions/setup-python@v6
4242
with:
4343
python-version: '3.11'
4444
- run: pip install -r requirements.txt
@@ -49,8 +49,8 @@ jobs:
4949
runs-on: ubuntu-latest
5050
if: github.event.inputs.skip_tests != 'true'
5151
steps:
52-
- uses: actions/checkout@v4
53-
- uses: actions/setup-python@v5
52+
- uses: actions/checkout@v6
53+
- uses: actions/setup-python@v6
5454
with:
5555
python-version: '3.11'
5656
- run: pip install bandit safety -r requirements.txt
@@ -63,13 +63,13 @@ jobs:
6363
runs-on: ubuntu-latest
6464
if: github.event.inputs.force_deploy == 'true'
6565
steps:
66-
- uses: actions/checkout@v4
67-
- uses: actions/setup-python@v5
66+
- uses: actions/checkout@v6
67+
- uses: actions/setup-python@v6
6868
with:
6969
python-version: '3.11'
7070

7171
- name: Configure AWS (OIDC)
72-
uses: aws-actions/configure-aws-credentials@v4
72+
uses: aws-actions/configure-aws-credentials@v5
7373
with:
7474
role-to-assume: ${{ env.AWS_ROLE_ARN }}
7575
aws-region: ${{ env.AWS_REGION }}

.github/workflows/ci-cd.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
env:
4343
CI: "true"
4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v6
4646

47-
- uses: actions/setup-python@v5
47+
- uses: actions/setup-python@v6
4848
with:
4949
python-version: "3.11"
5050

@@ -56,17 +56,17 @@ jobs:
5656
run: |
5757
pytest --cov=app --cov-report=xml --cov-report=html
5858
59-
- uses: codecov/codecov-action@v4
59+
- uses: codecov/codecov-action@v5
6060
if: always()
6161
with:
6262
files: ./coverage.xml
6363

6464
security:
6565
runs-on: ubuntu-latest
6666
steps:
67-
- uses: actions/checkout@v4
67+
- uses: actions/checkout@v6
6868

69-
- uses: actions/setup-python@v5
69+
- uses: actions/setup-python@v6
7070
with:
7171
python-version: "3.11"
7272

@@ -104,9 +104,9 @@ jobs:
104104
runs-on: ubuntu-latest
105105
if: github.event_name == 'workflow_dispatch' && github.event.inputs.deploy_to_aws == 'true'
106106
steps:
107-
- uses: actions/checkout@v4
107+
- uses: actions/checkout@v6
108108

109-
- uses: aws-actions/configure-aws-credentials@v4
109+
- uses: aws-actions/configure-aws-credentials@v5
110110
with:
111111
role-to-assume: ${{ env.AWS_ROLE_ARN }}
112112
aws-region: ${{ env.AWS_REGION }}

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
steps:
3030
- name: Checkout repository
3131
uses: actions/checkout@v4
32+
uses: actions/checkout@v6
3233

3334
- name: Initialize CodeQL
3435
uses: github/codeql-action/init@v4

.github/workflows/docker-security.yml

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

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v6
2222

2323
- name: Run Trivy vulnerability scanner (fs)
2424
uses: aquasecurity/[email protected]
@@ -29,6 +29,6 @@ jobs:
2929
severity: "CRITICAL,HIGH"
3030

3131
- name: Upload SARIF results to GitHub Security
32-
uses: github/codeql-action/upload-sarif@v3
32+
uses: github/codeql-action/upload-sarif@v4
3333
with:
3434
sarif_file: trivy-results.sarif

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NeuroBank FastAPI Toolkit - Production Dockerfile optimized for Railway
2-
FROM python:3.11-slim
2+
FROM python:3.14-slim
33

44
# Establecer el directorio de trabajo
55
WORKDIR /app

api/requirements.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
fastapi==0.116.1
22
starlette==0.37.2
3+
starlette==0.47.2
34
uvicorn[standard]==0.38.0
45
uvloop==0.21.0
56
pydantic==2.7.0
7+
pydantic-settings==2.2.1
8+
9+
python-dotenv==1.0.1
10+
python-multipart==0.0.20
11+
12+
loguru==0.7.3
13+
python-json-logger==2.0.7
14+
15+
jinja2==3.1.6
16+
requests==2.32.4
17+
httpx==0.27.0
18+
19+
pytest==8.2.0
20+
pytest-asyncio==0.23.6
21+
pytest-cov==5.0.0
22+
23+
watchtower==3.0.0
24+
aws-xray-sdk==2.13.0
25+
mangum==0.17.0
26+

requirements-dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pytest-cov==5.0.0
88
pytest-mock==3.14.0
99
pytest-xdist==3.6.0 # Para tests paralelos
1010
pytest-timeout==2.3.1 # Timeout para tests
11-
pytest-env==1.1.3 # Variables de entorno para tests
11+
pytest-env==1.2.0 # Variables de entorno para tests
1212

1313
# HTTP Testing
1414
httpx==0.27.0
@@ -20,7 +20,7 @@ safety==3.2.3
2020
semgrep==1.75.0 # Additional security scanner
2121

2222
# Code Quality
23-
black==24.4.2 # Code formatter
23+
black==25.12.0 # Code formatter
2424
isort==5.13.2 # Import sorter
2525
flake8==7.0.0 # Linter
2626
mypy==1.10.0 # Type checker

requirements-for-safety.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ dparse==0.6.4
1818
email_validator==2.2.0
1919
fastapi==0.115.6
2020
fastapi-cli==0.0.8
21-
filelock==3.16.1
21+
filelock==3.20.0
2222
h11==0.16.0
2323
httpcore==1.0.9
2424
httptools==0.6.4
2525
httpx==0.27.0
2626
idna==3.10
27-
iniconfig==2.1.0
27+
iniconfig==2.3.0
2828
Jinja2==3.1.6
2929
jmespath==1.0.1
3030
joblib==1.5.1
3131
jsonpatch==1.33
3232
jsonpointer==3.0.0
3333
jsonschema==4.25.0
3434
jsonschema-specifications==2025.4.1
35-
loguru==0.7.2
35+
loguru==0.7.3
3636
mangum==0.19.0
3737
markdown-it-py==3.0.0
3838
MarkupSafe==3.0.2
@@ -45,23 +45,23 @@ orjson==3.11.0
4545
packaging==25.0
4646
pbr==6.1.1
4747
pluggy==1.6.0
48-
psutil==6.1.1
48+
psutil==7.1.3
4949
pycparser==2.22
5050
pydantic==2.7.0
51-
pydantic_core==2.18.1
51+
pydantic_core==2.41.5
5252
Pygments==2.19.2
5353
pytest==8.2.0
5454
pytest-asyncio==1.1.0
5555
python-dateutil==2.9.0.post0
5656
python-dotenv==1.0.1
57-
python-multipart==0.0.18
57+
python-multipart==0.0.20
5858
PyYAML==6.0.2
5959
referencing==0.36.2
6060
regex==2024.11.6
6161
requests==2.32.4
6262
rich==14.0.0
6363
rich-toolkit==0.14.8
64-
rpds-py==0.26.0
64+
rpds-py==0.30.0
6565
ruamel.yaml==0.18.14
6666
ruamel.yaml.clib==0.2.12
6767
s3transfer==0.13.1

requirements.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
fastapi==0.116.1
22
starlette==0.37.2
3+
starlette==0.47.2
34
uvicorn[standard]==0.38.0
45
uvloop==0.21.0
56
pydantic==2.7.0
7+
pydantic-settings==2.2.1
8+
9+
python-dotenv==1.0.1
10+
python-multipart==0.0.20
11+
12+
loguru==0.7.3
13+
python-json-logger==2.0.7
14+
15+
jinja2==3.1.6
16+
requests==2.32.4
17+
httpx==0.27.0
18+
19+
pytest==8.2.0
20+
pytest-asyncio==0.23.6
21+
pytest-cov==5.0.0
22+
23+
watchtower==3.0.0
24+
aws-xray-sdk==2.13.0
25+
mangum==0.17.0
26+

0 commit comments

Comments
 (0)