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
Remove the concept of a scope category. #10224
Conversation
In v2 all optionables are subsystems, even global options. There is no meaning to categories any more. [ci skip-rust-tests]
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.
Awesome!
@@ -54,22 +50,9 @@ def deprecated_cache_setup_removal_version(cls): | |||
""" | |||
return None | |||
|
|||
@classmethod | |||
def conflict_free_name(cls): |
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.
By the way, v2 setup-py is still setup-py2
:
pants/src/python/pants/backend/python/rules/run_setup_py.py
Lines 225 to 238 in 239f887
name = "setup-py2" | |
@classmethod | |
def register_options(cls, register): | |
super().register_options(register) | |
register( | |
"--args", | |
type=list, | |
member_type=shell_str, | |
passthrough=True, | |
help="Arguments to pass directly to setup.py, e.g. " | |
'`--setup-py2-args="bdist_wheel --python-tag py36.py37"`. If unspecified, Pants will ' | |
"dump the setup.py chroot.", | |
) |
# Rust tests will be skipped. Delete if not intended. [ci skip-rust-tests]
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.
Yay to removing ScopeInfoIterator
!
# Rust tests will be skipped. Delete if not intended. [ci skip-rust-tests]
[ci skip-rust-tests]
Instead use --plugins/--backend-packages, as there is now no v1 to get in the way. [ci skip-rust-tests]
# Rust tests will be skipped. Delete if not intended. [ci skip-rust-tests]
[ci skip-rust-tests]
[ci skip-rust-tests]
# Rust tests will be skipped. Delete if not intended. [ci skip-rust-tests]
[ci skip-rust-tests]
[ci skip-rust-tests]
[ci skip-rust-tests]
[ci skip-rust-tests]
In v2 all optionables are subsystems, even global options.
There is no meaning to categories any more.
[ci skip-rust-tests]