From 903ca3cabf955feb0602150589889f2ef7846ad4 Mon Sep 17 00:00:00 2001 From: Eric Berquist Date: Thu, 15 Feb 2024 12:58:19 -0500 Subject: [PATCH] use latest pip and setuptools in CI --- .github/workflows/publish.yml | 8 +++----- .github/workflows/test.yml | 2 ++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 046a814..17ca4f5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,11 +16,9 @@ jobs: with: python-version: "3.x" - name: Install pypa/build - run: >- - python3 -m - pip install - build - --user + run: | + python3 -m pip install -U pip setuptools + python3 -m pip install build --user - name: Build a binary wheel and a source tarball run: python3 -m build - name: Store the distribution packages diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eef6d50..6a08bb9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,6 +36,8 @@ jobs: show-channel-urls: true - name: Print Python environment run: python -m pip list + - name: Update installation infrastructure + run: python -m pip install -U setuptools pip - name: Print conda environment run: conda list - name: Print conda info