From 1f11a88fabc79fa02e9983de46b712f532d3406a Mon Sep 17 00:00:00 2001 From: Pieter Pas Date: Sat, 27 Jan 2024 22:24:53 +0100 Subject: [PATCH] Version 0.2.0a10 --- README.md | 2 +- examples/minimal-debug-component/debug/pyproject.toml | 6 +++--- examples/minimal-debug-component/pyproject.toml | 4 ++-- .../src-python/minimal_comp/__init__.py | 2 +- examples/minimal-program/pyproject.toml | 2 +- .../src-python/minimal_program_module/__init__.py | 2 +- examples/minimal/README.md | 2 +- examples/minimal/pyproject.toml | 2 +- examples/minimal/src-python/minimal/__init__.py | 2 +- examples/nanobind-project/CMakeLists.txt | 2 +- examples/nanobind-project/pyproject.toml | 2 +- .../python-src/nanobind_project/__init__.py | 2 +- examples/pybind11-project/CMakeLists.txt | 2 +- examples/pybind11-project/pyproject.toml | 2 +- .../python-src/pybind11_project/__init__.py | 2 +- noxfile.py | 2 +- src/py_build_cmake/__init__.py | 2 +- test-packages/bare-c-module/pyproject.toml | 4 ++-- test-packages/namespace-project-a/CMakeLists.txt | 2 +- test-packages/namespace-project-a/pyproject.toml | 4 ++-- test-packages/namespace-project-b/pyproject.toml | 4 ++-- 21 files changed, 27 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 874fd06..fc780f2 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ dependencies = ["numpy"] dynamic = ["version", "description"] [build-system] # How pip and other frontends should build this project -requires = ["py-build-cmake~=0.2.0a10.dev0"] +requires = ["py-build-cmake~=0.2.0a10"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] # Where to find the Python module to package diff --git a/examples/minimal-debug-component/debug/pyproject.toml b/examples/minimal-debug-component/debug/pyproject.toml index 2b2b7dd..a24c4bb 100644 --- a/examples/minimal-debug-component/debug/pyproject.toml +++ b/examples/minimal-debug-component/debug/pyproject.toml @@ -7,12 +7,12 @@ authors = [{ "name" = "Pieter P", "email" = "pieter.p.dev@outlook.com" }] keywords = ["example", "addition", "subtraction", "debug"] classifiers = [] urls = { "Documentation" = "https://tttapa.github.io/" } -dependencies = ["minimal-comp==0.2.0a10.dev0"] -version = "0.2.0a10.dev0" +dependencies = ["minimal-comp==0.2.0a10"] +version = "0.2.0a10" description = "Debug symbols for the minimal package." [build-system] -requires = ["py-build-cmake~=0.2.0a10.dev0"] +requires = ["py-build-cmake~=0.2.0a10"] build-backend = "py_build_cmake.build_component" [tool.py-build-cmake.component] diff --git a/examples/minimal-debug-component/pyproject.toml b/examples/minimal-debug-component/pyproject.toml index 9f1dbb7..42af85f 100644 --- a/examples/minimal-debug-component/pyproject.toml +++ b/examples/minimal-debug-component/pyproject.toml @@ -24,10 +24,10 @@ dynamic = ["version", "description"] [project.optional-dependencies] docs = ["sphinx~=5.1", "matplotlib", "breathe", "furo"] -debug = ["minimal-debug==0.2.0a10.dev0"] +debug = ["minimal-debug==0.2.0a10"] [build-system] -requires = ["py-build-cmake~=0.2.0a10.dev0"] +requires = ["py-build-cmake~=0.2.0a10"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/examples/minimal-debug-component/src-python/minimal_comp/__init__.py b/examples/minimal-debug-component/src-python/minimal_comp/__init__.py index b9e584f..2050e5f 100644 --- a/examples/minimal-debug-component/src-python/minimal_comp/__init__.py +++ b/examples/minimal-debug-component/src-python/minimal_comp/__init__.py @@ -2,4 +2,4 @@ A simple, minimal example of building a Python C module using CMake. """ -__version__ = "0.2.0a10.dev0" +__version__ = "0.2.0a10" diff --git a/examples/minimal-program/pyproject.toml b/examples/minimal-program/pyproject.toml index 191b414..e81e64f 100644 --- a/examples/minimal-program/pyproject.toml +++ b/examples/minimal-program/pyproject.toml @@ -23,7 +23,7 @@ dependencies = [] dynamic = ["version", "description"] [build-system] -requires = ["py-build-cmake~=0.2.0a10.dev0"] +requires = ["py-build-cmake~=0.2.0a10"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/examples/minimal-program/src-python/minimal_program_module/__init__.py b/examples/minimal-program/src-python/minimal_program_module/__init__.py index 899f7e7..3daaf4e 100644 --- a/examples/minimal-program/src-python/minimal_program_module/__init__.py +++ b/examples/minimal-program/src-python/minimal_program_module/__init__.py @@ -2,4 +2,4 @@ A simple, minimal example of building a C++ program using CMake. """ -__version__ = "0.2.0a10.dev0" +__version__ = "0.2.0a10" diff --git a/examples/minimal/README.md b/examples/minimal/README.md index 8d08392..492add4 100644 --- a/examples/minimal/README.md +++ b/examples/minimal/README.md @@ -125,7 +125,7 @@ for more information about specific options. More information about the ```toml [build-system] -requires = ["py-build-cmake~=0.2.0a10.dev0"] +requires = ["py-build-cmake~=0.2.0a10"] build-backend = "py_build_cmake.build" ``` diff --git a/examples/minimal/pyproject.toml b/examples/minimal/pyproject.toml index 234ba06..f3d3589 100644 --- a/examples/minimal/pyproject.toml +++ b/examples/minimal/pyproject.toml @@ -23,7 +23,7 @@ dependencies = [] dynamic = ["version", "description"] [build-system] -requires = ["py-build-cmake~=0.2.0a10.dev0"] +requires = ["py-build-cmake~=0.2.0a10"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/examples/minimal/src-python/minimal/__init__.py b/examples/minimal/src-python/minimal/__init__.py index b9e584f..2050e5f 100644 --- a/examples/minimal/src-python/minimal/__init__.py +++ b/examples/minimal/src-python/minimal/__init__.py @@ -2,4 +2,4 @@ A simple, minimal example of building a Python C module using CMake. """ -__version__ = "0.2.0a10.dev0" +__version__ = "0.2.0a10" diff --git a/examples/nanobind-project/CMakeLists.txt b/examples/nanobind-project/CMakeLists.txt index 734148f..5992f71 100644 --- a/examples/nanobind-project/CMakeLists.txt +++ b/examples/nanobind-project/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.26) project(nanobind-project VERSION 0.2.0) -set(PY_VERSION_SUFFIX "a10.dev0") +set(PY_VERSION_SUFFIX "a10") set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX}) # Make sure that the Python and CMake versions match diff --git a/examples/nanobind-project/pyproject.toml b/examples/nanobind-project/pyproject.toml index a969d4d..64fccfc 100644 --- a/examples/nanobind-project/pyproject.toml +++ b/examples/nanobind-project/pyproject.toml @@ -25,7 +25,7 @@ dynamic = ["version", "description"] add = "nanobind_project.add:main" [build-system] -requires = ["py-build-cmake~=0.2.0a10.dev0", "nanobind~=1.5.1", "nanobind-stubgen~=0.1.1"] +requires = ["py-build-cmake~=0.2.0a10", "nanobind~=1.5.1", "nanobind-stubgen~=0.1.1"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/examples/nanobind-project/python-src/nanobind_project/__init__.py b/examples/nanobind-project/python-src/nanobind_project/__init__.py index ca25945..17f0f15 100644 --- a/examples/nanobind-project/python-src/nanobind_project/__init__.py +++ b/examples/nanobind-project/python-src/nanobind_project/__init__.py @@ -1,3 +1,3 @@ """Example project using the py-build-cmake build backend and nanobind.""" -__version__ = "0.2.0a10.dev0" +__version__ = "0.2.0a10" diff --git a/examples/pybind11-project/CMakeLists.txt b/examples/pybind11-project/CMakeLists.txt index b5b9317..2bb733e 100644 --- a/examples/pybind11-project/CMakeLists.txt +++ b/examples/pybind11-project/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.17) project(pybind11-project VERSION 0.2.0) -set(PY_VERSION_SUFFIX "a10.dev0") +set(PY_VERSION_SUFFIX "a10") set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX}) # Make sure that the Python and CMake versions match diff --git a/examples/pybind11-project/pyproject.toml b/examples/pybind11-project/pyproject.toml index 3ba4106..58dca1a 100644 --- a/examples/pybind11-project/pyproject.toml +++ b/examples/pybind11-project/pyproject.toml @@ -30,7 +30,7 @@ test = ["pytest>=7.2.0,<7.5"] [build-system] requires = [ - "py-build-cmake~=0.2.0a10.dev0", + "py-build-cmake~=0.2.0a10", "pybind11~=2.10.1", "pybind11-stubgen~=0.16.2", ] diff --git a/examples/pybind11-project/python-src/pybind11_project/__init__.py b/examples/pybind11-project/python-src/pybind11_project/__init__.py index cbad47f..f96ab8f 100644 --- a/examples/pybind11-project/python-src/pybind11_project/__init__.py +++ b/examples/pybind11-project/python-src/pybind11_project/__init__.py @@ -1,3 +1,3 @@ """Example project using the py-build-cmake build backend and pybind11.""" -__version__ = "0.2.0a10.dev0" +__version__ = "0.2.0a10" diff --git a/noxfile.py b/noxfile.py index ac3a00d..387922e 100644 --- a/noxfile.py +++ b/noxfile.py @@ -32,7 +32,7 @@ else: import sysconfig as dist_sysconfig -version = "0.2.0a10.dev0" +version = "0.2.0a10" project_dir = Path(__file__).resolve().parent examples = "minimal-program", "pybind11-project", "nanobind-project", "minimal" diff --git a/src/py_build_cmake/__init__.py b/src/py_build_cmake/__init__.py index 39b0daf..6935ed4 100644 --- a/src/py_build_cmake/__init__.py +++ b/src/py_build_cmake/__init__.py @@ -3,4 +3,4 @@ extensions built using CMake. """ -__version__ = "0.2.0a10.dev0" +__version__ = "0.2.0a10" diff --git a/test-packages/bare-c-module/pyproject.toml b/test-packages/bare-c-module/pyproject.toml index 4a76a41..0eb4ecf 100644 --- a/test-packages/bare-c-module/pyproject.toml +++ b/test-packages/bare-c-module/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "bare_c_module" -version = "0.2.0a10.dev0" +version = "0.2.0a10" description = "Single extension module, without any folders or __init__.py" readme = "README.md" requires-python = ">=3.7" @@ -24,7 +24,7 @@ urls = { "Documentation" = "https://tttapa.github.io/" } dependencies = [] [build-system] -requires = ["py-build-cmake~=0.2.0a10.dev0"] +requires = ["py-build-cmake~=0.2.0a10"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/test-packages/namespace-project-a/CMakeLists.txt b/test-packages/namespace-project-a/CMakeLists.txt index b5b9317..2bb733e 100644 --- a/test-packages/namespace-project-a/CMakeLists.txt +++ b/test-packages/namespace-project-a/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.17) project(pybind11-project VERSION 0.2.0) -set(PY_VERSION_SUFFIX "a10.dev0") +set(PY_VERSION_SUFFIX "a10") set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX}) # Make sure that the Python and CMake versions match diff --git a/test-packages/namespace-project-a/pyproject.toml b/test-packages/namespace-project-a/pyproject.toml index c99e425..516088d 100644 --- a/test-packages/namespace-project-a/pyproject.toml +++ b/test-packages/namespace-project-a/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "namespace-project-a" # Name on PyPI -version = "0.2.0a10.dev0" +version = "0.2.0a10" readme = "README.md" description = "Part A of a namespace package" requires-python = ">=3.7" @@ -13,7 +13,7 @@ dependencies = [] [build-system] requires = [ - "py-build-cmake~=0.2.0a10.dev0", + "py-build-cmake~=0.2.0a10", "pybind11~=2.10.1", "pybind11-stubgen~=0.16.2", ] diff --git a/test-packages/namespace-project-b/pyproject.toml b/test-packages/namespace-project-b/pyproject.toml index 7b5fd42..35dbfab 100644 --- a/test-packages/namespace-project-b/pyproject.toml +++ b/test-packages/namespace-project-b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "namespace-project-b" # Name on PyPI -version = "0.2.0a10.dev0" +version = "0.2.0a10" readme = "README.md" description = "Part B of a namespace package" requires-python = ">=3.7" @@ -13,7 +13,7 @@ dependencies = [] [build-system] requires = [ - "py-build-cmake~=0.2.0a10.dev0", + "py-build-cmake~=0.2.0a10", ] build-backend = "py_build_cmake.build"