From 0ae8e5cb85fadbe7f195855f4d081034c3b842c7 Mon Sep 17 00:00:00 2001 From: Pieter Pas Date: Mon, 24 Jul 2023 16:48:56 +0200 Subject: [PATCH] Version 0.1.9a1 --- 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 | 4 ++-- examples/nanobind-project/pyproject.toml | 2 +- .../python-src/nanobind_project/__init__.py | 2 +- examples/pybind11-project/CMakeLists.txt | 4 ++-- examples/pybind11-project/pyproject.toml | 2 +- .../python-src/pybind11_project/__init__.py | 2 +- noxfile.py | 8 ++++---- src/py_build_cmake/__init__.py | 2 +- 17 files changed, 25 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 979d5be..19ed122 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ dependencies = ["numpy"] dynamic = ["version", "description"] [build-system] # How pip and other frontends should build this project -requires = ["py-build-cmake~=0.1.8"] +requires = ["py-build-cmake~=0.1.9a1"] 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 5dc0723..f0923e7 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 = ["addition", "subtraction", "pybind11"] classifiers = [] urls = { "Documentation" = "https://tttapa.github.io/" } -dependencies = ["minimal_comp==0.1.8"] -version = "0.1.8" +dependencies = ["minimal_comp==0.1.9a1"] +version = "0.1.9a1" description = "Debug symbols for the minimal package." [build-system] -requires = ["py-build-cmake~=0.1.8", "pybind11", "pybind11-stubgen"] +requires = ["py-build-cmake~=0.1.9a1", "pybind11", "pybind11-stubgen"] 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 cdf69bb..d14e934 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.1.8"] +debug = ["minimal-debug==0.1.9a1"] [build-system] -requires = ["py-build-cmake~=0.1.8"] +requires = ["py-build-cmake~=0.1.9a1"] 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 e9c99ba..9331bb2 100644 --- a/examples/minimal-debug-component/src-python/minimal_comp/__init__.py +++ b/examples/minimal-debug-component/src-python/minimal_comp/__init__.py @@ -1,4 +1,4 @@ """ A simple, minimal example of building a Python C module using CMake. """ -__version__ = '0.1.8' \ No newline at end of file +__version__ = '0.1.9a1' \ No newline at end of file diff --git a/examples/minimal-program/pyproject.toml b/examples/minimal-program/pyproject.toml index a0b594e..ff9f2b0 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.1.8"] +requires = ["py-build-cmake~=0.1.9a1"] 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 03027ba..adda27c 100644 --- a/examples/minimal-program/src-python/minimal_program_module/__init__.py +++ b/examples/minimal-program/src-python/minimal_program_module/__init__.py @@ -1,4 +1,4 @@ """ A simple, minimal example of building a C++ program using CMake. """ -__version__ = '0.1.8' \ No newline at end of file +__version__ = '0.1.9a1' \ No newline at end of file diff --git a/examples/minimal/README.md b/examples/minimal/README.md index 9aaa929..a1a6fac 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.1.8"] +requires = ["py-build-cmake~=0.1.9a1"] build-backend = "py_build_cmake.build" ``` diff --git a/examples/minimal/pyproject.toml b/examples/minimal/pyproject.toml index d87e141..bb7fac4 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.1.8"] +requires = ["py-build-cmake~=0.1.9a1"] 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 e9c99ba..9331bb2 100644 --- a/examples/minimal/src-python/minimal/__init__.py +++ b/examples/minimal/src-python/minimal/__init__.py @@ -1,4 +1,4 @@ """ A simple, minimal example of building a Python C module using CMake. """ -__version__ = '0.1.8' \ No newline at end of file +__version__ = '0.1.9a1' \ No newline at end of file diff --git a/examples/nanobind-project/CMakeLists.txt b/examples/nanobind-project/CMakeLists.txt index 95876c8..656836d 100644 --- a/examples/nanobind-project/CMakeLists.txt +++ b/examples/nanobind-project/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.18...3.22) -project(nanobind-project VERSION 0.1.8) -set(PY_VERSION_SUFFIX "") +project(nanobind-project VERSION 0.1.9) +set(PY_VERSION_SUFFIX "a1") 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 b1d59cb..f7ab62e 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.1.8", "nanobind~=1.1.0", "nanobind-stubgen~=0.1.1"] +requires = ["py-build-cmake~=0.1.9a1", "nanobind~=1.1.0", "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 ec9386f..3d9d3e0 100644 --- a/examples/nanobind-project/python-src/nanobind_project/__init__.py +++ b/examples/nanobind-project/python-src/nanobind_project/__init__.py @@ -1,2 +1,2 @@ """Example project using the py-build-cmake build backend and nanobind.""" -__version__ = '0.1.8' \ No newline at end of file +__version__ = '0.1.9a1' \ No newline at end of file diff --git a/examples/pybind11-project/CMakeLists.txt b/examples/pybind11-project/CMakeLists.txt index 2e94ada..94a7ec8 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.1.8) -set(PY_VERSION_SUFFIX "") +project(pybind11-project VERSION 0.1.9) +set(PY_VERSION_SUFFIX "a1") 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 04d242c..b6d0aec 100644 --- a/examples/pybind11-project/pyproject.toml +++ b/examples/pybind11-project/pyproject.toml @@ -26,7 +26,7 @@ dynamic = ["version", "description"] add = "pybind11_project.add:main" [build-system] -requires = ["py-build-cmake~=0.1.8", "pybind11", "pybind11-stubgen"] +requires = ["py-build-cmake~=0.1.9a1", "pybind11", "pybind11-stubgen"] build-backend = "py_build_cmake.build" [tool.py-build-cmake.module] diff --git a/examples/pybind11-project/python-src/pybind11_project/__init__.py b/examples/pybind11-project/python-src/pybind11_project/__init__.py index 0637abf..58c9c51 100644 --- a/examples/pybind11-project/python-src/pybind11_project/__init__.py +++ b/examples/pybind11-project/python-src/pybind11_project/__init__.py @@ -1,2 +1,2 @@ """Example project using the py-build-cmake build backend and pybind11.""" -__version__ = '0.1.8' \ No newline at end of file +__version__ = '0.1.9a1' \ No newline at end of file diff --git a/noxfile.py b/noxfile.py index ee638eb..de37f91 100644 --- a/noxfile.py +++ b/noxfile.py @@ -11,7 +11,7 @@ def example_projects(session: nox.Session): session.run("python", "-m", "build", ".") dist_dir = "dist" session.env["PIP_FIND_LINKS"] = os.path.abspath(dist_dir) - session.install("py-build-cmake~=0.1.8") + session.install("py-build-cmake~=0.1.9a1") with session.chdir("examples/minimal"): shutil.rmtree('.py-build-cmake_cache', ignore_errors=True) session.run("python", "-m", "build", ".") @@ -43,7 +43,7 @@ def component(session: nox.Session): session.run("python", "-m", "build", ".") dist_dir = "dist" session.env["PIP_FIND_LINKS"] = os.path.abspath(dist_dir) - session.install("py-build-cmake~=0.1.8") + session.install("py-build-cmake~=0.1.9a1") with session.chdir("examples/minimal-debug-component"): shutil.rmtree('.py-build-cmake_cache', ignore_errors=True) session.install(".") @@ -72,7 +72,7 @@ def editable(session: nox.Session): session.run("python", "-m", "build", ".") dist_dir = "dist" session.env["PIP_FIND_LINKS"] = os.path.abspath(dist_dir) - session.install("py-build-cmake~=0.1.8") + session.install("py-build-cmake~=0.1.9a1") for mode in ("wrapper", "hook", "symlink"): test_editable(session, mode) @@ -83,7 +83,7 @@ def tests(session: nox.Session): dist_dir = os.getenv('PY_BUILD_CMAKE_WHEEL_DIR') if dist_dir: session.env["PIP_FIND_LINKS"] = os.path.abspath(dist_dir) - session.install("py-build-cmake~=0.1.8") + session.install("py-build-cmake~=0.1.9a1") else: session.install(".") session.run('pytest') diff --git a/src/py_build_cmake/__init__.py b/src/py_build_cmake/__init__.py index d678407..b927670 100644 --- a/src/py_build_cmake/__init__.py +++ b/src/py_build_cmake/__init__.py @@ -2,4 +2,4 @@ Modern, PEP 517 compliant build backend for creating Python packages with extensions built using CMake. """ -__version__ = '0.1.8' \ No newline at end of file +__version__ = '0.1.9a1' \ No newline at end of file