Skip to content

Commit 447d07d

Browse files
committed
Version 0.4.0a0
1 parent fec646f commit 447d07d

File tree

28 files changed

+38
-38
lines changed

28 files changed

+38
-38
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ dependencies = ["numpy"]
6363
dynamic = ["version", "description"]
6464

6565
[build-system] # How pip and other frontends should build this project
66-
requires = ["py-build-cmake~=0.4.0.dev0"]
66+
requires = ["py-build-cmake~=0.4.0a0"]
6767
build-backend = "py_build_cmake.build"
6868

6969
[tool.py-build-cmake.module] # Where to find the Python module to package

examples/minimal-debug-component/debug/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ authors = [{ "name" = "Pieter P", "email" = "[email protected]" }]
77
keywords = ["example", "addition", "subtraction", "debug"]
88
classifiers = []
99
urls = { "Documentation" = "https://tttapa.github.io/" }
10-
dependencies = ["minimal-comp==0.4.0.dev0"]
11-
version = "0.4.0.dev0"
10+
dependencies = ["minimal-comp==0.4.0a0"]
11+
version = "0.4.0a0"
1212
description = "Debug symbols for the minimal package."
1313

1414
[build-system]
15-
requires = ["py-build-cmake~=0.4.0.dev0"]
15+
requires = ["py-build-cmake~=0.4.0a0"]
1616
build-backend = "py_build_cmake.build_component"
1717

1818
[tool.py-build-cmake]

examples/minimal-debug-component/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ dynamic = ["version", "description"]
2626

2727
[project.optional-dependencies]
2828
docs = ["sphinx~=5.1", "matplotlib", "breathe", "furo"]
29-
debug = ["minimal-debug==0.4.0.dev0"]
29+
debug = ["minimal-debug==0.4.0a0"]
3030

3131
[build-system]
32-
requires = ["py-build-cmake~=0.4.0.dev0"]
32+
requires = ["py-build-cmake~=0.4.0a0"]
3333
build-backend = "py_build_cmake.build"
3434

3535
[tool.py-build-cmake.module]

examples/minimal-debug-component/src-python/minimal_comp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
A simple, minimal example of building a Python C module using CMake.
33
"""
44

5-
__version__ = "0.4.0.dev0"
5+
__version__ = "0.4.0a0"

examples/minimal-program/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies = []
2525
dynamic = ["version", "description"]
2626

2727
[build-system]
28-
requires = ["py-build-cmake~=0.4.0.dev0"]
28+
requires = ["py-build-cmake~=0.4.0a0"]
2929
build-backend = "py_build_cmake.build"
3030

3131
[tool.py-build-cmake.module]

examples/minimal-program/src-python/minimal_program_module/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
A simple, minimal example of building a C++ program using CMake.
33
"""
44

5-
__version__ = "0.4.0.dev0"
5+
__version__ = "0.4.0a0"

examples/minimal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ for more information about specific options. More information about the
120120

121121
```toml
122122
[build-system]
123-
requires = ["py-build-cmake~=0.4.0.dev0"]
123+
requires = ["py-build-cmake~=0.4.0a0"]
124124
build-backend = "py_build_cmake.build"
125125
```
126126

examples/minimal/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies = []
2525
dynamic = ["version", "description"]
2626

2727
[build-system]
28-
requires = ["py-build-cmake~=0.4.0.dev0"]
28+
requires = ["py-build-cmake~=0.4.0a0"]
2929
build-backend = "py_build_cmake.build"
3030

3131
[tool.py-build-cmake.module]

examples/minimal/src-python/minimal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
A simple, minimal example of building a Python C module using CMake.
33
"""
44

5-
__version__ = "0.4.0.dev0"
5+
__version__ = "0.4.0a0"

examples/nanobind-project/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.26)
22
project(nanobind-project VERSION 0.4.0)
3-
set(PY_VERSION_SUFFIX ".dev0")
3+
set(PY_VERSION_SUFFIX "a0")
44
set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX})
55

66
# Make sure that the Python and CMake versions match

examples/nanobind-project/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test = ["pytest>=7.2.0,<7.5"]
3131

3232
[build-system]
3333
requires = [
34-
"py-build-cmake~=0.4.0.dev0",
34+
"py-build-cmake~=0.4.0a0",
3535
"nanobind~=2.2.0",
3636
"typing_extensions~=4.12.2; python_version < '3.11'",
3737
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Example project using the py-build-cmake build backend and nanobind."""
22

3-
__version__ = "0.4.0.dev0"
3+
__version__ = "0.4.0a0"

examples/pybind11-project/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.18)
22
project(pybind11-project VERSION 0.4.0)
3-
set(PY_VERSION_SUFFIX ".dev0")
3+
set(PY_VERSION_SUFFIX "a0")
44
set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX})
55

66
# Make sure that the Python and CMake versions match

examples/pybind11-project/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test = ["pytest>=7.2.0,<7.5"]
3232

3333
[build-system]
3434
requires = [
35-
"py-build-cmake~=0.4.0.dev0",
35+
"py-build-cmake~=0.4.0a0",
3636
"pybind11~=2.13.6",
3737
"pybind11-stubgen~=2.5.1",
3838
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Example project using the py-build-cmake build backend and pybind11."""
22

3-
__version__ = "0.4.0.dev0"
3+
__version__ = "0.4.0a0"

examples/swig-project/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.18)
22
project(swig-project VERSION 0.4.0)
3-
set(PY_VERSION_SUFFIX ".dev0")
3+
set(PY_VERSION_SUFFIX "a0")
44
set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX})
55
set(Py_LIMITED_API 0x03070000 CACHE STRING
66
"CPython stable ABI version. Should match abi3_minimum_cpython_version")

examples/swig-project/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test = ["pytest>=7.2.0,<7.5"]
3232

3333
[build-system]
3434
requires = [
35-
"py-build-cmake~=0.4.0.dev0",
35+
"py-build-cmake~=0.4.0a0",
3636
"swig~=4.3.0", # https://github.com/nightlark/swig-pypi
3737
]
3838
build-backend = "py_build_cmake.build"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Example project using the py-build-cmake build backend and SWIG."""
22

3-
__version__ = "0.4.0.dev0"
3+
__version__ = "0.4.0a0"

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import sysconfig as dist_sysconfig
3636
from sysconfig import get_platform as sysconfig_get_platform
3737

38-
version = "0.4.0.dev0"
38+
version = "0.4.0a0"
3939
project_dir = Path(__file__).resolve().parent
4040

4141
examples = "minimal-program", "pybind11-project", "nanobind-project"

src/py_build_cmake/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
extensions built using CMake.
44
"""
55

6-
__version__ = "0.4.0.dev0"
6+
__version__ = "0.4.0a0"

test-packages/bare-c-module/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "bare_c_module"
3-
version = "0.4.0.dev0"
3+
version = "0.4.0a0"
44
description = "Single extension module, without any folders or __init__.py"
55
readme = "README.md"
66
requires-python = ">=3.7"
@@ -26,7 +26,7 @@ urls = { "Documentation" = "https://tttapa.github.io/" }
2626
dependencies = []
2727

2828
[build-system]
29-
requires = ["py-build-cmake~=0.4.0.dev0"]
29+
requires = ["py-build-cmake~=0.4.0a0"]
3030
build-backend = "py_build_cmake.build"
3131

3232
[tool.py-build-cmake.module]

test-packages/cmake-options/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cmake_options"
3-
version = "0.4.0.dev0"
3+
version = "0.4.0a0"
44
description = "Checks parsing and escaping of CMake options"
55
readme = "README.md"
66
requires-python = ">=3.7"
@@ -12,7 +12,7 @@ urls = { "Documentation" = "https://tttapa.github.io/" }
1212
dependencies = []
1313

1414
[build-system]
15-
requires = ["py-build-cmake~=0.4.0.dev0"]
15+
requires = ["py-build-cmake~=0.4.0a0"]
1616
build-backend = "py_build_cmake.build"
1717

1818
[tool.py-build-cmake.sdist]

test-packages/cmake-preset/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[project]
22
name = "cmake-preset"
3-
version = "0.4.0.dev0"
3+
version = "0.4.0a0"
44
description = "Test the use of CMake presets"
55
readme = "README.md"
66
requires-python = ">=3.7"
77
license = { "file" = "LICENSE" }
88
authors = [{ "name" = "Pieter P", "email" = "[email protected]" }]
99

1010
[build-system]
11-
requires = ["py-build-cmake~=0.4.0.dev0"]
11+
requires = ["py-build-cmake~=0.4.0a0"]
1212
build-backend = "py_build_cmake.build"
1313

1414
[tool.py-build-cmake.module]

test-packages/find-python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[project]
22
name = "find-python"
3-
version = "0.4.0.dev0"
3+
version = "0.4.0a0"
44
description = "Test for CMake FindPython"
55
requires-python = ">=3.7"
66
license = { "text" = "-" }
77

88
[build-system]
9-
requires = ["py-build-cmake~=0.4.0.dev0"]
9+
requires = ["py-build-cmake~=0.4.0a0"]
1010
build-backend = "py_build_cmake.build"
1111

1212
[tool.py-build-cmake.module]

test-packages/local-options/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "local_options"
3-
version = "0.4.0.dev0"
3+
version = "0.4.0a0"
44
description = "Checks loading of local override files"
55
readme = "README.md"
66
requires-python = ">=3.7"
@@ -12,7 +12,7 @@ urls = { "Documentation" = "https://tttapa.github.io/" }
1212
dependencies = []
1313

1414
[build-system]
15-
requires = ["py-build-cmake~=0.4.0.dev0"]
15+
requires = ["py-build-cmake~=0.4.0a0"]
1616
build-backend = "py_build_cmake.build"
1717

1818
[tool.py-build-cmake.sdist]

test-packages/namespace-project-a/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.18)
22
project(pybind11-project VERSION 0.4.0)
3-
set(PY_VERSION_SUFFIX ".dev0")
3+
set(PY_VERSION_SUFFIX "a0")
44
set(PY_FULL_VERSION ${PROJECT_VERSION}${PY_VERSION_SUFFIX})
55

66
# Make sure that the Python and CMake versions match

test-packages/namespace-project-a/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "namespace-project-a" # Name on PyPI
3-
version = "0.4.0.dev0"
3+
version = "0.4.0a0"
44
readme = "README.md"
55
description = "Part A of a namespace package"
66
requires-python = ">=3.7"
@@ -13,7 +13,7 @@ dependencies = []
1313

1414
[build-system]
1515
requires = [
16-
"py-build-cmake~=0.4.0.dev0",
16+
"py-build-cmake~=0.4.0a0",
1717
"pybind11~=2.13.6",
1818
"pybind11-stubgen~=2.5.1",
1919
]

test-packages/namespace-project-b/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "namespace-project-b" # Name on PyPI
3-
version = "0.4.0.dev0"
3+
version = "0.4.0a0"
44
readme = "README.md"
55
description = "Part B of a namespace package"
66
requires-python = ">=3.7"
@@ -13,7 +13,7 @@ dependencies = []
1313

1414
[build-system]
1515
requires = [
16-
"py-build-cmake~=0.4.0.dev0",
16+
"py-build-cmake~=0.4.0a0",
1717
]
1818
build-backend = "py_build_cmake.build"
1919

0 commit comments

Comments
 (0)