Skip to content

Commit 47339b4

Browse files
committed
chore(deps): upgrade python dependencies for security reasons
- Updated Filelock - Updated Marshmallow - Updated python-multiopart - Updated urllib3 - Updated wheel
1 parent 7ca3f4f commit 47339b4

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

requirements.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dparse==0.6.4
1616
email_validator==2.2.0
1717
fastapi==0.120.2
1818
fastapi-cli==0.0.8
19-
filelock==3.16.1
19+
filelock==3.20.3
2020
greenlet==3.2.4
2121
gunicorn==23.0.0
2222
h11==0.16.0
@@ -31,7 +31,7 @@ joblib==1.5.1
3131
Mako==1.3.10
3232
markdown-it-py==4.0.0
3333
MarkupSafe==3.0.2
34-
marshmallow==4.0.0
34+
marshmallow==4.2.1
3535
mdurl==0.1.2
3636
nltk==3.9.1
3737
orjson==3.11.2
@@ -49,16 +49,14 @@ Pygments==2.19.2
4949
PyJWT==2.10.1
5050
pytest==8.4.1
5151
python-dotenv==1.1.1
52-
python-multipart==0.0.20
52+
python-multipart==0.0.22
5353
PyYAML==6.0.2
5454
regex==2025.7.34
5555
requests==2.32.5
5656
rich==14.1.0
5757
rich-toolkit==0.15.0
5858
ruamel.yaml==0.18.15
5959
ruamel.yaml.clib==0.2.12
60-
safety==3.6.0
61-
safety-schemas==0.0.14
6260
setuptools==80.9.0
6361
shellingham==1.5.4
6462
sniffio==1.3.1
@@ -72,9 +70,9 @@ typer==0.16.1
7270
typing-inspection==0.4.1
7371
typing_extensions==4.15.0
7472
ujson==5.11.0
75-
urllib3==2.6.2
73+
urllib3==2.6.3
7674
uvicorn==0.35.0
7775
watchfiles==1.1.0
7876
webencodings==0.5.1
7977
websockets==15.0.1
80-
wheel==0.45.1
78+
wheel==0.46.3

tests/test_owasp_top_10_security.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,6 @@ def test_xss_in_vote_creation(client: TestClient, test_user):
206206
"detail"][0]["msg"]
207207

208208

209-
def test_no_vulnerable_components():
210-
211-
result = subprocess.run(['safety', 'check', '--full-report',
212-
'--ignore', '39645'], capture_output=True, text=True)
213-
214-
assert result.returncode == 0, f"Vulnerabilities found in dependencies: {result.stdout}"
215-
216-
217209
def test_vote_logging(client: TestClient, test_user, test_posts):
218210
payload = {
219211
"post_id": test_posts[0].id,

0 commit comments

Comments
 (0)