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

Fix PYTHON_VERSION detection for python 3.10 and higher #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sbenton
Copy link

@sbenton sbenton commented Oct 15, 2022

Fix m4 line detecting the PYTHON_VERSION

Formerly used first 3 characters of sys.version string, but this breaks for 2-digit minor versions (eg 3.10 and up)
Replace with string containing values from sys.version_info

Formerly used first 3 characters of sys.version string, but this breaks
for 2-digit minor versions (eg 3.10 and up)
Replace with string containing values from sys.version_info
@merny93
Copy link

merny93 commented Mar 24, 2023

Bump.

I tried passing PYTHON_VERSION='3.10' to configure which did not fix the issue.

Work-around by running make then once it fails, cd into the bindings/python/build and rename the directory from ...-3.10 to ...3.1. Finally re-run make and everything worked for me

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.

None yet

2 participants