-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Update setuptools to v69 #11066
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
Update setuptools to v69 #11066
Changes from all commits
5946e13
3cfd95a
3acee2c
b8b7dac
f643238
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from typing_extensions import Literal | ||
|
||
def newer(source, target): ... | ||
def newer_pairwise(sources, targets, newer=...): ... | ||
def newer_group(sources, target, missing: Literal["error", "newer", "ignore"] = "error"): ... | ||
def newer_pairwise_group(sources, targets, *, newer=...): ... |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
def newer_pairwise_group(sources_groups, targets): ... | ||
from ._distutils._modified import newer_group as newer_group, newer_pairwise_group as newer_pairwise_group | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from ._distutils._modified import ( | ||
newer as newer, | ||
newer_group as newer_group, | ||
newer_pairwise as newer_pairwise, | ||
newer_pairwise_group as newer_pairwise_group, | ||
) | ||
Comment on lines
+1
to
+6
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I could define the methods here instead of in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Better to define them where they're defined at runtime imo, as you currently have it |
||
|
||
__all__ = ["newer", "newer_pairwise", "newer_group", "newer_pairwise_group"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This entire module (
stubs/setuptools/setuptools/dep_util.pyi
) is deprecated in favor ofsetuptools.modified
I could keep the defs instead of importing from
_distutils
so I can mark with@deprecated