Skip to content

Pin setuptools <81 to preserve pkg_resources for docxcompose#821

Closed
Copilot wants to merge 1 commit intohotfix/fix-setuptoolsfrom
copilot/sub-pr-820
Closed

Pin setuptools <81 to preserve pkg_resources for docxcompose#821
Copilot wants to merge 1 commit intohotfix/fix-setuptoolsfrom
copilot/sub-pr-820

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

Requirements for Contributing a Bug Fix

Identify the Bug

Addresses feedback on PR #820 regarding setuptools version constraint.

Description of the Change

Added explicit setuptools<81 constraint to requirements/base.txt. The docxcompose dependency requires pkg_resources, which was removed in setuptools v81+.

Alternate Designs

Could pin to a specific setuptools version (e.g., setuptools==80.6.1), but using <81 allows patch updates while preventing the breaking v81+ versions.

Possible Drawbacks

Prevents use of setuptools v81+ features. This is acceptable as pkg_resources compatibility is required for core reporting functionality.

Verification Process

Verified setuptools<81 constraint is present in requirements/base.txt with appropriate inline comment explaining the version ceiling.

Release Notes

Not applicable - internal dependency constraint for pkg_resources compatibility.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI mentioned this pull request Feb 9, 2026
Copilot AI changed the title [WIP] Update setuptools version based on feedback Pin setuptools <81 to preserve pkg_resources for docxcompose Feb 9, 2026
Copilot AI requested a review from chrismaddalena February 9, 2026 21:26
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