Skip to content

Commit 8c863d6

Browse files
committed
chore: upgrade dependencies
Signed-off-by: tdruez <tdruez@aboutcode.org>
1 parent 7424073 commit 8c863d6

3 files changed

Lines changed: 238 additions & 204 deletions

File tree

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,16 @@ fix:
7777
@echo "-> Run Ruff linter"
7878
uvx ruff check --fix
7979

80+
outdated:
81+
@echo "-> Check for outdated packages (with 7 days cooldown)"
82+
uv tree --outdated --exclude-newer "7 days"
83+
@echo "-> Audit the project's dependencies for known vulnerabilities"
84+
uv audit
85+
86+
upgrade:
87+
# Update the versions in pyproject.toml
88+
uv lock
89+
8090
########################################################################################
8191
# Local venv commands (legacy)
8292
########################################################################################

pyproject.toml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,31 @@ 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",
5757
# Docker
5858
"container-inspector==33.1.0",
5959
# ScanCode-toolkit
6060
"scancode-toolkit[packages]==32.5.0",
61-
"extractcode[full]==31.0.0",
61+
"extractcode[full]==31.1.0",
6262
"commoncode==32.4.2",
6363
"Beautifulsoup4[chardet]==4.14.3",
6464
"packageurl-python==0.17.6",
@@ -77,7 +77,10 @@ dependencies = [
7777
"XlsxWriter==3.2.9",
7878
"openpyxl==3.1.5",
7979
"requests==2.33.1",
80-
"GitPython==3.1.46",
80+
"urllib3==2.7.0",
81+
"idna==3.16",
82+
"GitPython==3.1.50",
83+
"lxml==6.1.1",
8184
# Profiling
8285
"pyinstrument==5.1.2",
8386
# CycloneDX
@@ -104,10 +107,10 @@ dependencies = [
104107
[project.optional-dependencies]
105108
dev = [
106109
# Validation
107-
"ruff==0.15.5",
110+
"ruff==0.15.14",
108111
"doc8==2.0.0",
109112
# Debug
110-
"django-debug-toolbar==6.2.0",
113+
"django-debug-toolbar==6.3.0",
111114
# Documentation
112115
"Sphinx==8.1.3",
113116
"sphinx-rtd-theme==3.0.2",
@@ -160,6 +163,12 @@ scan_single_package = "scanpipe.pipelines.scan_single_package:ScanSinglePackage"
160163
[tool.setuptools.packages.find]
161164
where = ["."]
162165

166+
[tool.uv]
167+
# Copy files instead of hardlinking, works across all filesystems
168+
link-mode = "copy"
169+
# Ignore package versions published in the last 7 days for safety
170+
exclude-newer = "7 days"
171+
163172
[tool.ruff]
164173
line-length = 88
165174
extend-exclude = ["migrations", "var"]

0 commit comments

Comments
 (0)