Skip to content

Pin setuptools in [pipenvsetup] to avoid breaking change in 81+#189

Open
Copilot wants to merge 4 commits into
mainfrom
copilot/update-pipfile-setuptools-pin
Open

Pin setuptools in [pipenvsetup] to avoid breaking change in 81+#189
Copilot wants to merge 4 commits into
mainfrom
copilot/update-pipfile-setuptools-pin

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 27, 2026

setuptools 81+ breaks pipenv-setup. Pin to <=80.9.0 in the [pipenvsetup] section to prevent conflicts while maintaining compatibility with versions >=60.9.3.

Changes

  • Added setuptools version constraint ">=60.9.3, <=80.9.0" to [pipenvsetup] section
  • Added explanatory comment for the pin

The pin is isolated to [pipenvsetup] and does not affect the [dev-packages] setuptools dependency (>=72.1.0), which is intentional per the section's design for pipenv-setup-specific dependencies.

Original prompt

Update the Pipfile in this repository by adding the following comment and setuptools pin inside the existing [pipenvsetup] section:

setuptools > 81 has a breaking change that causes pipenv-setup to fail, so we need to pin it to a version < 80.9.0

setuptools=">=60.9.3, <=80.9.0"

Ensure the new lines are placed within the [pipenvsetup] section (alongside other pipenv-setup dependencies). Do not modify other sections. Open a PR with the change.

This pull request was created from Copilot chat.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Update Pipfile to pin setuptools version Pin setuptools in [pipenvsetup] to avoid breaking change in 81+ Feb 27, 2026
@imranq2 imranq2 marked this pull request as ready for review February 27, 2026 22:50
Copilot AI review requested due to automatic review settings February 27, 2026 22:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Pins setuptools specifically in the [pipenvsetup] Pipfile section to prevent pipenv-setup breakage with newer setuptools releases, while keeping the [dev-packages] setuptools constraint unchanged.

Changes:

  • Add a setuptools version constraint (>=60.9.3, <=80.9.0) under [pipenvsetup].
  • Add an inline comment explaining why setuptools is pinned for pipenv-setup.

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

Comment thread Pipfile Outdated
Co-authored-by: Copilot <[email protected]>
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.

3 participants