-
Notifications
You must be signed in to change notification settings - Fork 294
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
Switch python build to scikit-build-core #1816
Draft
JeanChristopheMorinPerso
wants to merge
3
commits into
AcademySoftwareFoundation:main
Choose a base branch
from
JeanChristopheMorinPerso:switch_to_scikit_build_core
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Switch python build to scikit-build-core #1816
JeanChristopheMorinPerso
wants to merge
3
commits into
AcademySoftwareFoundation:main
from
JeanChristopheMorinPerso:switch_to_scikit_build_core
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
dependencies
Pull requests that update a dependency file
ci
python-bindings
otioview
labels
Nov 23, 2024
Signed-off-by: Jean-Christophe Morin <[email protected]>
JeanChristopheMorinPerso
force-pushed
the
switch_to_scikit_build_core
branch
from
November 23, 2024 20:29
da5a372
to
834c335
Compare
@@ -93,6 +93,7 @@ jobs: | |||
py_build_test: | |||
runs-on: ${{ matrix.os }} | |||
strategy: | |||
fail-fast: false |
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.
Suggested change
fail-fast: false |
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", |
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.
Suggested change
"Programming Language :: Python :: 3.11", | |
"Programming Language :: Python :: 3.11", | |
"Programming Language :: Python :: 3.12", |
Signed-off-by: Jean-Christophe Morin <[email protected]>
Signed-off-by: Jean-Christophe Morin <[email protected]>
JeanChristopheMorinPerso
force-pushed
the
switch_to_scikit_build_core
branch
from
November 24, 2024 17:45
fe10872
to
3b1f0b2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summarize your change.
The current python builds use setuptools which is really complicated and hard to maintain. This PR replaces setuptools with a more recent and modern build backend that was specifically designed to support CMake+Python. That backend is scikit-build-core.
Note that this is not the old
scikit-build
. It's from the same people, but it's not the same thing.scikit-buil
was building on top of setuptools.scikit-build-core
is a complete rewrite and doesn't rely on setuptools.This makes the build, debugging and packaging experience much better.
scikit-build-core
is now widely used and has active maintainers. It's also used by other projects in the ASWF (https://github.com/AcademySoftwareFoundation/MaterialX, https://github.com/AcademySoftwareFoundation/openexr, AcademySoftwareFoundation/OpenImageIO#4428 for example).I'm leaving this PR as a draft because there are some failures on Python 3.7 and I'm not too sure why.
TODO: