-
Notifications
You must be signed in to change notification settings - Fork 23
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 the pyfiction
build system from raw setuptools
to scikit-build-core
#592
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
pyfiction
build system from setuptools
to scikit-build
pyfiction
build system from raw setuptools
to scikit-build
clang-tidy review says "All clean, LGTM! 👍" |
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.
clang-tidy made some suggestions
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #592 +/- ##
=======================================
Coverage 98.12% 98.12%
=======================================
Files 232 232
Lines 35410 35410
Branches 1692 1691 -1
=======================================
+ Hits 34746 34747 +1
+ Misses 662 661 -1
Partials 2 2
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
pyfiction
build system from raw setuptools
to scikit-build
pyfiction
build system from raw setuptools
to scikit-build-core
…N_TEST`, which is already set to `OFF`
Signed-off-by: GitHub Actions <[email protected]>
# def docs(session: nox.Session) -> None: | ||
# """Build the docs. Use "--non-interactive" to avoid serving. Pass "-b linkcheck" to check links.""" | ||
# parser = argparse.ArgumentParser() | ||
# parser.add_argument("-b", dest="builder", default="html", help="Build target (default: html)") | ||
# args, posargs = parser.parse_known_args(session.posargs) | ||
# | ||
# serve = args.builder == "html" and session.interactive | ||
# extra_installs = ["sphinx-autobuild"] if serve else [] | ||
# session.install(*BUILD_REQUIREMENTS, *extra_installs) | ||
# session.install("--no-build-isolation", "-ve.[docs]") | ||
# | ||
# if args.builder == "linkcheck": | ||
# session.run("sphinx-build", "-b", "linkcheck", "docs", "docs/_build/linkcheck", *posargs) | ||
# return | ||
# | ||
# shared_args = ( | ||
# "-n", # nitpicky mode | ||
# "-T", # full tracebacks | ||
# f"-b={args.builder}", | ||
# "docs", | ||
# f"docs/_build/{args.builder}", | ||
# *posargs, | ||
# ) | ||
# | ||
# if serve: | ||
# session.run("sphinx-autobuild", *shared_args) | ||
# else: | ||
# session.run("sphinx-build", "--keep-going", *shared_args) |
Check notice
Code scanning / CodeQL
Commented-out code Note
Signed-off-by: GitHub Actions <[email protected]>
Signed-off-by: GitHub Actions <[email protected]>
Description
This PR makes big changes to the build system and overall tooling of pyfiction.
scikit-build-core
from rawsetuptools
.uv
for dependency management and builds.nox
for testing.Checklist: