mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 18:34:31 -06:00
Clears the 6 open Dependabot **urllib3** alerts (high/medium), all in `etc/scripts/shortlinkmigration/uv.lock`. The lock pinned `urllib3 1.26.20` (for py<3.10) and `2.6.3`, both vulnerable. The root cause was `requires-python = ">=3.8"` — the outlier among the `etc/scripts` tools (siblings are `>=3.10`/`>=3.12`), which forced urllib3 onto the 1.x line for old Python markers. Change: raise `requires-python` to `>=3.10` (this is a one-off internal migration script; the dev env is 3.12) and re-lock. urllib3 now resolves to **2.7.0** everywhere, and the dual py-marker entries for boto3/botocore/etc. collapse to single versions. Not touched: the **dompurify** alerts (transitive under monaco-editor@0.55.1, latest) — `npm audit` only offers a `--force` fix that downgrades monaco, so per policy those are left for an upstream monaco bump. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
19 lines
395 B
TOML
19 lines
395 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "shortlink-migration"
|
|
version = "0.1.0"
|
|
description = "Migrate Compiler Explorer shortlinks from local storage to AWS S3/DynamoDB"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"boto3>=1.26.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
migrate-shortlinks = "migrate_shortlinks:main"
|
|
|
|
[tool.uv]
|
|
package = true
|