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

intersect: fix a minor soundness issue with supertypes #47813

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Dec 6, 2022

When doing intersection, we might end up with a value in env (as the only possible value for that parameter) without properly considering that the parameter might be a TypeVar.

@vtjnash vtjnash requested a review from JeffBezanson December 7, 2022 22:24
@vtjnash vtjnash added the backport 1.9 Change should be backported to release-1.9 label Dec 7, 2022
When doing intersection, we might end up with a value in `env` (as the
only possible *value* for that parameter) without properly considering
that the parameter might be a TypeVar.
@vtjnash vtjnash force-pushed the jn/overintersect_super branch from 666aeb0 to 38f1fbe Compare December 12, 2022 15:02
@vtjnash vtjnash added the needs pkgeval Tests for all registered packages should be run with this change label Dec 12, 2022
Copy link
Member

@N5N3 N5N3 left a comment

Choose a reason for hiding this comment

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

LGTM.

@KristofferC KristofferC mentioned this pull request Dec 14, 2022
26 tasks
@vtjnash
Copy link
Member Author

vtjnash commented Dec 14, 2022

@nanosoldier runtests(ALL, vs=":master")

@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

@vtjnash
Copy link
Member Author

vtjnash commented Dec 15, 2022

BitArrays issue should be fixed by #47830, rest seem to look like flaky package tests

Ripserer may need investigation

@N5N3
Copy link
Member

N5N3 commented Dec 15, 2022

Ripserer's test passed locally with 38f1fbe

@nanosoldier runtests(["Infernal", "SpmImageTycoonInstaller", "HighDimPDE", "StateSpaceModels", "Permanents", "Ripserer", "CORBITS", "PopGen", "RandomLinearAlgebraSolvers", "PkgDependency", "PointwiseKDEs"], vs = ":master")

@vtjnash vtjnash added merge me PR is reviewed. Merge when all tests are passing and removed needs pkgeval Tests for all registered packages should be run with this change labels Dec 15, 2022
@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible new issues were detected. A full report can be found here.

@vtjnash vtjnash merged commit 26a7dbb into master Dec 16, 2022
@vtjnash vtjnash deleted the jn/overintersect_super branch December 16, 2022 01:25
KristofferC pushed a commit that referenced this pull request Dec 16, 2022
When doing intersection, we might end up with a value in `env` (as the
only possible *value* for that parameter) without properly considering
that the parameter might be a TypeVar.

(cherry picked from commit 26a7dbb)
@DilumAluthge DilumAluthge removed the merge me PR is reviewed. Merge when all tests are passing label Dec 21, 2022
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label Dec 27, 2022
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.

6 participants