Skip to content

Security updates: declare requests>=2.32.4, fix publish workflow (v2.0.5) - #22

Open
guusbeckett wants to merge 2 commits into
masterfrom
security-updates
Open

guusbeckett wants to merge 2 commits into
masterfrom
security-updates

Conversation

@guusbeckett

Copy link
Copy Markdown
Contributor

Security updates (v2.0.5)

  • Declare requests>=2.32.4 in install_requires. It was imported but never declared, so nothing kept users off versions affected by CVE-2024-35195 and CVE-2024-47081.
  • python_requires >=3.6 → >=3.8 (required by requests 2.32.4).
  • Publish workflows: actions/upload-artifact/download-artifact v3 → v4. v3 is retired, so publishing on release would have failed.

Verified: the wheel builds, installs and imports, and its metadata shows Requires-Dist: requests>=2.32.4.

Not changed: requests.post in text_client.py has no timeout, so a hung connection blocks forever. Worth a follow-up.

🤖 Generated with Claude Code

- add install_requires requests>=2.32.4 (CVE-2024-35195, CVE-2024-47081)
- python_requires >=3.8 (required by requests 2.32.4)
- upload/download-artifact v3 -> v4 (v3 is retired, publish would fail)
- version 2.0.5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The publish jobs had no 'needs: build', so they ran in parallel with the
build and failed with 'Artifact not found'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch had an error being deployed

1 failed (outdated) deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants