@@ -54,14 +54,13 @@ Using GitHub actions, new `openvdb` versions are published to PyPI automatically
54
54
when a new OpenVDB release is made. Releases can also published to PyPI by
55
55
triggering the "Build and Release Python Bindings to PyPI" job, and specifying a
56
56
branch/ref; if no ref is specified, the most recent commit on the given branch
57
- is used. Publishing to PyPI requires an API token to be specified as a secret
58
- ( ` PYPI_API_TOKEN ` ) on the repository .
57
+ is used. Publishing to PyPI requires [ trusted publishing ] [ publishing ] to be
58
+ configured on PyPI .
59
59
60
60
If a maintainer wants to test the release process, they can do so by triggering
61
- a workflow dispatch, and clicking the option to release to ` test.pypi.org ` . In
62
- this case, a separate ` TEST_PYPI_API_TOKEN ` secret must be defined for the
63
- repository. Once the release is published to the PYPI testing index, you can
64
- install the release with
61
+ a workflow dispatch, and clicking the option to release to ` test.pypi.org ` . Once
62
+ the release is published to the PYPI testing index, you can install the release
63
+ with
65
64
66
65
``` bash
67
66
pip install -v --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ openvdb
@@ -77,3 +76,4 @@ packaging for openvdb.
77
76
78
77
[ scikit-build-core ] : https://github.com/scikit-build/scikit-build-core
79
78
[ cmake_flags ] : https://cmake.org/cmake/help/latest/module/FindPython.html
79
+ [ publishing ] : https://docs.pypi.org/trusted-publishers/
0 commit comments