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

Upgrade to Pex 2.1.16. #10782

Merged
merged 2 commits into from Sep 15, 2020
Merged

Upgrade to Pex 2.1.16. #10782

merged 2 commits into from Sep 15, 2020

Conversation

jsirois
Copy link
Member

@jsirois jsirois commented Sep 15, 2020

Besides general improvements this picks up a fix for PEP-420 implicit
(namespace) packages in loose sources and resources added via -D and
-R which allows us to return to producing zip_safe PEXes by default
(see: #10608 which this change reverts).

2.1.16 release notes here:
https://github.com/pantsbuild/pex/blob/master/CHANGES.rst#2116

2.1.15 release notes here:
https://github.com/pantsbuild/pex/blob/master/CHANGES.rst#2115

[ci skip-rust]
[ci skip-build-wheels]

default_version = "v2.1.14"
default_known_versions = [
f"v2.1.14|{plat}|12937da9ad5ad2c60564aa35cb4b3992ba3cc5ef7efedd44159332873da6fe46|2637138"
for plat in ["darwin", "linux "]
Copy link
Member Author

@jsirois jsirois Sep 15, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just noticed the trailing space in "linux " ... that can't be right.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The space is stripped as a convenience for readability in pants.toml. It doesn't matter, but agreed that's confusing.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I can remove it? I find we don't use the value in our tomls?:

$ git grep linux *.toml
$

Does it somehow show up in users' tomls?!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... and why no space in "darwin" - there are a million questions this raises.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, you can remove it. It was a typo, but a typo that doesn't break anything.

What I mean with toml files is that users are able to set values like --protoc-known-versions. From the help message:

Values are space-stripped, so pipes can be indented for readability if necessary.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha - thanks. I may save that for follow up.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, this needs to follow #10779 so I'll fix it in the PR as soon as that PR lands.

Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Exciting to change back.

Besides general improvements this picks up a fix for PEP-420 implicit
(namespace) packages in loose sources and resources added via `-D` and
`-R` which allows us to return to producing `zip_safe` PEXes by default
(see: pantsbuild#10608 which this change reverts).

2.1.16 release notes here:
https://github.com/pantsbuild/pex/blob/master/CHANGES.rst#2116

2.1.15 release notes here:
https://github.com/pantsbuild/pex/blob/master/CHANGES.rst#2115

[ci skip-rust]
[ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@jsirois
Copy link
Member Author

jsirois commented Sep 15, 2020

Rebased against now-merged ##10779 - this should go green in which case I'll submit.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling b9b276f on jsirois:pex/2.1.16/upgrade into ca7e2c2 on pantsbuild:master.

@jsirois jsirois merged commit 84a7687 into pantsbuild:master Sep 15, 2020
@jsirois jsirois deleted the pex/2.1.16/upgrade branch September 15, 2020 05:41
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

3 participants