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
Expose --resolver-version, deprecate --cache-ttl. #11349
Conversation
@@ -12,7 +12,10 @@ class Flake8(PythonToolBase): | |||
|
|||
options_scope = "flake8" | |||
default_version = "flake8>=3.7.9,<3.9" | |||
default_extra_requirements = ["setuptools<45"] # NB: `<45` is for Python 2 support | |||
default_extra_requirements = [ | |||
"setuptools<45; python_full_version == '2.7.*'", |
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.
N.B.: The pip-2020-resolver failed the LHS as insoluable for Python 3.
Update to the new and deprecated features of Pex 2.1.24 by exposing --resolver-version and deprecating --cache-ttl. For now we keep the pip-legacy-resolver default for --resolver-version, but encourage users migrating to the pip-2020-resolver. [ci skip-rust] [ci skip-build-wheels]
e9df645
to
c378b44
Compare
advanced=True, | ||
type=ResolverVersion, | ||
default=ResolverVersion.PIP_LEGACY, | ||
deprecation_start_version="2.3.0.dev1", |
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.
These can both be dev0.
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.
If it flakes red I'll make that switch.
Update to the new and deprecated features of Pex 2.1.24 by exposing
--resolver-version and deprecating --cache-ttl. For now we keep the
pip-legacy-resolver default for --resolver-version, but encourage users
migrating to the pip-2020-resolver.
[ci skip-rust]
[ci skip-build-wheels]