From 3ab96051f3626f4323f681e5f29afaf029735bc0 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 9 Nov 2022 17:47:44 -0500 Subject: [PATCH] chore: prepare for 0.1.0a1 Signed-off-by: Henry Schreiner --- README.md | 6 ++++-- docs/changelog.md | 23 ++++++++++++----------- pyproject.toml | 12 +++++++++++- 3 files changed, 27 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index aa7d1506..2614e116 100644 --- a/README.md +++ b/README.md @@ -38,11 +38,12 @@ This is very much a WIP, some missing features: - No support for caching between builds - No editable mode support - No extra wheel directories (like headers) supported yet +- Wheels are not fully reproducible yet - Windows ARM support missing Features over classic Scikit-build: -- Better warnings and errors +- Better warnings, errors, and logging - No warning about unused variables - Automatically adds Ninja and/or CMake only as required - No dependency on setuptools, distutils, or wheel in build mode. @@ -55,6 +56,7 @@ Features over classic Scikit-build: - Limited API / Stable ABI and pythonless tags supported via config option - No slow generator search, ninja/make or MSVC used by default, respects `CMAKE_GENERATOR` +- SDists are reproducible by default (UNIX, Python 3.9+) Currently, the recommended interface is the PEP 517 interface. There is also a setuptools-based interface that is being developed to provide a transition path @@ -140,7 +142,7 @@ tags.extra = false sdist.include = [] sdist.exclude = [] -# Make reproducible SDists (at least with Python 3.9+ and UNIX). Respects +# Make reproducible SDists (Python 3.9+ and UNIX recommended). Respects # SOURCE_DATE_EPOCH when true (the default). sdist.reproducible = true diff --git a/docs/changelog.md b/docs/changelog.md index 861129cd..378eb4d7 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,10 +2,9 @@ ## Version 0.1.0a1 -This is a second experimental snapshot. Two key fixes include better Pyodide -support and corrected macOS minimum version tags. The provisional setuptools -extension is beginning to look more like scikit-build classic with initial -custom keyword support. +This release brings a lot of further development. This is starting to be used by +downstream projects; it is a good idea to be a little careful with versions +still, configuration may change. ## What's Changed @@ -15,6 +14,10 @@ custom keyword support. https://github.com/scikit-build/scikit-build-core/pull/53 - feat(pyproject): include/exclude by @henryiii in https://github.com/scikit-build/scikit-build-core/pull/59 +- feat(pyproject): Color status messages for wheel by @henryiii in + https://github.com/scikit-build/scikit-build-core/pull/60 +- feat(pyproject): support reproducible sdist builds by @agoose77 in + https://github.com/scikit-build/scikit-build-core/pull/64 - feat: cmake_source_dir from scikit-build classic by @henryiii in https://github.com/scikit-build/scikit-build-core/pull/45 - feat: extra_tags by @henryiii in @@ -52,18 +55,16 @@ custom keyword support. - refactor: rename `cmake_settings` to `skbuild_settings` by @henryiii in https://github.com/scikit-build/scikit-build-core/pull/46 +* chore(pyproject): refactor wheel code a bit to read better by @henryiii in + https://github.com/scikit-build/scikit-build-core/pull/65 + - chore: better logging on macOS for deployment target by @henryiii in https://github.com/scikit-build/scikit-build-core/pull/48 - chore: format cmake files by @henryiii in https://github.com/scikit-build/scikit-build-core/pull/54 -## New Contributors - -- @agoose77 made their first contribution in - https://github.com/scikit-build/scikit-build-core/pull/43 - -**Full Changelog**: -https://github.com/scikit-build/scikit-build-core/compare/v0.1.0.a0...v0.1.0a1 +* tests: reproducible by @henryiii in + https://github.com/scikit-build/scikit-build-core/pull/66 ## Version 0.1.0a0 diff --git a/pyproject.toml b/pyproject.toml index 71618590..39d743ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", - "Development Status :: 2 - Pre-Alpha", + "Development Status :: 3 - Alpha", ] dynamic = ["version"] @@ -36,8 +36,18 @@ dependencies = [ "tomli; python_version<'3.11'", "typing_extensions >=3.7; python_version<'3.8'", ] +# Note: for building wheels and sdists, there are also +# additional dependencies: +# pyproject_metadata, distlib, and pathspec +# And cmake and possibly ninja if those are not already present (user +# controllable) [project.optional-dependencies] +pyproject = [ + "pyproject_metadata", + "distlib", + "pathspec", +] color = [ "rich", ]