Skip to content

Commit 2eacdfd

Browse files
committed
ci: pin setuptools and constrain gevent build deps
1 parent 7621d05 commit 2eacdfd

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282

8383
mac_check:
8484
name: MacOS Check
85-
runs-on: macos-13
85+
runs-on: macos-latest
8686
steps:
8787
- name: Checkout Code
8888
uses: actions/checkout@v2

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363

6464
mac_check:
6565
name: MacOS Check
66-
runs-on: macos-13
66+
runs-on: macos-latest
6767
steps:
6868
- name: Checkout Code
6969
uses: actions/checkout@v2

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,22 @@ environment:
1616
python3 -m pip install -U pip
1717
pip3 install 'poetry==1.8.3'
1818
poetry config virtualenvs.in-project true
19-
poetry install
20-
poetry run pip install setuptools
19+
printf "Cython<3\n" > /tmp/pip-constraints.txt
20+
PIP_CONSTRAINT=/tmp/pip-constraints.txt poetry install
21+
poetry run pip install 'setuptools<81'
2122
@echo 🚨 Be sure to add poetry to PATH
2223
make fetch-sample-data
2324

2425
install:
2526
@echo 🔧 INSTALL
2627
poetry install
27-
poetry run pip install setuptools
28+
poetry run pip install 'setuptools<81'
2829

2930
build:
3031
@echo 🔨 BUILD
3132
poetry build
3233
poetry install
33-
poetry run pip install setuptools
34+
poetry run pip install 'setuptools<81'
3435

3536
openssl-fix:
3637
export LDFLAGS=-L/usr/local/opt/openssl/lib

0 commit comments

Comments
 (0)