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

pyparsing 3.1.0 fix #294

Merged
merged 2 commits into from
Jun 21, 2023
Merged

pyparsing 3.1.0 fix #294

merged 2 commits into from
Jun 21, 2023

Conversation

tsibley
Copy link
Member

@tsibley tsibley commented Jun 20, 2023

See commit messages for details.

Resolves #293.

Testing

  • Checks pass

tsibley added 2 commits June 20, 2023 15:36
We rely on the pyparsing 3.0.0 API.  It was released well before our
first use of it, but still good to cross Ts and dot Is because older
pyparsing might be used by other deps in an environment.  I had cause to
think about this when debugging just now, so fix it up.
The recent release of pyparsing fixed a bug in SkipTo¹ "that has been
there for a very very long time"² and which we were unintentionally
relying upon.  The fix caused our parsing of

    ![alt](url "title")

to break as SkipTo(White()) no longer matched due to our grammar
ignoring whitespace by default.  We didn't notice until 3.1.0 was
released a couple days ago.

Explicitly don't ignore whitespace for this grammar element.  This
change is backwards compatible with older versions of pyparsing.

Resolves <#293>.

¹ <pyparsing/pyparsing@9d789cbc>
² <pyparsing/pyparsing#475>
@tsibley tsibley requested a review from a team June 20, 2023 22:47
@tsibley
Copy link
Member Author

tsibley commented Jun 20, 2023

Well test-source jobs are now passing again, but we're still hitting the stochastic failures of Python 3.7 on macOS (as previously, see also).

@tsibley tsibley merged commit 31396ae into master Jun 21, 2023
@tsibley tsibley deleted the trs/pyparsing-fix branch June 21, 2023 16:46
@tsibley tsibley mentioned this pull request Jun 21, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

pyparsing 3.1.0 causing test failures in Markdown image inlining
1 participant