-
Notifications
You must be signed in to change notification settings - Fork 477
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
bugfix/python 3.10 not detected FIX #3713
bugfix/python 3.10 not detected FIX #3713
Conversation
Build SUCCESS |
news/bugfix-3713.md
Outdated
- using if-else instead of switch-case, because in the if statement can be put regex expression. | ||
- using the configure "if-else", because there can put regex expression also. | ||
|
||
issue: #3709 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This si going to be part of the news file (an example: https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.32.1), if you check out that the description are brief (specially in case of simple bugfix). This description is nice for the PR description, but too detailed for a news entry.
From user point of view the implementation details are not interesting (still they can uncover it as there is a reference to the original PR), I would rather include the fact that configure cannot accept python 3.10 version, and now it does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There is a failing macos CI job.
I think it's some intermittent Homebrew issue.
a2ad3ba
to
d62c58c
Compare
* configure can accept python x.xx * I try to use * or + like in regex, but in shell isn't compatible with that regex Signed-off-by: Balázs Barkó <[email protected]>
d62c58c
to
572a2cb
Compare
Build SUCCESS |
Signed-off-by: Balázs Barkó <[email protected]>
572a2cb
to
34252ce
Compare
Build SUCCESS |
Thanks! Tested by compiling a recent git master snapshot on Fedora Rawhide, and it works fine. |
The problem was the new python 3.10 isn't compatible with previous "python finding script", because it check is only 1 digit or "." and I added a new condition to check ".".
This bug can be easily caused. Only need a python 3.10 version and run the configure with this flag: "--with-python=3.10" it will not find the 3.10, but with the bugfix it will found.
Other possible solution:
issue: #3709