Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

MAINT: Try making 3.10 wheels on Windows and OSX #135

Merged
merged 1 commit into from
Oct 17, 2021

Conversation

charris
Copy link
Contributor

@charris charris commented Oct 12, 2021

No description provided.

@charris
Copy link
Contributor Author

charris commented Oct 15, 2021

close/reopen

@charris charris closed this Oct 15, 2021
@charris charris reopened this Oct 15, 2021
@charris charris force-pushed the test-3.10-available branch 2 times, most recently from c54de02 to 9463e8f Compare October 17, 2021 17:06
@charris charris force-pushed the test-3.10-available branch from f469a97 to b47efc1 Compare October 17, 2021 18:37
@charris
Copy link
Contributor Author

charris commented Oct 17, 2021

Two things are new with the 3.10 release

  • Microsoft will be dropping 32 bit Python 3.10 and it is not available on azure-pipelines
  • The Mac version is only available as a universal2 wheel. That is due to multibuild requiring osx 11+ for the build.

@mattip
Copy link
Contributor

mattip commented Oct 17, 2021

I wonder if cibuildwheel + github actions will be any different.

@mattip
Copy link
Contributor

mattip commented Oct 17, 2021

For 32-bit windows wheels, if all else fails we might be able to use a 32-bit docker container image, and then run it via a container

@mattip
Copy link
Contributor

mattip commented Oct 17, 2021

It seems cibuildwheel has 32-bit windows, see the table of supported versions

@charris
Copy link
Contributor Author

charris commented Oct 17, 2021

@mattip, the omission of 32 bit Python 3.10 on windows was a deliberate choice of the azure folks. We could probably talk them into it, but if Microsoft is headed that way, we might want to go along. The bigger problem is that travis-ci has become completely unreliable for arm64, mostly timeouts on fetches and downloads. I don't know the cause, but it is a PITA.

@matthew-brett
Copy link
Contributor

If so, the Azure folks should talk to their own CPython expert - who seems to think that 32-bit will be around for a while : scipy/scipy#14316 (comment)

@charris
Copy link
Contributor Author

charris commented Oct 17, 2021

@matthew-brett See actions/runner-images#4226 (comment). I do have a question about multibuild, it won't build Python 3.10 wheels for x86_64, only for arm64 and universal2 wheels. I'm not sure if those wheels work correctly. I think this is due to line 168 in osx_utils.sh. Maybe the mac version number needs an update to macosx_11_0?

@rgommers
Copy link
Contributor

universal2 wheels for Python 3.10 still need to work with macOS 10.x. Although it'd be fine to bump 10_9 to 10_13 by now I'd say (I've seen that in some other projects, but there's no need to do so AFAIK).

@matthew-brett
Copy link
Contributor

@charris - sorry for my confusion - but here's my understanding:

  • Python.org installers, used by Multibuild, are universal2 only since Python 3.10
  • These can build x86_64, arm64 and Universal wheels.

So, I was expecting x86_64 builds to work for Python 3.10; does they fail? Is there any error to look at somewhere? Happy to fix ASAP if they don't work.

@charris
Copy link
Contributor Author

charris commented Oct 18, 2021

I was expecting x86_64 builds to work for Python 3.10

Well, I don't know if they do or not. The universal2 file is big enough, but I'd like to see it checked before a release. Multibuild does produce separate arm64 (macosx_11_0) wheels, but no x86_64 wheels. I'm not really clear on why not, nor what it means that 3.10 only supports universal2 wheels.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants