Skip to content

Fix release workflow: add setuptools dependency#6

Closed
richdawe-cio wants to merge 1 commit into
mainfrom
cdp-6173-fix-release-wf
Closed

Fix release workflow: add setuptools dependency#6
richdawe-cio wants to merge 1 commit into
mainfrom
cdp-6173-fix-release-wf

Conversation

@richdawe-cio

@richdawe-cio richdawe-cio commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Python 3.14 no longer bundles setuptools, causing the release workflow to fail with ModuleNotFoundError: No module named 'setuptools' when running python setup.py sdist bdist_wheel
  • Adds setuptools to the pip install step in the release workflow

Test plan

  • Re-run the release workflow and confirm it passes the Publish step

🤖 Generated with Claude Code


Note

Low Risk
Single-line CI dependency change with no application or security impact.

Overview
The release workflow’s Install dependencies step now installs setuptools alongside bump2version, twine, and wheel.

That unblocks the Publish step (python setup.py sdist bdist_wheel) on newer Python versions (e.g. 3.14) where setuptools is no longer bundled, which was causing ModuleNotFoundError: No module named 'setuptools'.

Reviewed by Cursor Bugbot for commit 703d7b6. Bugbot is set up for automated code reviews on this repo. Configure here.

Python 3.14 no longer bundles setuptools, causing the release workflow
to fail with "No module named 'setuptools'" when running setup.py.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@richdawe-cio

Copy link
Copy Markdown
Collaborator Author

The plan is to replace the release workflow with something similar to the publish workflow in customerio/customerio-python#120 .

@richdawe-cio richdawe-cio deleted the cdp-6173-fix-release-wf branch June 25, 2026 17:33
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.

1 participant