Skip to content

Commit c52ef3a

Browse files
authored
Merge pull request #1668 from woodruffw-forks/ww/bump-tp-list
tool-recommendations: update Trusted Publisher providers
2 parents dd04e6d + e8193e1 commit c52ef3a

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

source/guides/tool-recommendations.rst

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,25 @@ to build distributable wheels.
139139
Uploading to PyPI
140140
=================
141141

142-
For projects hosted on GitHub, it is recommended to use the :ref:`trusted publishing
143-
<trusted-publishing>`, which allows the package to be securely uploaded to PyPI
144-
from a GitHub Actions job. (This is not yet supported on software forges other
145-
than GitHub.)
142+
For projects hosted on or published via supported CI/CD platforms, it is
143+
recommended to use the :ref:`Trusted Publishing <trusted-publishing>`, which
144+
allows the package to be securely uploaded to PyPI from a CI/CD workflow
145+
without a manually configured API token.
146+
147+
As of November 2024, PyPI supports the following platforms as Trusted Publishing
148+
providers:
149+
150+
* GitHub Actions (on ``https://github.com``)
151+
* GitLab CI/CD (on ``https://gitlab.com``)
152+
* ActiveState
153+
* Google Cloud
146154

147155
The other available method is to upload the package manually using :ref:`twine`.
148156

149-
**Never** use ``python setup.py upload`` for this task. In addition to being
150-
:ref:`deprecated <setup-py-deprecated>`, it is insecure.
157+
.. danger::
158+
159+
**Never** use ``python setup.py upload`` for this task. In addition to being
160+
:ref:`deprecated <setup-py-deprecated>`, it is insecure.
151161

152162

153163
Workflow tools

0 commit comments

Comments
 (0)