Skip to content
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

Merged
merged 1 commit into from Dec 20, 2020

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Dec 19, 2020

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]

@@ -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.*'",
Copy link
Member Author

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]
advanced=True,
type=ResolverVersion,
default=ResolverVersion.PIP_LEGACY,
deprecation_start_version="2.3.0.dev1",
Copy link
Contributor

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.

Copy link
Member Author

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.

src/python/pants/help/help_integration_test.py Outdated Show resolved Hide resolved
@jsirois jsirois merged commit 938c945 into pantsbuild:master Dec 20, 2020
@jsirois jsirois deleted the Pex-2.1.24/plumb branch December 20, 2020 01:05
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.

None yet

2 participants