From 5764a2b4aff803dff45d903370cc70f2000aa7ef Mon Sep 17 00:00:00 2001 From: Junpeng Lao Date: Mon, 24 Jun 2024 07:01:50 +0200 Subject: [PATCH] Remove nightly release (#699) --- .github/workflows/nightly.yml | 48 ----------------------------------- README.md | 6 ----- docs/index.md | 6 ----- 3 files changed, 60 deletions(-) delete mode 100644 .github/workflows/nightly.yml diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml deleted file mode 100644 index 6472e4421..000000000 --- a/.github/workflows/nightly.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Nightly - -on: - push: - branches: [main] - -jobs: - build_and_publish: - name: Build and publish on PyPi - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: actions/setup-python@v4 - with: - python-version: 3.11 - - name: Update pyproject.toml - # Taken from https://github.com/aesara-devs/aesara/pull/1375 - run: | - curl -sSLf https://github.com/TomWright/dasel/releases/download/v2.0.2/dasel_linux_amd64 \ - -L -o /tmp/dasel && chmod +x /tmp/dasel - /tmp/dasel put -f pyproject.toml project.name -v blackjax-nightly - /tmp/dasel put -f pyproject.toml tool.setuptools_scm.version_scheme -v post-release - /tmp/dasel put -f pyproject.toml tool.setuptools_scm.local_scheme -v no-local-version - - name: Build the sdist and wheel - run: | - python -m pip install -U pip - python -m pip install build - python -m build - - name: Check sdist install and imports - run: | - mkdir -p test-sdist - cd test-sdist - python -m venv venv-sdist - venv-sdist/bin/python -m pip install ../dist/blackjax-nightly-*.tar.gz - venv-sdist/bin/python -c "import blackjax" - - name: Check wheel install and imports - run: | - mkdir -p test-wheel - cd test-wheel - python -m venv venv-wheel - venv-wheel/bin/python -m pip install ../dist/blackjax_nightly-*.whl - - name: Publish to PyPi - uses: pypa/gh-action-pypi-publish@v1.4.2 - with: - user: __token__ - password: ${{ secrets.PYPI_NIGHTLY_TOKEN }} diff --git a/README.md b/README.md index d7d78b15f..a8d847cf9 100644 --- a/README.md +++ b/README.md @@ -41,12 +41,6 @@ or via conda-forge: conda install -c conda-forge blackjax ``` -Nightly builds (bleeding edge) of Blackjax can also be installed using `pip`: - -```bash -pip install blackjax-nightly -``` - BlackJAX is written in pure Python but depends on XLA via JAX. By default, the version of JAX that will be installed along with BlackJAX will make your code run on CPU only. **If you want to use BlackJAX on GPU/TPU** we recommend you follow diff --git a/docs/index.md b/docs/index.md index 0fd84d860..edc02631c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -57,13 +57,7 @@ If you want to use Blackjax with a model implemented with a PPL, go to the relat ```{code-block} bash pip install blackjax ``` -::: -:::{tab-item} Nightly -```{code-block} bash -pip install blackjax-nightly -``` -::: :::{tab-item} Conda ```{code-block} bash