From 4fc487c0047abad7f0dbffef20c6b479d3d1f392 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Thu, 18 Jul 2024 09:41:07 -0400 Subject: [PATCH 1/3] pin setuptools to address setuptools#4483 --- .github/workflows/main.yml | 3 +-- build-requirements.txt | 5 +++++ dev-requirements.txt | 4 +--- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 build-requirements.txt diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e21d453fe..f32959faf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -132,8 +132,7 @@ jobs: - name: Install python dependencies run: | python -m pip install --user --upgrade pip - python -m pip install --upgrade setuptools wheel twine check-wheel-contents - python -m pip --version + python -m pip install -r build-requirements.txt - name: Build distributions run: ./scripts/build-dist.sh diff --git a/build-requirements.txt b/build-requirements.txt new file mode 100644 index 000000000..51554e657 --- /dev/null +++ b/build-requirements.txt @@ -0,0 +1,5 @@ +bumpversion~=0.6.0 +check-wheel-contents~=0.6.0 +setuptools~=70.0 +twine~=4.0 +wheel~=0.42 diff --git a/dev-requirements.txt b/dev-requirements.txt index ce327ab86..4db9b6d04 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -21,6 +21,4 @@ pytest-xdist~=3.5 tox~=4.11 # build -bumpversion~=0.6.0 -twine~=4.0 -wheel~=0.42 +-r build-requirements.txt From 63c18b3152f9e68b698770965923a790a5a4425e Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Thu, 18 Jul 2024 09:44:19 -0400 Subject: [PATCH 2/3] fix twine dep --- build-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-requirements.txt b/build-requirements.txt index 51554e657..7b52b4dac 100644 --- a/build-requirements.txt +++ b/build-requirements.txt @@ -1,5 +1,5 @@ bumpversion~=0.6.0 check-wheel-contents~=0.6.0 setuptools~=70.0 -twine~=4.0 +twine~=5.0 wheel~=0.42 From d5a347da659fac38108facc5726410c6d25105a5 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Thu, 18 Jul 2024 09:44:25 -0400 Subject: [PATCH 3/3] changelog --- .changes/unreleased/Fixes-20240718-094408.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changes/unreleased/Fixes-20240718-094408.yaml diff --git a/.changes/unreleased/Fixes-20240718-094408.yaml b/.changes/unreleased/Fixes-20240718-094408.yaml new file mode 100644 index 000000000..6f06a19cb --- /dev/null +++ b/.changes/unreleased/Fixes-20240718-094408.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: Pin `setuptools` to address pypa/setuptools#4483 +time: 2024-07-18T09:44:08.570433-04:00 +custom: + Author: mikealfare + Issue: "865"