Skip to content

build(deps): bump setuptools to 83.0.0 and pyasn1 to 0.6.4 - #3401

Merged
deacon-mp merged 1 commit into
masterfrom
build/bump-setuptools-83
Jul 23, 2026
Merged

build(deps): bump setuptools to 83.0.0 and pyasn1 to 0.6.4#3401
deacon-mp merged 1 commit into
masterfrom
build/bump-setuptools-83

Conversation

@deacon-mp

Copy link
Copy Markdown
Contributor

Summary

Fixes the failing Security Checks / build (3.13, safety) gate (tox safety env → pip-audit -r requirements.txt), which currently blocks every open PR:

  • setuptools 78.1.1 → 83.0.0 — PYSEC-2026-3447 / CVE-2026-59890 (GHSA-h35f-9h28-mq5c): FileList applies MANIFEST.in exclude/prune directives without Unicode normalization, so on macOS APFS/HFS+ an NFD filename can bypass an NFC exclusion rule and be packed into an sdist. Fixed in 83.0.0.
  • pyasn1 0.6.3 → 0.6.4 — PYSEC-2026-3455 / PYSEC-2026-3456 / PYSEC-2026-3457 (published after this repo's last CI runs): BER/CER/DER decoder resource-exhaustion issues. Fixed in 0.6.4. (pyasn1 is consumed via ldap3.)

Bumping setuptools alone still fails the gate — the pyasn1 advisories landed after 2026-07-20, so both bumps are required for a green run.

Verification

  • pip-audit -r requirements.txt (pip-audit 2.10.1, same as CI) → exit 0, "No known vulnerabilities found"
  • setuptools 83.0.0 requires_python >=3.10 and pyasn1 0.6.4 >=3.8 — both cover the supported 3.10–3.13 matrix
  • No pkg_resources / setuptools / direct pyasn1 imports in first-party code; requirements.txt is the only place either version is stated
  • Fresh-venv install of the full requirements set + test suite run (details in review artifacts)

@deacon-mp
deacon-mp requested a review from Copilot July 23, 2026 19:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@deacon-mp
deacon-mp requested a review from clenk July 23, 2026 19:01
Fixes the failing Security Checks safety gate (pip-audit):
- setuptools 78.1.1 -> 83.0.0: PYSEC-2026-3447 / CVE-2026-59890
- pyasn1 0.6.3 -> 0.6.4: PYSEC-2026-3455 / PYSEC-2026-3456 / PYSEC-2026-3457
@deacon-mp
deacon-mp force-pushed the build/bump-setuptools-83 branch from 769e91a to 13e154f Compare July 23, 2026 19:03
@deacon-mp
deacon-mp merged commit e9d746f into master Jul 23, 2026
9 checks passed
@deacon-mp
deacon-mp deleted the build/bump-setuptools-83 branch July 23, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants