Skip to content

Commit 6ddddbe

Browse files
committed
Version 0.3.2
1 parent b093090 commit 6ddddbe

File tree

28 files changed

+75
-75
lines changed

28 files changed

+75
-75
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.3.2.dev0"]
66+
requires = ["py-build-cmake~=0.3.2"]
6767
build-backend = "py_build_cmake.build"
6868

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

docs/Cross-compilation.md

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Let's go over these requirements step by step:
104104
We'll first clone `py-build-cmake` and its example projects:
105105

106106
```sh
107-
git clone https://github.com/tttapa/py-build-cmake --branch=0.3.1
107+
git clone https://github.com/tttapa/py-build-cmake --branch=0.3.2
108108
cd py-build-cmake
109109
```
110110

@@ -209,15 +209,15 @@ If everything worked as expected, you should see output similar to the following
209209
[100%] Built target _add_module
210210
-- Installing: /tmp/xxxxx/staging/pybind11_project/_add_module.cpython-311-aarch64-linux-gnu.so
211211
[...]
212-
Successfully built pybind11_project-0.3.1-cp311-cp311-manylinux_2_27_aarch64.whl
212+
Successfully built pybind11_project-0.3.2-cp311-cp311-manylinux_2_27_aarch64.whl
213213
```
214214
You can see that CMake is using the cross-compiler we downloaded, and that it
215215
managed to locate the version of Python we requested (CPython 3.11 for AArch64).
216216
It is important to verify the module extension suffix
217217
(`.cpython-311-aarch64-linux-gnu.so` in this case) and the Wheel tags
218218
(`cp311-cp311-manylinux_2_27_aarch64`).
219219

220-
You can now copy the Wheel package in `examples/pybind11-project/dist/pybind11_project-0.3.1-cp311-cp311-manylinux_2_27_aarch64.whl`
220+
You can now copy the Wheel package in `examples/pybind11-project/dist/pybind11_project-0.3.2-cp311-cp311-manylinux_2_27_aarch64.whl`
221221
to e.g. a Raspberry Pi and install it using `pip install`.
222222

223223
### Automated Bash scripts
@@ -237,42 +237,42 @@ You can find the resulting Wheel packages in the
237237
`examples/pybind11-project/dist` directory:
238238
```sh
239239
examples/pybind11-project/dist
240-
├── pybind11_project-0.3.1-cp37-cp37m-linux_armv6l.whl
241-
├── pybind11_project-0.3.1-cp37-cp37m-manylinux_2_27_aarch64.whl
242-
├── pybind11_project-0.3.1-cp37-cp37m-manylinux_2_27_armv7l.whl
243-
├── pybind11_project-0.3.1-cp37-cp37m-manylinux_2_27_x86_64.whl
244-
├── pybind11_project-0.3.1-cp38-cp38-linux_armv6l.whl
245-
├── pybind11_project-0.3.1-cp38-cp38-manylinux_2_27_aarch64.whl
246-
├── pybind11_project-0.3.1-cp38-cp38-manylinux_2_27_armv7l.whl
247-
├── pybind11_project-0.3.1-cp38-cp38-manylinux_2_27_x86_64.whl
248-
├── pybind11_project-0.3.1-cp39-cp39-linux_armv6l.whl
249-
├── pybind11_project-0.3.1-cp39-cp39-manylinux_2_27_aarch64.whl
250-
├── pybind11_project-0.3.1-cp39-cp39-manylinux_2_27_armv7l.whl
251-
├── pybind11_project-0.3.1-cp39-cp39-manylinux_2_27_x86_64.whl
252-
├── pybind11_project-0.3.1-cp310-cp310-linux_armv6l.whl
253-
├── pybind11_project-0.3.1-cp310-cp310-manylinux_2_27_aarch64.whl
254-
├── pybind11_project-0.3.1-cp310-cp310-manylinux_2_27_armv7l.whl
255-
├── pybind11_project-0.3.1-cp310-cp310-manylinux_2_27_x86_64.whl
256-
├── pybind11_project-0.3.1-cp311-cp311-linux_armv6l.whl
257-
├── pybind11_project-0.3.1-cp311-cp311-manylinux_2_27_aarch64.whl
258-
├── pybind11_project-0.3.1-cp311-cp311-manylinux_2_27_armv7l.whl
259-
├── pybind11_project-0.3.1-cp311-cp311-manylinux_2_27_x86_64.whl
260-
├── pybind11_project-0.3.1-cp312-cp312-linux_armv6l.whl
261-
├── pybind11_project-0.3.1-cp312-cp312-manylinux_2_27_aarch64.whl
262-
├── pybind11_project-0.3.1-cp312-cp312-manylinux_2_27_armv7l.whl
263-
├── pybind11_project-0.3.1-cp312-cp312-manylinux_2_27_x86_64.whl
264-
├── pybind11_project-0.3.1-cp313-cp313-linux_armv6l.whl
265-
├── pybind11_project-0.3.1-cp313-cp313-manylinux_2_27_aarch64.whl
266-
├── pybind11_project-0.3.1-cp313-cp313-manylinux_2_27_armv7l.whl
267-
├── pybind11_project-0.3.1-cp313-cp313-manylinux_2_27_x86_64.whl
268-
├── pybind11_project-0.3.1-pp37-pypy37_pp73-manylinux_2_27_aarch64.whl
269-
├── pybind11_project-0.3.1-pp37-pypy37_pp73-manylinux_2_27_x86_64.whl
270-
├── pybind11_project-0.3.1-pp38-pypy38_pp73-manylinux_2_27_aarch64.whl
271-
├── pybind11_project-0.3.1-pp38-pypy38_pp73-manylinux_2_27_x86_64.whl
272-
├── pybind11_project-0.3.1-pp39-pypy39_pp73-manylinux_2_27_aarch64.whl
273-
├── pybind11_project-0.3.1-pp39-pypy39_pp73-manylinux_2_27_x86_64.whl
274-
├── pybind11_project-0.3.1-pp310-pypy310_pp73-manylinux_2_27_aarch64.whl
275-
└── pybind11_project-0.3.1-pp310-pypy310_pp73-manylinux_2_27_x86_64.whl
240+
├── pybind11_project-0.3.2-cp37-cp37m-linux_armv6l.whl
241+
├── pybind11_project-0.3.2-cp37-cp37m-manylinux_2_27_aarch64.whl
242+
├── pybind11_project-0.3.2-cp37-cp37m-manylinux_2_27_armv7l.whl
243+
├── pybind11_project-0.3.2-cp37-cp37m-manylinux_2_27_x86_64.whl
244+
├── pybind11_project-0.3.2-cp38-cp38-linux_armv6l.whl
245+
├── pybind11_project-0.3.2-cp38-cp38-manylinux_2_27_aarch64.whl
246+
├── pybind11_project-0.3.2-cp38-cp38-manylinux_2_27_armv7l.whl
247+
├── pybind11_project-0.3.2-cp38-cp38-manylinux_2_27_x86_64.whl
248+
├── pybind11_project-0.3.2-cp39-cp39-linux_armv6l.whl
249+
├── pybind11_project-0.3.2-cp39-cp39-manylinux_2_27_aarch64.whl
250+
├── pybind11_project-0.3.2-cp39-cp39-manylinux_2_27_armv7l.whl
251+
├── pybind11_project-0.3.2-cp39-cp39-manylinux_2_27_x86_64.whl
252+
├── pybind11_project-0.3.2-cp310-cp310-linux_armv6l.whl
253+
├── pybind11_project-0.3.2-cp310-cp310-manylinux_2_27_aarch64.whl
254+
├── pybind11_project-0.3.2-cp310-cp310-manylinux_2_27_armv7l.whl
255+
├── pybind11_project-0.3.2-cp310-cp310-manylinux_2_27_x86_64.whl
256+
├── pybind11_project-0.3.2-cp311-cp311-linux_armv6l.whl
257+
├── pybind11_project-0.3.2-cp311-cp311-manylinux_2_27_aarch64.whl
258+
├── pybind11_project-0.3.2-cp311-cp311-manylinux_2_27_armv7l.whl
259+
├── pybind11_project-0.3.2-cp311-cp311-manylinux_2_27_x86_64.whl
260+
├── pybind11_project-0.3.2-cp312-cp312-linux_armv6l.whl
261+
├── pybind11_project-0.3.2-cp312-cp312-manylinux_2_27_aarch64.whl
262+
├── pybind11_project-0.3.2-cp312-cp312-manylinux_2_27_armv7l.whl
263+
├── pybind11_project-0.3.2-cp312-cp312-manylinux_2_27_x86_64.whl
264+
├── pybind11_project-0.3.2-cp313-cp313-linux_armv6l.whl
265+
├── pybind11_project-0.3.2-cp313-cp313-manylinux_2_27_aarch64.whl
266+
├── pybind11_project-0.3.2-cp313-cp313-manylinux_2_27_armv7l.whl
267+
├── pybind11_project-0.3.2-cp313-cp313-manylinux_2_27_x86_64.whl
268+
├── pybind11_project-0.3.2-pp37-pypy37_pp73-manylinux_2_27_aarch64.whl
269+
├── pybind11_project-0.3.2-pp37-pypy37_pp73-manylinux_2_27_x86_64.whl
270+
├── pybind11_project-0.3.2-pp38-pypy38_pp73-manylinux_2_27_aarch64.whl
271+
├── pybind11_project-0.3.2-pp38-pypy38_pp73-manylinux_2_27_x86_64.whl
272+
├── pybind11_project-0.3.2-pp39-pypy39_pp73-manylinux_2_27_aarch64.whl
273+
├── pybind11_project-0.3.2-pp39-pypy39_pp73-manylinux_2_27_x86_64.whl
274+
├── pybind11_project-0.3.2-pp310-pypy310_pp73-manylinux_2_27_aarch64.whl
275+
└── pybind11_project-0.3.2-pp310-pypy310_pp73-manylinux_2_27_x86_64.whl
276276
```
277277

278278
### A closer look at the CMake toolchain files

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.3.2.dev0"]
11-
version = "0.3.2.dev0"
10+
dependencies = ["minimal-comp==0.3.2"]
11+
version = "0.3.2"
1212
description = "Debug symbols for the minimal package."
1313

1414
[build-system]
15-
requires = ["py-build-cmake~=0.3.2.dev0"]
15+
requires = ["py-build-cmake~=0.3.2"]
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.3.2.dev0"]
29+
debug = ["minimal-debug==0.3.2"]
3030

3131
[build-system]
32-
requires = ["py-build-cmake~=0.3.2.dev0"]
32+
requires = ["py-build-cmake~=0.3.2"]
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.3.2.dev0"
5+
__version__ = "0.3.2"

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.3.2.dev0"]
28+
requires = ["py-build-cmake~=0.3.2"]
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.3.2.dev0"
5+
__version__ = "0.3.2"

examples/minimal/README.md

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

126126
```toml
127127
[build-system]
128-
requires = ["py-build-cmake~=0.3.2.dev0"]
128+
requires = ["py-build-cmake~=0.3.2"]
129129
build-backend = "py_build_cmake.build"
130130
```
131131

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.3.2.dev0"]
28+
requires = ["py-build-cmake~=0.3.2"]
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.3.2.dev0"
5+
__version__ = "0.3.2"

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.3.2)
3-
set(PY_VERSION_SUFFIX ".dev0")
3+
set(PY_VERSION_SUFFIX "")
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.3.2.dev0",
34+
"py-build-cmake~=0.3.2",
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.3.2.dev0"
3+
__version__ = "0.3.2"

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.3.2)
3-
set(PY_VERSION_SUFFIX ".dev0")
3+
set(PY_VERSION_SUFFIX "")
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.3.2.dev0",
35+
"py-build-cmake~=0.3.2",
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.3.2.dev0"
3+
__version__ = "0.3.2"

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.3.2)
3-
set(PY_VERSION_SUFFIX ".dev0")
3+
set(PY_VERSION_SUFFIX "")
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.3.2.dev0",
35+
"py-build-cmake~=0.3.2",
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.3.2.dev0"
3+
__version__ = "0.3.2"

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
else:
3434
import sysconfig as dist_sysconfig
3535

36-
version = "0.3.2.dev0"
36+
version = "0.3.2"
3737
project_dir = Path(__file__).resolve().parent
3838

3939
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.3.2.dev0"
6+
__version__ = "0.3.2"

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.3.2.dev0"
3+
version = "0.3.2"
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.3.2.dev0"]
29+
requires = ["py-build-cmake~=0.3.2"]
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.3.2.dev0"
3+
version = "0.3.2"
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.3.2.dev0"]
15+
requires = ["py-build-cmake~=0.3.2"]
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.3.2.dev0"
3+
version = "0.3.2"
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.3.2.dev0"]
11+
requires = ["py-build-cmake~=0.3.2"]
1212
build-backend = "py_build_cmake.build"
1313

1414
[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.3.2.dev0"
3+
version = "0.3.2"
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.3.2.dev0"]
15+
requires = ["py-build-cmake~=0.3.2"]
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.3.2)
3-
set(PY_VERSION_SUFFIX ".dev0")
3+
set(PY_VERSION_SUFFIX "")
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.3.2.dev0"
3+
version = "0.3.2"
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.3.2.dev0",
16+
"py-build-cmake~=0.3.2",
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.3.2.dev0"
3+
version = "0.3.2"
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.3.2.dev0",
16+
"py-build-cmake~=0.3.2",
1717
]
1818
build-backend = "py_build_cmake.build"
1919

0 commit comments

Comments
 (0)