Skip to content

MNT: Unpin pyparsing, xfail error message tests for pyparsing 3.1.0 #26431

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

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

ksunden
Copy link
Member

@ksunden ksunden commented Aug 1, 2023

PR summary

Closes #26152

May require backporting a portion of #26198 to the 3.7 branch if we wish to have a 3.7.3.
(specifically the part where token, placeable, and auto_delim are excluded from setName)

PR checklist

@ksunden
Copy link
Member Author

ksunden commented Aug 1, 2023

I did run locally with pyparsing 3.1.0 to ensure that the tests xfailed as desired. CI does not have anything that would pin that specific version, so not tested automatically.

I initially ran only the mathtext subset, found that there are two more in test_text that need to be xfailed when running the full set with 3.1.0, fixing now.

May require backporting a portion of matplotlib#26198 to the 3.7 branch if we wish to have a 3.7.3.
(specifically the part where token, placeable, and auto_delim are excluded from setName)
@ksunden ksunden added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Aug 1, 2023
@ksunden ksunden added this to the v3.7.3 milestone Aug 1, 2023
@ksunden
Copy link
Member Author

ksunden commented Aug 1, 2023

Labeling as 3.7.3. While the backport shouldn't fail, we probably do want to include the lines from #26198 in there.

@@ -19,7 +19,7 @@ dependencies:
- pillow>=6.2
- pybind11>=2.6.0
- pygobject
- pyparsing!=3.1.0
- pyparsing>=2.3.1
Copy link
Member

Choose a reason for hiding this comment

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

Do you not need to exclude the version that doesn't work?

@tacaswell
Copy link
Member

Given that we have the xfails on the tests and functionally the issue is that error messages on badly formatted strings (not failing for correctly formatted strings) I think it is OK to not put in any exclusionary pins.

@jklymak jklymak merged commit 5bdac1d into matplotlib:main Aug 1, 2023
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Aug 1, 2023
QuLogic added a commit that referenced this pull request Aug 3, 2023
…431-on-v3.7.x

Backport PR #26431 on branch v3.7.x (MNT: Unpin pyparsing, xfail error message tests for pyparsing 3.1.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Pyparsing 3.1 breaks tests
4 participants