diff --git a/README.md b/README.md index 5654a14..1f897a2 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.0a3"] +requires = ["py-build-cmake~=0.2.0a4"] 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 58b3418..61b42ce 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.2.0a3"] -version = "0.2.0a3" +dependencies = ["minimal_comp==0.2.0a4"] +version = "0.2.0a4" description = "Debug symbols for the minimal package." [build-system] -requires = ["py-build-cmake~=0.2.0a3", "pybind11", "pybind11-stubgen"] +requires = ["py-build-cmake~=0.2.0a4", "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 dd332dc..1249fe5 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.0a3"] +debug = ["minimal-debug==0.2.0a4"] [build-system] -requires = ["py-build-cmake~=0.2.0a3"] +requires = ["py-build-cmake~=0.2.0a4"] 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 419ce55..d355574 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.2.0a3' \ No newline at end of file +__version__ = "0.2.0a4" \ No newline at end of file diff --git a/examples/minimal-program/pyproject.toml b/examples/minimal-program/pyproject.toml index cf476ba..ab0c847 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.0a3"] +requires = ["py-build-cmake~=0.2.0a4"] 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 fdc7b6f..d862c70 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.2.0a3' \ No newline at end of file +__version__ = "0.2.0a4" \ No newline at end of file diff --git a/examples/minimal/README.md b/examples/minimal/README.md index f902343..b2c6116 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.0a3"] +requires = ["py-build-cmake~=0.2.0a4"] build-backend = "py_build_cmake.build" ``` diff --git a/examples/minimal/pyproject.toml b/examples/minimal/pyproject.toml index ecebd64..bc56a36 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.0a3"] +requires = ["py-build-cmake~=0.2.0a4"] 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 419ce55..d355574 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.2.0a3' \ No newline at end of file +__version__ = "0.2.0a4" \ No newline at end of file diff --git a/examples/nanobind-project/CMakeLists.txt b/examples/nanobind-project/CMakeLists.txt index 907f071..8c4a3f6 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 "a3") +set(PY_VERSION_SUFFIX "a4") 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 40f87da..a5e7af4 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.0a3", "nanobind~=1.5.0", "nanobind-stubgen~=0.1.1"] +requires = ["py-build-cmake~=0.2.0a4", "nanobind~=1.5.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 8f2d293..e236412 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.2.0a3' \ No newline at end of file +__version__ = "0.2.0a4" \ No newline at end of file diff --git a/examples/pybind11-project/CMakeLists.txt b/examples/pybind11-project/CMakeLists.txt index cde423b..c31c40c 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 "a3") +set(PY_VERSION_SUFFIX "a4") 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 70f2a9f..127497c 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.2.0a3", "pybind11", "pybind11-stubgen"] +requires = ["py-build-cmake~=0.2.0a4", "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 fc4e16d..4398340 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.2.0a3' \ No newline at end of file +__version__ = "0.2.0a4" \ No newline at end of file diff --git a/noxfile.py b/noxfile.py index fb94b24..d3763cc 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.2.0a3") + session.install("py-build-cmake~=0.2.0a4") 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.2.0a3") + session.install("py-build-cmake~=0.2.0a4") 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.2.0a3") + session.install("py-build-cmake~=0.2.0a4") 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.2.0a3") + session.install("py-build-cmake~=0.2.0a4") else: session.install(".") session.run('pytest') diff --git a/src/py_build_cmake/__init__.py b/src/py_build_cmake/__init__.py index 2ecc6df..fd1a5ac 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.2.0a3' \ No newline at end of file +__version__ = "0.2.0a4" \ No newline at end of file