Skip to content

Commit

Permalink
Version 0.2.0a1
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Jul 28, 2023
1 parent abf1ad1 commit e9651ae
Show file tree
Hide file tree
Showing 17 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.9a3"]
requires = ["py-build-cmake~=0.2.0a1"]
build-backend = "py_build_cmake.build"

[tool.py-build-cmake.module] # Where to find the Python module to package
Expand Down
6 changes: 3 additions & 3 deletions examples/minimal-debug-component/debug/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ authors = [{ "name" = "Pieter P", "email" = "[email protected]" }]
keywords = ["addition", "subtraction", "pybind11"]
classifiers = []
urls = { "Documentation" = "https://tttapa.github.io/" }
dependencies = ["minimal_comp==0.1.9a3"]
version = "0.1.9a3"
dependencies = ["minimal_comp==0.2.0a1"]
version = "0.2.0a1"
description = "Debug symbols for the minimal package."

[build-system]
requires = ["py-build-cmake~=0.1.9a3", "pybind11", "pybind11-stubgen"]
requires = ["py-build-cmake~=0.2.0a1", "pybind11", "pybind11-stubgen"]
build-backend = "py_build_cmake.build_component"

[tool.py-build-cmake.component]
Expand Down
4 changes: 2 additions & 2 deletions examples/minimal-debug-component/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ dynamic = ["version", "description"]

[project.optional-dependencies]
docs = ["sphinx~=5.1", "matplotlib", "breathe", "furo"]
debug = ["minimal-debug==0.1.9a3"]
debug = ["minimal-debug==0.2.0a1"]

[build-system]
requires = ["py-build-cmake~=0.1.9a3"]
requires = ["py-build-cmake~=0.2.0a1"]
build-backend = "py_build_cmake.build"

[tool.py-build-cmake.module]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
A simple, minimal example of building a Python C module using CMake.
"""
__version__ = '0.1.9a3'
__version__ = '0.2.0a1'
2 changes: 1 addition & 1 deletion examples/minimal-program/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = []
dynamic = ["version", "description"]

[build-system]
requires = ["py-build-cmake~=0.1.9a3"]
requires = ["py-build-cmake~=0.2.0a1"]
build-backend = "py_build_cmake.build"

[tool.py-build-cmake.module]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
A simple, minimal example of building a C++ program using CMake.
"""
__version__ = '0.1.9a3'
__version__ = '0.2.0a1'
2 changes: 1 addition & 1 deletion examples/minimal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ for more information about specific options. More information about the

```toml
[build-system]
requires = ["py-build-cmake~=0.1.9a3"]
requires = ["py-build-cmake~=0.2.0a1"]
build-backend = "py_build_cmake.build"
```

Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = []
dynamic = ["version", "description"]

[build-system]
requires = ["py-build-cmake~=0.1.9a3"]
requires = ["py-build-cmake~=0.2.0a1"]
build-backend = "py_build_cmake.build"

[tool.py-build-cmake.module]
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/src-python/minimal/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
A simple, minimal example of building a Python C module using CMake.
"""
__version__ = '0.1.9a3'
__version__ = '0.2.0a1'
4 changes: 2 additions & 2 deletions examples/nanobind-project/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.26)
project(nanobind-project VERSION 0.1.9)
set(PY_VERSION_SUFFIX "a3")
project(nanobind-project VERSION 0.2.0)
set(PY_VERSION_SUFFIX "a1")
set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX})

# Make sure that the Python and CMake versions match
Expand Down
2 changes: 1 addition & 1 deletion examples/nanobind-project/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dynamic = ["version", "description"]
add = "nanobind_project.add:main"

[build-system]
requires = ["py-build-cmake~=0.1.9a3", "nanobind~=1.4.0", "nanobind-stubgen~=0.1.1"]
requires = ["py-build-cmake~=0.2.0a1", "nanobind~=1.4.0", "nanobind-stubgen~=0.1.1"]
build-backend = "py_build_cmake.build"

[tool.py-build-cmake.module]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Example project using the py-build-cmake build backend and nanobind."""
__version__ = '0.1.9a3'
__version__ = '0.2.0a1'
4 changes: 2 additions & 2 deletions examples/pybind11-project/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.17)
project(pybind11-project VERSION 0.1.9)
set(PY_VERSION_SUFFIX "a3")
project(pybind11-project VERSION 0.2.0)
set(PY_VERSION_SUFFIX "a1")
set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX})

# Make sure that the Python and CMake versions match
Expand Down
2 changes: 1 addition & 1 deletion examples/pybind11-project/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dynamic = ["version", "description"]
add = "pybind11_project.add:main"

[build-system]
requires = ["py-build-cmake~=0.1.9a3", "pybind11", "pybind11-stubgen"]
requires = ["py-build-cmake~=0.2.0a1", "pybind11", "pybind11-stubgen"]
build-backend = "py_build_cmake.build"

[tool.py-build-cmake.module]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Example project using the py-build-cmake build backend and pybind11."""
__version__ = '0.1.9a3'
__version__ = '0.2.0a1'
8 changes: 4 additions & 4 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.9a3")
session.install("py-build-cmake~=0.2.0a1")
with session.chdir("examples/minimal"):
shutil.rmtree('.py-build-cmake_cache', ignore_errors=True)
session.run("python", "-m", "build", ".")
Expand Down Expand Up @@ -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.9a3")
session.install("py-build-cmake~=0.2.0a1")
with session.chdir("examples/minimal-debug-component"):
shutil.rmtree('.py-build-cmake_cache', ignore_errors=True)
session.install(".")
Expand Down Expand Up @@ -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.9a3")
session.install("py-build-cmake~=0.2.0a1")
for mode in ("wrapper", "hook", "symlink"):
test_editable(session, mode)

Expand All @@ -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.9a3")
session.install("py-build-cmake~=0.2.0a1")
else:
session.install(".")
session.run('pytest')
2 changes: 1 addition & 1 deletion src/py_build_cmake/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Modern, PEP 517 compliant build backend for creating Python packages with
extensions built using CMake.
"""
__version__ = '0.1.9a3'
__version__ = '0.2.0a1'

0 comments on commit e9651ae

Please sign in to comment.