diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index d7fb1e46a..a9f5db34e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -30,11 +30,10 @@ jobs: - name: Install Poetry run: | - python -m pip install --upgrade pip - pip install setuptools wheel twine - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - - source $HOME/.poetry/env - echo `poetry --version` + export POETRY_HOME=/opt/poetry + python3 -m venv $POETRY_HOME + $POETRY_HOME/bin/pip install poetry==1.2.0 + $POETRY_HOME/bin/poetry --version echo "Poetry successfully installed" - name: Build and publish @@ -43,6 +42,6 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | - source $HOME/.poetry/env - poetry build + export POETRY_HOME=/opt/poetry + $POETRY_HOME/bin/poetry build twine upload --verbose --skip-existing dist/* -u $TWINE_USERNAME -p $TWINE_PASSWORD diff --git a/ersilia/_static_version.py b/ersilia/_static_version.py index 62631cb2e..0a9f344f7 100644 --- a/ersilia/_static_version.py +++ b/ersilia/_static_version.py @@ -1 +1 @@ -version = "0.1.27" +version = "0.1.29" diff --git a/pyproject.toml b/pyproject.toml index de907695f..33090b5a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ersilia" -version = "0.1.27" +version = "0.1.29" description = "A hub of AI/ML models for open source drug discovery and global health" license = "GPLv3" authors = ["Ersilia Open Source Initiative "]