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

Ensure the right Python version is available #15

Merged
merged 6 commits into from
Oct 19, 2021
Merged

Ensure the right Python version is available #15

merged 6 commits into from
Oct 19, 2021

Conversation

richli
Copy link

@richli richli commented Oct 18, 2021

Roll back the AppVeyor image to the default of "Visual Studio 2015" in order to have mingw-w64 6.3.0 available for the libgfortran-3.dll library required by liblapack.dll. The "Visual Studio 2015" image however does not include Python 3.9, so the multibuild/install-python.ps1 script installs it.

Hopefully this addresses SHTOOLS/SHTOOLS#319.

@richli
Copy link
Author

richli commented Oct 18, 2021

The failed jobs are because they're trying to upload to PyPI and I don't have the credentials to do that. But the wheels do get built for all Python versions, including 3.9!

@richli
Copy link
Author

richli commented Oct 18, 2021

In the future there's probably some way to split up the AppVeyor config so the PyPI upload is a separate job, but if you're looking to migrate to Github Actions anyway, I suppose it's not worth worrying about now.

@richli
Copy link
Author

richli commented Oct 18, 2021

I updated the config so it marks all the wheels as artifacts, so it's possible to get the wheel out of each job even if it fails to upload to PyPI. With that change, I was able to retrieve pyshtools-4.9.1-cp39-cp39-win_amd64.whl and I installed it in a Windows VM running Python 3.9. This was successful:

python -c 'import pyshtools'

@MarkWieczorek MarkWieczorek merged commit 8f6d25f into SHTOOLS:master Oct 19, 2021
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.

2 participants