From 42f4c12591b46807048611e6ffc15b7293e45fe6 Mon Sep 17 00:00:00 2001 From: Pieter Pas Date: Mon, 17 Feb 2025 12:35:57 +0100 Subject: [PATCH] Version 0.4.2 --- README.md | 2 +- docs/conf.py | 4 +- docs/getting-started/first-steps.md | 2 +- docs/usage/cross-compilation.md | 78 +++++++++---------- .../debug/pyproject.toml | 6 +- .../minimal-debug-component/pyproject.toml | 4 +- .../src-python/minimal_comp/__init__.py | 2 +- examples/minimal-program/pyproject.toml | 2 +- .../minimal_program_module/__init__.py | 2 +- examples/minimal/README.md | 2 +- examples/minimal/pyproject.toml | 2 +- .../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 +- examples/swig-project/CMakeLists.txt | 2 +- examples/swig-project/pyproject.toml | 2 +- .../python-src/swig_project/__init__.py | 2 +- noxfile.py | 2 +- src/py_build_cmake/__init__.py | 2 +- test-packages/bare-c-module/pyproject.toml | 4 +- test-packages/cmake-options/pyproject.toml | 4 +- test-packages/cmake-preset/pyproject.toml | 4 +- test-packages/empty-config/pyproject.toml | 2 +- .../empty-config/src/empty_config/__init__.py | 2 +- test-packages/find-python/pyproject.toml | 4 +- test-packages/local-options/pyproject.toml | 4 +- .../namespace-project-a/CMakeLists.txt | 2 +- .../namespace-project-a/pyproject.toml | 4 +- .../namespace-project-b/pyproject.toml | 4 +- 33 files changed, 82 insertions(+), 82 deletions(-) diff --git a/README.md b/README.md index c5119ad..f7280ba 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ dependencies = ["numpy"] dynamic = ["version", "description"] [build-system] # How pip and other frontends should build this project -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] # Where to find the Python module to package diff --git a/docs/conf.py b/docs/conf.py index dedd888..a449af7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,7 +14,7 @@ project = "py-build-cmake" copyright = "2025, Pieter P" author = "Pieter P" -release = "0.4.2.dev0" +release = "0.4.2" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration @@ -39,7 +39,7 @@ html_context = { "github_user": "tttapa", "github_repo": "py-build-cmake", - "github_version": "0.4.2.dev0", + "github_version": "0.4.2", "doc_path": "docs", } html_show_sourcelink = False diff --git a/docs/getting-started/first-steps.md b/docs/getting-started/first-steps.md index 9bdeb2c..934c288 100644 --- a/docs/getting-started/first-steps.md +++ b/docs/getting-started/first-steps.md @@ -22,7 +22,7 @@ To use `py-build-cmake` as your Python build backend, add the following section ```toml [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] build-backend = "py_build_cmake.build" ``` diff --git a/docs/usage/cross-compilation.md b/docs/usage/cross-compilation.md index 9d9ae54..8d45ea0 100644 --- a/docs/usage/cross-compilation.md +++ b/docs/usage/cross-compilation.md @@ -88,7 +88,7 @@ Let's go over these requirements step by step: We'll first clone `py-build-cmake` and its example projects: ```sh -git clone https://github.com/tttapa/py-build-cmake --branch=0.4.1 +git clone https://github.com/tttapa/py-build-cmake --branch=0.4.2 cd py-build-cmake ``` @@ -193,7 +193,7 @@ If everything worked as expected, you should see output similar to the following [100%] Built target _add_module -- Installing: /tmp/xxxxx/staging/pybind11_project/_add_module.cpython-311-aarch64-linux-gnu.so [...] -Successfully built pybind11_project-0.4.1-cp311-cp311-manylinux_2_27_aarch64.whl +Successfully built pybind11_project-0.4.2-cp311-cp311-manylinux_2_27_aarch64.whl ``` You can see that CMake is using the cross-compiler we downloaded, and that it managed to locate the version of Python we requested (CPython 3.11 for AArch64). @@ -201,7 +201,7 @@ It is important to verify the module extension suffix (`.cpython-311-aarch64-linux-gnu.so` in this case) and the Wheel tags (`cp311-cp311-manylinux_2_27_aarch64`). -You can now copy the Wheel package in `examples/pybind11-project/dist/pybind11_project-0.4.1-cp311-cp311-manylinux_2_27_aarch64.whl` +You can now copy the Wheel package in `examples/pybind11-project/dist/pybind11_project-0.4.2-cp311-cp311-manylinux_2_27_aarch64.whl` to e.g. a Raspberry Pi and install it using `pip install`. ### Automated Bash scripts @@ -221,42 +221,42 @@ You can find the resulting Wheel packages in the `examples/pybind11-project/dist` directory: ```sh examples/pybind11-project/dist -├── pybind11_project-0.4.1-cp37-cp37m-linux_armv6l.whl -├── pybind11_project-0.4.1-cp37-cp37m-manylinux_2_27_aarch64.whl -├── pybind11_project-0.4.1-cp37-cp37m-manylinux_2_27_armv7l.whl -├── pybind11_project-0.4.1-cp37-cp37m-manylinux_2_27_x86_64.whl -├── pybind11_project-0.4.1-cp38-cp38-linux_armv6l.whl -├── pybind11_project-0.4.1-cp38-cp38-manylinux_2_27_aarch64.whl -├── pybind11_project-0.4.1-cp38-cp38-manylinux_2_27_armv7l.whl -├── pybind11_project-0.4.1-cp38-cp38-manylinux_2_27_x86_64.whl -├── pybind11_project-0.4.1-cp39-cp39-linux_armv6l.whl -├── pybind11_project-0.4.1-cp39-cp39-manylinux_2_27_aarch64.whl -├── pybind11_project-0.4.1-cp39-cp39-manylinux_2_27_armv7l.whl -├── pybind11_project-0.4.1-cp39-cp39-manylinux_2_27_x86_64.whl -├── pybind11_project-0.4.1-cp310-cp310-linux_armv6l.whl -├── pybind11_project-0.4.1-cp310-cp310-manylinux_2_27_aarch64.whl -├── pybind11_project-0.4.1-cp310-cp310-manylinux_2_27_armv7l.whl -├── pybind11_project-0.4.1-cp310-cp310-manylinux_2_27_x86_64.whl -├── pybind11_project-0.4.1-cp311-cp311-linux_armv6l.whl -├── pybind11_project-0.4.1-cp311-cp311-manylinux_2_27_aarch64.whl -├── pybind11_project-0.4.1-cp311-cp311-manylinux_2_27_armv7l.whl -├── pybind11_project-0.4.1-cp311-cp311-manylinux_2_27_x86_64.whl -├── pybind11_project-0.4.1-cp312-cp312-linux_armv6l.whl -├── pybind11_project-0.4.1-cp312-cp312-manylinux_2_27_aarch64.whl -├── pybind11_project-0.4.1-cp312-cp312-manylinux_2_27_armv7l.whl -├── pybind11_project-0.4.1-cp312-cp312-manylinux_2_27_x86_64.whl -├── pybind11_project-0.4.1-cp313-cp313-linux_armv6l.whl -├── pybind11_project-0.4.1-cp313-cp313-manylinux_2_27_aarch64.whl -├── pybind11_project-0.4.1-cp313-cp313-manylinux_2_27_armv7l.whl -├── pybind11_project-0.4.1-cp313-cp313-manylinux_2_27_x86_64.whl -├── pybind11_project-0.4.1-pp37-pypy37_pp73-manylinux_2_27_aarch64.whl -├── pybind11_project-0.4.1-pp37-pypy37_pp73-manylinux_2_27_x86_64.whl -├── pybind11_project-0.4.1-pp38-pypy38_pp73-manylinux_2_27_aarch64.whl -├── pybind11_project-0.4.1-pp38-pypy38_pp73-manylinux_2_27_x86_64.whl -├── pybind11_project-0.4.1-pp39-pypy39_pp73-manylinux_2_27_aarch64.whl -├── pybind11_project-0.4.1-pp39-pypy39_pp73-manylinux_2_27_x86_64.whl -├── pybind11_project-0.4.1-pp310-pypy310_pp73-manylinux_2_27_aarch64.whl -└── pybind11_project-0.4.1-pp310-pypy310_pp73-manylinux_2_27_x86_64.whl +├── pybind11_project-0.4.2-cp37-cp37m-linux_armv6l.whl +├── pybind11_project-0.4.2-cp37-cp37m-manylinux_2_27_aarch64.whl +├── pybind11_project-0.4.2-cp37-cp37m-manylinux_2_27_armv7l.whl +├── pybind11_project-0.4.2-cp37-cp37m-manylinux_2_27_x86_64.whl +├── pybind11_project-0.4.2-cp38-cp38-linux_armv6l.whl +├── pybind11_project-0.4.2-cp38-cp38-manylinux_2_27_aarch64.whl +├── pybind11_project-0.4.2-cp38-cp38-manylinux_2_27_armv7l.whl +├── pybind11_project-0.4.2-cp38-cp38-manylinux_2_27_x86_64.whl +├── pybind11_project-0.4.2-cp39-cp39-linux_armv6l.whl +├── pybind11_project-0.4.2-cp39-cp39-manylinux_2_27_aarch64.whl +├── pybind11_project-0.4.2-cp39-cp39-manylinux_2_27_armv7l.whl +├── pybind11_project-0.4.2-cp39-cp39-manylinux_2_27_x86_64.whl +├── pybind11_project-0.4.2-cp310-cp310-linux_armv6l.whl +├── pybind11_project-0.4.2-cp310-cp310-manylinux_2_27_aarch64.whl +├── pybind11_project-0.4.2-cp310-cp310-manylinux_2_27_armv7l.whl +├── pybind11_project-0.4.2-cp310-cp310-manylinux_2_27_x86_64.whl +├── pybind11_project-0.4.2-cp311-cp311-linux_armv6l.whl +├── pybind11_project-0.4.2-cp311-cp311-manylinux_2_27_aarch64.whl +├── pybind11_project-0.4.2-cp311-cp311-manylinux_2_27_armv7l.whl +├── pybind11_project-0.4.2-cp311-cp311-manylinux_2_27_x86_64.whl +├── pybind11_project-0.4.2-cp312-cp312-linux_armv6l.whl +├── pybind11_project-0.4.2-cp312-cp312-manylinux_2_27_aarch64.whl +├── pybind11_project-0.4.2-cp312-cp312-manylinux_2_27_armv7l.whl +├── pybind11_project-0.4.2-cp312-cp312-manylinux_2_27_x86_64.whl +├── pybind11_project-0.4.2-cp313-cp313-linux_armv6l.whl +├── pybind11_project-0.4.2-cp313-cp313-manylinux_2_27_aarch64.whl +├── pybind11_project-0.4.2-cp313-cp313-manylinux_2_27_armv7l.whl +├── pybind11_project-0.4.2-cp313-cp313-manylinux_2_27_x86_64.whl +├── pybind11_project-0.4.2-pp37-pypy37_pp73-manylinux_2_27_aarch64.whl +├── pybind11_project-0.4.2-pp37-pypy37_pp73-manylinux_2_27_x86_64.whl +├── pybind11_project-0.4.2-pp38-pypy38_pp73-manylinux_2_27_aarch64.whl +├── pybind11_project-0.4.2-pp38-pypy38_pp73-manylinux_2_27_x86_64.whl +├── pybind11_project-0.4.2-pp39-pypy39_pp73-manylinux_2_27_aarch64.whl +├── pybind11_project-0.4.2-pp39-pypy39_pp73-manylinux_2_27_x86_64.whl +├── pybind11_project-0.4.2-pp310-pypy310_pp73-manylinux_2_27_aarch64.whl +└── pybind11_project-0.4.2-pp310-pypy310_pp73-manylinux_2_27_x86_64.whl ``` ### A closer look at the CMake toolchain files diff --git a/examples/minimal-debug-component/debug/pyproject.toml b/examples/minimal-debug-component/debug/pyproject.toml index b152d5f..a1bc4b6 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.4.2.dev0"] -version = "0.4.2.dev0" +dependencies = ["minimal-comp==0.4.2"] +version = "0.4.2" description = "Debug symbols for the minimal package." [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] build-backend = "py_build_cmake.build_component" [tool.py-build-cmake] diff --git a/examples/minimal-debug-component/pyproject.toml b/examples/minimal-debug-component/pyproject.toml index df19684..76c0e95 100644 --- a/examples/minimal-debug-component/pyproject.toml +++ b/examples/minimal-debug-component/pyproject.toml @@ -26,10 +26,10 @@ dynamic = ["version", "description"] [project.optional-dependencies] docs = ["sphinx~=5.1", "matplotlib", "breathe", "furo"] -debug = ["minimal-debug==0.4.2.dev0"] +debug = ["minimal-debug==0.4.2"] [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] 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 a58d4d9..fa21f89 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.4.2.dev0" +__version__ = "0.4.2" diff --git a/examples/minimal-program/pyproject.toml b/examples/minimal-program/pyproject.toml index 0b44e25..e1eb778 100644 --- a/examples/minimal-program/pyproject.toml +++ b/examples/minimal-program/pyproject.toml @@ -25,7 +25,7 @@ dependencies = [] dynamic = ["version", "description"] [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] 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 051f2f7..3ec1ecb 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.4.2.dev0" +__version__ = "0.4.2" diff --git a/examples/minimal/README.md b/examples/minimal/README.md index 5788288..225a90a 100644 --- a/examples/minimal/README.md +++ b/examples/minimal/README.md @@ -120,7 +120,7 @@ for more information about specific options. More information about the ```toml [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] build-backend = "py_build_cmake.build" ``` diff --git a/examples/minimal/pyproject.toml b/examples/minimal/pyproject.toml index f70224e..5c05f0c 100644 --- a/examples/minimal/pyproject.toml +++ b/examples/minimal/pyproject.toml @@ -25,7 +25,7 @@ dependencies = [] dynamic = ["version", "description"] [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] 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 a58d4d9..fa21f89 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.4.2.dev0" +__version__ = "0.4.2" diff --git a/examples/nanobind-project/CMakeLists.txt b/examples/nanobind-project/CMakeLists.txt index 3e99b54..0a462ff 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.4.2) -set(PY_VERSION_SUFFIX ".dev0") +set(PY_VERSION_SUFFIX "") 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 1df7250..01f3147 100644 --- a/examples/nanobind-project/pyproject.toml +++ b/examples/nanobind-project/pyproject.toml @@ -31,7 +31,7 @@ test = ["pytest>=7.2.0,<7.5"] [build-system] requires = [ - "py-build-cmake~=0.4.2.dev0", + "py-build-cmake~=0.4.2", "nanobind~=2.2.0", "typing_extensions~=4.12.2; python_version < '3.11'", ] diff --git a/examples/nanobind-project/python-src/nanobind_project/__init__.py b/examples/nanobind-project/python-src/nanobind_project/__init__.py index 6729e96..55bb9da 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.4.2.dev0" +__version__ = "0.4.2" diff --git a/examples/pybind11-project/CMakeLists.txt b/examples/pybind11-project/CMakeLists.txt index 9356a52..fbb00dc 100644 --- a/examples/pybind11-project/CMakeLists.txt +++ b/examples/pybind11-project/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.18) project(pybind11-project VERSION 0.4.2) -set(PY_VERSION_SUFFIX ".dev0") +set(PY_VERSION_SUFFIX "") 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 0916613..88f2f5e 100644 --- a/examples/pybind11-project/pyproject.toml +++ b/examples/pybind11-project/pyproject.toml @@ -32,7 +32,7 @@ test = ["pytest>=7.2.0,<7.5"] [build-system] requires = [ - "py-build-cmake~=0.4.2.dev0", + "py-build-cmake~=0.4.2", "pybind11~=2.13.6", "pybind11-stubgen~=2.5.1", ] diff --git a/examples/pybind11-project/python-src/pybind11_project/__init__.py b/examples/pybind11-project/python-src/pybind11_project/__init__.py index b3557e4..bc52e41 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.4.2.dev0" +__version__ = "0.4.2" diff --git a/examples/swig-project/CMakeLists.txt b/examples/swig-project/CMakeLists.txt index ece9eb0..738cd25 100644 --- a/examples/swig-project/CMakeLists.txt +++ b/examples/swig-project/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.18) project(swig-project VERSION 0.4.2) -set(PY_VERSION_SUFFIX ".dev0") +set(PY_VERSION_SUFFIX "") set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX}) set(Py_LIMITED_API 0x03070000 CACHE STRING "CPython stable ABI version. Should match abi3_minimum_cpython_version") diff --git a/examples/swig-project/pyproject.toml b/examples/swig-project/pyproject.toml index 2cfc6c3..ea2f9fd 100644 --- a/examples/swig-project/pyproject.toml +++ b/examples/swig-project/pyproject.toml @@ -32,7 +32,7 @@ test = ["pytest>=7.2.0,<7.5"] [build-system] requires = [ - "py-build-cmake~=0.4.2.dev0", + "py-build-cmake~=0.4.2", "swig~=4.3.0", # https://github.com/nightlark/swig-pypi ] build-backend = "py_build_cmake.build" diff --git a/examples/swig-project/python-src/swig_project/__init__.py b/examples/swig-project/python-src/swig_project/__init__.py index 318bae8..c489661 100644 --- a/examples/swig-project/python-src/swig_project/__init__.py +++ b/examples/swig-project/python-src/swig_project/__init__.py @@ -1,3 +1,3 @@ """Example project using the py-build-cmake build backend and SWIG.""" -__version__ = "0.4.2.dev0" +__version__ = "0.4.2" diff --git a/noxfile.py b/noxfile.py index 171a3ea..e1b9ae0 100644 --- a/noxfile.py +++ b/noxfile.py @@ -35,7 +35,7 @@ import sysconfig as dist_sysconfig from sysconfig import get_platform as sysconfig_get_platform -version = "0.4.2.dev0" +version = "0.4.2" project_dir = Path(__file__).resolve().parent examples = "minimal-program", "pybind11-project", "nanobind-project" diff --git a/src/py_build_cmake/__init__.py b/src/py_build_cmake/__init__.py index 778c826..c0d21a2 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.4.2.dev0" +__version__ = "0.4.2" diff --git a/test-packages/bare-c-module/pyproject.toml b/test-packages/bare-c-module/pyproject.toml index 2186ac3..dbbe20a 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.4.2.dev0" +version = "0.4.2" description = "Single extension module, without any folders or __init__.py" readme = "README.md" requires-python = ">=3.7" @@ -26,7 +26,7 @@ urls = { "Documentation" = "https://tttapa.github.io/" } dependencies = [] [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/test-packages/cmake-options/pyproject.toml b/test-packages/cmake-options/pyproject.toml index 407bc6d..9bf7e11 100644 --- a/test-packages/cmake-options/pyproject.toml +++ b/test-packages/cmake-options/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cmake-options" -version = "0.4.2.dev0" +version = "0.4.2" description = "Checks parsing and escaping of CMake options" readme = "README.md" requires-python = ">=3.7" @@ -12,7 +12,7 @@ urls = { "Documentation" = "https://tttapa.github.io/" } dependencies = [] [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.sdist] diff --git a/test-packages/cmake-preset/pyproject.toml b/test-packages/cmake-preset/pyproject.toml index d93b2f8..6434aa9 100644 --- a/test-packages/cmake-preset/pyproject.toml +++ b/test-packages/cmake-preset/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cmake-preset" -version = "0.4.2.dev0" +version = "0.4.2" description = "Test the use of CMake presets" readme = "README.md" requires-python = ">=3.7" @@ -8,7 +8,7 @@ license = { "file" = "LICENSE" } authors = [{ "name" = "Pieter P", "email" = "pieter.p.dev@outlook.com" }] [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/test-packages/empty-config/pyproject.toml b/test-packages/empty-config/pyproject.toml index 83a9d41..49df7f1 100644 --- a/test-packages/empty-config/pyproject.toml +++ b/test-packages/empty-config/pyproject.toml @@ -7,5 +7,5 @@ authors = [{ "name" = "Pieter P", "email" = "pieter.p.dev@outlook.com" }] dynamic = ["version", "description"] [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] build-backend = "py_build_cmake.build" diff --git a/test-packages/empty-config/src/empty_config/__init__.py b/test-packages/empty-config/src/empty_config/__init__.py index e10fd3c..a780b58 100644 --- a/test-packages/empty-config/src/empty_config/__init__.py +++ b/test-packages/empty-config/src/empty_config/__init__.py @@ -2,7 +2,7 @@ Empty config """ -__version__ = "0.4.2.dev0" +__version__ = "0.4.2" def add(a, b): diff --git a/test-packages/find-python/pyproject.toml b/test-packages/find-python/pyproject.toml index 080dd56..b9dfa4d 100644 --- a/test-packages/find-python/pyproject.toml +++ b/test-packages/find-python/pyproject.toml @@ -1,12 +1,12 @@ [project] name = "find-python" -version = "0.4.2.dev0" +version = "0.4.2" description = "Test for CMake FindPython" requires-python = ">=3.7" license = { "text" = "-" } [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/test-packages/local-options/pyproject.toml b/test-packages/local-options/pyproject.toml index 64d93c8..a2ff5e5 100644 --- a/test-packages/local-options/pyproject.toml +++ b/test-packages/local-options/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "local-options" -version = "0.4.2.dev0" +version = "0.4.2" description = "Checks loading of local override files" readme = "README.md" requires-python = ">=3.7" @@ -12,7 +12,7 @@ urls = { "Documentation" = "https://tttapa.github.io/" } dependencies = [] [build-system] -requires = ["py-build-cmake~=0.4.2.dev0"] +requires = ["py-build-cmake~=0.4.2"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.sdist] diff --git a/test-packages/namespace-project-a/CMakeLists.txt b/test-packages/namespace-project-a/CMakeLists.txt index e686772..51a3349 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.18) project(pybind11-project VERSION 0.4.2) -set(PY_VERSION_SUFFIX ".dev0") +set(PY_VERSION_SUFFIX "") 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 4d1e17e..101de89 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.4.2.dev0" +version = "0.4.2" 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.4.2.dev0", + "py-build-cmake~=0.4.2", "pybind11~=2.13.6", "pybind11-stubgen~=2.5.1", ] diff --git a/test-packages/namespace-project-b/pyproject.toml b/test-packages/namespace-project-b/pyproject.toml index 53dde76..b546371 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.4.2.dev0" +version = "0.4.2" 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.4.2.dev0", + "py-build-cmake~=0.4.2", ] build-backend = "py_build_cmake.build"