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

Closes #2679: Convert check for re2 in the compiler from a .compile() method to new regex() #2777

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

bradcray
Copy link
Contributor

@bradcray bradcray commented Sep 15, 2023

In Chapel 1.30, regex.compile() was deprecated in favor of new regex(), however the program that verifies that regex is enabled in Arkouda wasn't updated, so was still relying on this routine. We removed the routine tonight and broke our smoke tests, not realizing this. Here, I've updated the test to use 'new regex()' instead.

Helps with https://github.com/Cray/chapel-private/issues/5406, though we may want to restore the dependency checks once this is merged.

Close #2679

… regex()

    In Chapel 1.30, regex.compile() was deprecated in favor of new regex(),
    however the program that verifies that regex is enabled in Arkouda
    wasn't updated, so was still relying on this routine.  We removed the
    routine tonight and broke our smoke tests, not realizing this.  Here,
    I've updated the test to use 'new regex()' instead.
@stress-tess
Copy link
Member

stress-tess commented Sep 18, 2023

ah I noticed this too and captured it in #2679, but never got around to updating it-- thanks @bradcray!

@stress-tess stress-tess changed the title Convert check for re2 in the compiler from a .compile() method to new regex() Closes #2679: Convert check for re2 in the compiler from a .compile() method to new regex() Sep 18, 2023
@stress-tess stress-tess added this pull request to the merge queue Sep 18, 2023
Merged via the queue into Bears-R-Us:master with commit b51f934 Sep 18, 2023
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.

Deprecation warning with check_regex
3 participants