From 9c678dc7e13fd92809a33e5628218f9da577e68b Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 12 Apr 2024 10:02:46 -0400 Subject: [PATCH 1/2] build: Be able to build wheels for publishing. Previously wheel would just be installed wherever we needed it but python environment tooling seems to be moving away from that so explicitly install it since we need it for building and publishing wheels. --- .github/workflows/pypi-publish.yml | 2 +- ccx_keys/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 7b7dd6f..69f7448 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -18,7 +18,7 @@ jobs: python-version: 3.8 - name: Install pip - run: pip install -U pip + run: pip install -U pip wheel - name: Build package run: python setup.py sdist bdist_wheel diff --git a/ccx_keys/__init__.py b/ccx_keys/__init__.py index 338a614..af9942c 100644 --- a/ccx_keys/__init__.py +++ b/ccx_keys/__init__.py @@ -1,3 +1,3 @@ """init""" -__version__ = '1.2.2' +__version__ = '1.3.0' From 8bd4746ae46b2d2f7e5ca95ebcf4f7c75d7fc735 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 12 Apr 2024 10:19:05 -0400 Subject: [PATCH 2/2] build: Update to the latest codecov and add a repo token. Codecov is failing more often without this token so update to the latest version and add a token to the github actions secrets for this repo that can be used to fix coverage uploading. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80cf356..a250b1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,7 @@ jobs: - name: Run Coverage if: matrix.python-version == '3.8' && matrix.toxenv=='unittest' - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }}