File tree 1 file changed +16
-6
lines changed
1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -139,15 +139,25 @@ to build distributable wheels.
139
139
Uploading to PyPI
140
140
=================
141
141
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
146
154
147
155
The other available method is to upload the package manually using :ref: `twine `.
148
156
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.
151
161
152
162
153
163
Workflow tools
You can’t perform that action at this time.
0 commit comments