-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
Python 3.11 support #1406
Python 3.11 support #1406
Conversation
This function was removed from Python.h in Python 3.11. See python/cpython#28970
Codecov Report
@@ Coverage Diff @@
## main #1406 +/- ##
==========================================
- Coverage 71.16% 71.15% -0.02%
==========================================
Files 373 373
Lines 52281 52276 -5
Branches 17374 17374
==========================================
- Hits 37206 37196 -10
- Misses 12721 12725 +4
- Partials 2354 2355 +1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
c7b45e0
to
80a6d9c
Compare
4124624
to
6b56019
Compare
The functions 'bandGBTRF' and 'bandGBTRS' were renamed in Sundials 6.0, with the old names deprecated and slated for removal in Sundials 7.0. The new names are 'SUNDlsMat_bandGBTRF' and 'SUNDlsMat_bandGBTRS'.
Linking to libpython with GitHub's Python 3.8 and 3.10 requires linking to libintl, but no compatible version of this library is present in the GitHub actions images (the Homebrew one has the wrong "macOS deployment target"). This problem is fixed in GitHub's build of Python 3.11. Scons 4.4.0 (and maybe other versions) can't be pip installed for the Homebrew Python, since it tries to write man pages into an incorrect, read-only directory. The Homebrew-installed Python was never actually being used. All macOS builds are done using Python cached in the GitHub actions image.
c11aaba
to
264a148
Compare
PyPI packages are not always available for the most recent Python version on all platforms.
264a148
to
4577ecf
Compare
After a mere 26 CI runs, this is finally working and ready for review. |
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.
Thanks! @speth - this looks good to me!
Changes proposed in this pull request
python3
, instead of the other specific Python versions which are only installed aspython3.9
etc.libintl
) for linking tolibpython3.x
.If applicable, fill in the issue number this pull request is fixing
Closes #1349
Checklist
scons build
&scons test
) and unit tests address code coverage