Skip to content

Commit add4d29

Browse files
authored
Upload development builds to private PyPI index (#8935)
1 parent 7582ea4 commit add4d29

4 files changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/pip.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ jobs:
246246
- uses: pypa/gh-action-pypi-publish@release/v1
247247
if: github.event_name == 'push' && github.ref_name == 'main'
248248
with:
249-
repository-url: https://test.pypi.org/legacy/
249+
user: upload
250+
password: ${{ secrets.HALIDE_PYPI_PASSWORD }}
251+
repository-url: https://pypi.halide-lang.org/legacy/
250252

251253
- uses: pypa/gh-action-pypi-publish@release/v1
252254
if: github.event_name == 'release' && github.event.action == 'published'

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ Full releases may be installed with `pip` like so:
4242
$ pip install halide
4343
```
4444

45-
Every commit to `main` is published to Test PyPI as a development version and
46-
these may be installed with a few extra flags:
45+
Every commit to `main` is published to a private PyPI index as a development
46+
version and these may be installed with a few extra flags:
4747

4848
```shell
49-
$ pip install halide --pre --extra-index-url https://test.pypi.org/simple
49+
$ pip install halide --pre --extra-index-url https://pypi.halide-lang.org/simple
5050
```
5151

5252
Currently, we provide wheels for: Windows x86-64, macOS x86-64, macOS arm64, and

doc/Python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ installed with `pip` like so:
5353
$ pip install halide
5454
```
5555

56-
Every commit to `main` is published to Test PyPI as a development version and
57-
these may be installed with a few extra flags:
56+
Every commit to `main` is published to a private PyPI index as a development
57+
version and these may be installed with a few extra flags:
5858

5959
```shell
60-
$ pip install halide --pre --extra-index-url https://test.pypi.org/simple
60+
$ pip install halide --pre --extra-index-url https://pypi.halide-lang.org/simple
6161
```
6262

6363
Currently, we provide wheels for: Windows x86-64, macOS x86-64, macOS arm64, and

src/MainPage.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
*
2828
* If you are looking for a binary release, we suggest using pip to install
2929
* either a <a href="https://pypi.org/project/halide">stable release</a> or
30-
* a <a href="https://test.pypi.org/project/halide">nightly build</a> from
31-
* Test PyPI.
30+
* a <a href="https://pypi.halide-lang.org/simple/halide">nightly build</a> from
31+
* our own PyPI index.
3232
*
3333
* If you plan to build your program with CMake, you might be interested in
3434
* documentation for <a href="https://github.com/halide/Halide/blob/main/doc/HalideCMakePackage.md">

0 commit comments

Comments
 (0)