Repository navigation
Fix Dependabot vulnerabilities - #4841
Merged
Merged
Conversation
Backend (uv): Django 5.2.18, Pillow 13, Wagtail 7.3.4, DRF 3.18.3, strawberry-graphql 0.327.2, certifi, urllib3, and transitive bumps for aiohttp, brotli, filelock, nltk, oauthlib, opentelemetry-api, pyasn1, pypdf, setuptools, werkzeug. tablib was pinned by django-import-export 3, so django-import-export moves to 4.x and admin classes use resource_classes. Custom admin (pnpm): Astro 5 -> 7 (drops @astrojs/tailwind, which caps at Astro 5; Tailwind 3 now runs through PostCSS), Tiptap 2 -> 3 with the consolidated extension packages, graphql-codegen 7, plus overrides for minimatch and @graphql-tools/utils that no in-range release patches. Badge service (pnpm): puppeteer 25 (drops extract-zip, which has no fix), lockfile regenerated with pnpm 12, overrides for glob and minimatch.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
This PR bumps dependencies across backend (Python),
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4841 +/- ##
=======================================
Coverage 92.41% 92.41%
=======================================
Files 360 360
Lines 10920 10920
Branches 946 946
=======================================
Hits 10092 10092
Misses 706 706
Partials 122 122 🚀 New features to boost your workflow:
|
pnpm 12 blocks dependency build scripts that are not listed in allowBuilds and, with strictDepBuilds on by default, fails the install with ERR_PNPM_IGNORED_BUILDS. puppeteer's postinstall downloads Chrome, which the badge service needs to render badges, so it is explicitly allowed.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Resolves the open Dependabot alerts (https://github.com/pythonitalia/pycon/security/dependabot) across the three affected manifests.
Backend (
backend/pyproject.toml,backend/uv.lock)tablibwas pinned to 3.5.0 by django-import-export 3.x, so django-import-export moves to 4.4.4 ([all]extra keeps the same export formats). The admin classes switch fromresource_classtoresource_classesas required by v4.Custom admin (
backend/custom_admin)@astrojs/tailwindonly supports Astro ≤5, so it is removed and Tailwind 3 now runs throughpostcss.config.cjswith the@tailwinddirectives insrc/tailwind.css(same output as the integration injected).compressHTML: truekeeps the previous HTML compression mode.@tiptap/extensions,@tiptap/extension-list,@tiptap/extension-table,Color/TextStylefrom@tiptap/extension-text-style). StarterKit now bundles Link and Underline, solink: falseis set to keep the custom link extension, andshouldRerenderOnTransaction: truepreserves the v2 toolbar behaviour.pnpm-workspace.yamlforminimatch(<11.0.1) and@graphql-tools/utils(<12.0.2): no in-range release of their dependents is patched. Both are drop-in (same CJS/ESM exports).Badge service (
badge-service)extract-zip(two alerts with no patched version).glob(→14.x) andminimatch(→11.x); archiver-utils and readdir-glob only useglob.syncandMinimatch, both still exported.allowBuilds: puppeteer: trueinpnpm-workspace.yaml: pnpm 12 blocks unreviewed dependency build scripts and fails the install withERR_PNPM_IGNORED_BUILDS; puppeteer's postinstall downloads Chrome, which the badge service needs.Verification
pnpm auditon both npm lockfiles: no known vulnerabilities.pip-auditon the exported uv lock: no known vulnerabilities.makemigrations --check: no changes.pnpm install --frozen-lockfile,pnpm codegenandpnpm buildin the node image: builds the same four pages; the CSS bundle contains the Tailwind preflight/utilities and Radix styles as before.pnpm install --frozen-lockfilewith pnpm 12.17.0 exits 0 and downloads Chrome 156 through puppeteer's postinstall.ToDo