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

Issues with compiling fortran code when installing on Python 3.10+ #2

Closed
Liam-Deacon opened this issue Jan 11, 2024 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@Liam-Deacon
Copy link
Owner

Liam-Deacon commented Jan 11, 2024

There are issues with compiling when running either:

  1. python setup.py build bdist_wheel for python 3.11+
  2. pip install -e . fails for Python 3.10+

This appears to be due to the deprecation/removal of numpy.distutils (see https://numpy.org/doc/stable/reference/distutils_status_migration.html#distutils-status-migration)

NOTE: This was observed on Ubuntu 20.04 using gcc/gfortran 7.5.0

@Liam-Deacon Liam-Deacon added the bug Something isn't working label Jan 11, 2024
@Liam-Deacon Liam-Deacon self-assigned this Jan 11, 2024
Liam-Deacon added a commit that referenced this issue Jan 12, 2024
Liam-Deacon added a commit that referenced this issue Jan 13, 2024
@Liam-Deacon
Copy link
Owner Author

This has been resolved for python 3.7, python 3.9 through to 3.11 but has issues with python 3.8 (oddly) and python 3.12 due to the removal of numpy.distutils.

There is currently no plans to fix python 3.8, however 3.12+ is essential for the longevity and compatibility of the package going forward. This will be tracked in a separate issue #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant