From c68d82246e1d6c2f17874b3167b4f720a90267dd Mon Sep 17 00:00:00 2001 From: Javier Arias Date: Thu, 3 Feb 2022 10:50:54 +0000 Subject: [PATCH 1/2] Isolate twine with pipx --- .github/workflows/publish-to-pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 10ce017..1602eba 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -22,7 +22,7 @@ jobs: # Upgrade pip python3 -m pip install --upgrade pip # Install build deps - python3 -m pip install setuptools wheel twine==3.7.1 + python3 -m pip install setuptools wheel # If requirements.txt exists, install from it if [ -f requirements.txt ]; then pip install -r requirements.txt; fi # Install the package from setup.py @@ -31,7 +31,7 @@ jobs: - name: Build and publish to PyPI run: | python3 setup.py sdist bdist_wheel - python3 -m twine upload dist/* + pipx run twine upload dist/* env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} From dd101159fa7fe4d08487499f7408154e6f5fa0fa Mon Sep 17 00:00:00 2001 From: Javier Arias Date: Thu, 3 Feb 2022 10:52:54 +0000 Subject: [PATCH 2/2] Bump v0.10.4 --- README.md | 2 +- thothlibrary/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 03d385d..d653c92 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Install is either via pip or cloning the repository. From pip: ```sh -python3 -m pip install thothlibrary==0.10.3 +python3 -m pip install thothlibrary==0.10.4 ``` Or from the repo: diff --git a/thothlibrary/__init__.py b/thothlibrary/__init__.py index 4a9b6e8..759fdc4 100644 --- a/thothlibrary/__init__.py +++ b/thothlibrary/__init__.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """GraphQL client for Thoth""" -__version__ = "0.10.3" +__version__ = "0.10.4" __author__ = "Javier Arias " __copyright__ = "Copyright (c) 2020 Open Book Publishers" __license__ = "Apache 2.0"