Skip to content

Commit 110f4e7

Browse files
authored
chore: upgrade dependencies (#2173)
Signed-off-by: tdruez <tdruez@aboutcode.org>
1 parent 8c83686 commit 110f4e7

3 files changed

Lines changed: 364 additions & 302 deletions

File tree

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,16 @@ fix:
8181
@echo "-> Run Ruff linter"
8282
uvx ruff check --fix
8383

84+
outdated:
85+
@echo "-> Check for outdated packages (with 7 days cooldown)"
86+
uv tree --outdated --exclude-newer "7 days"
87+
@echo "-> Audit the project's dependencies for known vulnerabilities"
88+
uv audit
89+
90+
upgrade:
91+
# Update the versions in pyproject.toml
92+
uv lock
93+
8494
########################################################################################
8595
# Local venv commands (legacy)
8696
########################################################################################

pyproject.toml

Lines changed: 30 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,59 +34,66 @@ classifiers = [
3434

3535
dependencies = [
3636
"importlib-metadata==8.7.1",
37-
"setuptools==82.0.0",
37+
"setuptools==82.0.1",
3838
# Django related
39-
"Django==6.0.4",
39+
"Django==6.0.5",
4040
"django-environ==0.13.0",
4141
"django-crispy-forms==2.6",
4242
"crispy-bootstrap3==2024.1",
4343
"django-filter==25.2",
44-
"djangorestframework==3.16.1",
44+
"djangorestframework==3.17.1",
4545
"django-taggit==6.1.0",
4646
"django-htmx==1.27.0",
4747
# Database
48-
"psycopg[binary]==3.3.3",
48+
"psycopg[binary]==3.3.4",
4949
# wait_for_database Django management command
5050
"django-probes==1.8.0",
5151
# Task queue
52-
"rq==2.7.0",
53-
"django-rq==3.2.2",
54-
"redis==7.3.0",
52+
"rq==2.9.0",
53+
"django-rq==4.1.0",
54+
"redis==7.4.0",
5555
# WSGI server
56-
"gunicorn==25.1.0",
56+
"gunicorn==26.0.0",
57+
"packaging==26.2",
5758
# Docker
5859
"container-inspector==33.1.0",
5960
# ScanCode-toolkit
6061
"scancode-toolkit[packages]==32.5.0",
61-
"extractcode[full]==31.0.0",
62+
"extractcode[full]==31.1.0",
6263
"commoncode==32.4.2",
6364
"Beautifulsoup4[chardet]==4.14.3",
6465
"packageurl-python==0.17.6",
6566
# FetchCode
66-
"fetchcode==0.8.0",
67+
"fetchcode==0.8.2",
6768
"fetchcode-container==1.2.3.210512; sys_platform == 'linux'",
6869
# Inspectors
6970
"elf-inspector==0.0.3",
7071
"go-inspector==0.5.0",
7172
"rust-inspector==0.2.1",
7273
"binary-inspector==0.2.0",
73-
"python-inspector==0.15.0",
74+
"python-inspector==0.15.2",
7475
"source-inspector==0.7.1; sys_platform != 'darwin' and platform_machine != 'arm64'",
7576
"aboutcode-toolkit==11.1.1",
7677
# Utilities
7778
"XlsxWriter==3.2.9",
7879
"openpyxl==3.1.5",
7980
"requests==2.33.1",
80-
"GitPython==3.1.46",
81+
"charset-normalizer==3.4.7",
82+
"chardet==7.4.3",
83+
"urllib3==2.7.0",
84+
"idna==3.16",
85+
"GitPython==3.1.50",
86+
"lxml==6.1.1",
87+
"certifi==2026.5.20",
8188
# Profiling
8289
"pyinstrument==5.1.2",
8390
# CycloneDX
84-
"cyclonedx-python-lib==11.6.0",
91+
"cyclonedx-python-lib==11.7.0",
8592
"jsonschema==4.26.0",
8693
# MatchCode-toolkit
8794
"matchcode-toolkit==7.2.2",
8895
# Univers
89-
"univers==31.1.0",
96+
"univers==32.0.1",
9097
# Markdown
9198
"markdown-it-py==4.0.0",
9299
"bleach==6.3.0",
@@ -104,13 +111,13 @@ dependencies = [
104111
[project.optional-dependencies]
105112
dev = [
106113
# Validation
107-
"ruff==0.15.5",
114+
"ruff==0.15.14",
108115
"doc8==2.0.0",
109116
# Debug
110-
"django-debug-toolbar==6.2.0",
117+
"django-debug-toolbar==6.3.0",
111118
# Documentation
112119
"Sphinx==8.1.3",
113-
"sphinx-rtd-theme==3.0.2",
120+
"sphinx-rtd-theme==3.1.0",
114121
"sphinx-rtd-dark-mode==1.3.0",
115122
"sphinxcontrib-django==2.5",
116123
]
@@ -160,6 +167,12 @@ scan_single_package = "scanpipe.pipelines.scan_single_package:ScanSinglePackage"
160167
[tool.setuptools.packages.find]
161168
where = ["."]
162169

170+
[tool.uv]
171+
# Copy files instead of hardlinking, works across all filesystems
172+
link-mode = "copy"
173+
# Ignore package versions published in the last 7 days for safety
174+
exclude-newer = "7 days"
175+
163176
[tool.ruff]
164177
line-length = 88
165178
extend-exclude = ["migrations", "var"]

0 commit comments

Comments
 (0)