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

maint: Improve the parser of MatchSpec #3463

Open
jjerphan opened this issue Sep 19, 2024 · 0 comments
Open

maint: Improve the parser of MatchSpec #3463

jjerphan opened this issue Sep 19, 2024 · 0 comments

Comments

@jjerphan
Copy link
Member

#3456 grossly adapted MatchSpec::parse to introduce a robust handling of extra white space in MatchSpec. This current solution is improper (it reallocates memory several time for the edge cases mentioned in #3453), and must be introduced in split_version_and_build as mentioned in #3456 (comment).

Part of the complexity of the parser adaptation comes from MatchSpec's flexibility (for instance numpy 2.0 hxyzw is a valid MatchSpec).

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

No branches or pull requests

1 participant