Skip to content

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Apr 20, 2025

According to the docs, pip no longer relies on this feature and that notice has been there for over two years.

Removal of this feature is required to eliminate reliance on the develop command, which is required to eliminate reliance on the easy_install command (#917).

Summary of changes

Closes

Pull Request Checklist

@jaraco
Copy link
Member Author

jaraco commented Apr 20, 2025

My rationale for rolling this out prior to #2908 is that I'd like to ensure that it doesn't cause too much disruption and need to be rolled back.

@jaraco jaraco merged commit b137521 into main Apr 20, 2025
36 of 44 checks passed
@jaraco jaraco deleted the debt/917/remove-legacy-editable branch April 20, 2025 15:28
CheckmkCI pushed a commit to Checkmk/checkmk that referenced this pull request Apr 23, 2025
Tackles pylint issues in form of
    No name 'SiteId' in module 'livestatus'

and

mypy issues in form of
     error: Cannot find implementation or library stub for module named "cmk.agent_based.v2"

This change restricts setuptools to v<79 to avoid new behavior
regarding legacy "editable installs"
(see pypa/setuptools#4953) which resulted in
mypy and pylint not being able to find the external packages in our
packages / folder.

Possible permanent fix, see https://github.com/pypa/setuptools/blob/main/docs/userguide/development_mode.rst#legacy-behavior

CMK-23122

Change-Id: I45dc35de4ed9b824a2fef8fe9076d8d72ce7b60e
dwpaley added a commit to cctbx/cctbx_project that referenced this pull request May 1, 2025
Legacy-editable mode was removed in pypa/setuptools#4953, this env
variable no longer does anything. We accommodate the new behavior in
cctbx/dxtbx#807 and dials/dials#2906.
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