Title: [Bug]: Pyparsing 3.1 breaks tests · Issue #26152 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Pyparsing 3.1 breaks tests · Issue #26152 · matplotlib/matplotlib
X Title: [Bug]: Pyparsing 3.1 breaks tests · Issue #26152 · matplotlib/matplotlib
Description: Bug summary Pyparsing 3.1.0 was released today and something has changed which causes quite a bit of test failures. List of changes https://github.com/pyparsing/pyparsing/releases/tag/3.1.0 (not obvious to me what caused it). Code for re...
Open Graph Description: Bug summary Pyparsing 3.1.0 was released today and something has changed which causes quite a bit of test failures. List of changes https://github.com/pyparsing/pyparsing/releases/tag/3.1.0 (not ob...
X Description: Bug summary Pyparsing 3.1.0 was released today and something has changed which causes quite a bit of test failures. List of changes https://github.com/pyparsing/pyparsing/releases/tag/3.1.0 (not ob...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/26152
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Pyparsing 3.1 breaks tests","articleBody":"### Bug summary\n\nPyparsing 3.1.0 was released today and something has changed which causes quite a bit of test failures.\r\n\r\nList of changes https://github.com/pyparsing/pyparsing/releases/tag/3.1.0 (not obvious to me what caused it).\n\n### Code for reproduction\n\n```python\nRun the tests\n```\n\n\n### Actual outcome\n\n```\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[hspace without value]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[hspace with invalid value]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[function without space]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[accent without space]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[frac without parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[frac with empty parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[binom without parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[binom with empty parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[genfrac without parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[genfrac with empty parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[sqrt without parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[sqrt with invalid value]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[overline without parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[overline with empty parameter]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[left with invalid delimiter]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[right with invalid delimiter]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses with sizing]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[unclosed parentheses without sizing]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[dfrac without parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[dfrac with empty parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[overset without parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[underset without parameters]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[unknown symbol]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[double superscript]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[double subscript]\r\nFAILED lib/matplotlib/tests/test_mathtext.py::test_mathtext_exceptions[super on sub without braces]\r\nFAILED lib/matplotlib/tests/test_text.py::test_parse_math - AssertionError: R...\r\nFAILED lib/matplotlib/tests/test_text.py::test_parse_math_rcparams - Assertio...\r\n```\n\n### Expected outcome\n\nNo failures\n\n### Additional information\n\nI guess a two-stage fix:\r\n1) Pin the version to `\u003c3.1`\r\n2) Fix the actual problem and unpin\n\n### Operating system\n\n_No response_\n\n### Matplotlib Version\n\nmain-branch\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\n_No response_\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\nNone","author":{"url":"https://github.com/oscargus","@type":"Person","name":"oscargus"},"datePublished":"2023-06-19T13:45:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":25},"url":"https://github.com/26152/matplotlib/issues/26152"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d7fc9721-b0be-ef1b-2df4-33b0f9dab03c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE26:4342D:1DF9D94:27B471E:6A52D6F1 |
| html-safe-nonce | 0816a5957345c59527d06838f86d75ffd355dc3294260ff61946e456f99eeb36 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTI2OjQzNDJEOjFERjlEOTQ6MjdCNDcxRTo2QTUyRDZGMSIsInZpc2l0b3JfaWQiOiI1NDYzNDAxOTE1MDI2MTY3NTM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1dd579c98ac644365dd0ac643df0377f7739ed760bdc24b1bea2cc4faaf0a6a4 |
| hovercard-subject-tag | issue:1763581526 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/26152/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ad8fd1a4f703fa790c21ec59795e9f9024d4be0d7bd6d4d0b7efa8da1acb72a1/matplotlib/matplotlib/issues/26152 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ad8fd1a4f703fa790c21ec59795e9f9024d4be0d7bd6d4d0b7efa8da1acb72a1/matplotlib/matplotlib/issues/26152 |
| og:image:alt | Bug summary Pyparsing 3.1.0 was released today and something has changed which causes quite a bit of test failures. List of changes https://github.com/pyparsing/pyparsing/releases/tag/3.1.0 (not ob... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oscargus |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width