-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate setup.py install
#8659
Comments
That is a great way to ensure the issue doesn't immediately pop up on us. I'd agree that's our first step, though we also don't want to linger around with the pinned dependency for too long. But this at least buys some time for us to figure out a solution with good UX. Alternatively, we could also only pin this dependency if the project is using the We have talked about increased error messages and notifications emitted from builds, which I very much want. This might be a good application for detecting incompatibilities with dependencies and giving some helpful errors to users, however we probably also want to be more proactive and message the user before their project starts failing. I agree we should be doing what we can to avoid issues like the docutils 0.18 issue. I believe the most simple version is to use the stored build configuration on |
I went ahead and opened #8711. The breakage can happen any time now, and it is good for our users that we read deprecation warnings for them and provide a happy path for those that couldn't care less. This issue can remain open to discuss deprecation of |
The doc of pyFAI built with RTD is broken since I found several work-around:
|
I created a Metabase question to know how many projects are using this feature We should encourage them to migrate to |
- mention `pip` is the recommended way - mention `setuptools` is deprecated - remove `setuptools` from the examples in favor of `pip` Related #8659
The UI update mentioned in #8659 (comment) would still be nice to have. Rendering the option readonly is not a dead-end, since all projects can both change/enable/disable it in their |
I checked this today and we have 315. |
The good old
setup.py install
invokation is deprecated. Paul Ganssle described it in great depth here: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.htmlIt has already caused us some issues due to the recent docutils 0.18 bug, because it turns out that, for projects using
method: setuptools
in their configuration, pinningdocutils<0.18
insetup.py
doesn't actually get docutils 0.17, as described here #8639Similarly to #8623, we can start by removing mentions of this from the documentation. However, if we want to proactively act on this, we should warn all projects using this method to either switch to
method: pip
, or cap setuptools somehow.We know though that the projects that don't follow this advice will have broken builds, and this will result in a massive stream of support issues again. Therefore, what we can do is to replace this line:
readthedocs.org/readthedocs/doc_builder/python_environments.py
Line 200 in 3c4b495
by
setuptools<58.3.0
, because from that version onwards, the invocation might be removed at any time: https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v5830Thoughts @readthedocs/backend @readthedocs/advocacy?
The text was updated successfully, but these errors were encountered: