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

bpo-42874: Remove grep -qE options for Solaris 10 compatibility #24200

Merged
merged 1 commit into from
Jan 12, 2021

Conversation

pganssle
Copy link
Member

@pganssle pganssle commented Jan 12, 2021

According to bpo-42874, some versions of grep do not support the -q and -E options. Although both options are used elsewhere in the configure script, this particular bit of validation can be achieved without them,
so there's no real harm in using a grep call with no flags.

Would be good to get some people taking advantage of the --with-tzpath arguments in the wild to try this out.. Local testing seems to indicate that this does the same thing, but I don't know that we have any buildbots using this option. Maybe @pablogsal?

bpo-42874: https://bugs.python.org/issue42874

https://bugs.python.org/issue42874

Automerge-Triggered-By: GH:pablogsal

According to bpo-42874, some versions of grep do not support the -q and
-E options. Although both options are used elsewhere in the configure
script, this particular bit of validation can be achieved without them,
so there's no real harm in using a grep call with no flags.

bpo-42874: https://bugs.python.org/issue42874
@pablogsal
Copy link
Member

Wow, I added auto-merge but I intend to add test-with-buildbots 🤦

@pablogsal
Copy link
Member

Well, let's see if the build bots complain, if that's the case I will manually revert it. Apologies for that :(

adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
…onGH-24200)

According to [bpo-42874](), some versions of grep do not support the `-q` and `-E` options. Although both options are used elsewhere in the configure script, this particular bit of validation can be achieved without them,
so there's no real harm in using a grep call with no flags.

Would be good to get some people taking advantage of the `--with-tzpath` arguments in the wild to try this out.. Local testing seems to indicate that this does the same thing, but I don't know that we have any buildbots using this option. Maybe @pablogsal?

[bpo-42874]():
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.

5 participants