8000 Fix bad pipe operator in upgrade by stroxler · Pull Request #848 · facebook/pyre-check · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix bad pipe operator in upgrade #848

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

Closed
wants to merge 2 commits into from < 8000 clipboard-copy aria-label="Copy" data-copy-feedback="Copied!" value="export-D57218457" data-view-component="true" class="Link--onHover js-copy-branch color-fg-muted d-inline-block ml-1">
Closed

Fix bad pipe operator in upgrade #848

wants to merge 2 commits into from

Conversation

stroxler
Copy link
Contributor

Summary:
This is blocking an open source release.

Note: there's a test failure still in OSS in one of these tests.
We do need to fix that, but unlike using illegal-for-python-3.9
syntax it doesn't make Pyre unreleasable.

Differential Revision: D57218457

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57218457

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57218457

stroxler added 2 commits May 10, 2024 10:58
Summary:

Internal tests will never catch the use of Python features
(like the pipe operator on types without `__future__.annotations`)
that are incompatible with older versions of Python that we still
need to support.

As a result it's very important that we cover this in gituhub tests;
even though we frequently break CI, this at least makes it easy to
prep for an open-source release: first check CI for test failures
on any supported Python version and fix issues, only then start a
release.

Unfortunately the script wasn't running upgrade tests, and as a result
didn't catch an invalid use of the pipe operator in unguarded type
annotations.

Differential Revision: D57218140
Summary:

This is blocking an open source release.

Note: there's a test failure still in OSS in one of these tests.
We do need to fix that, but unlike using illegal-for-python-3.9
syntax it doesn't make Pyre unreleasable.

Reviewed By: connernilsen

Differential Revision: D57218457
@stroxler stroxler force-pushed the export-D57218457 branch from d897767 to d801009 Compare May 10, 2024 17:59
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D57218457

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 267a8ce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0