Skip to content

Commit e27e4ad

Browse files
authored
Pin setuptools version<82 to fix pkg_resources not found error (#1516)
* Pin setuptools version<82 to fix pkg_resources not found error * Add quote * Pin all setuptools
1 parent bc1e4dc commit e27e4ad

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/CD.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Build
3434
shell: pwsh
3535
run: |
36-
pip install twine wheel setuptools
36+
pip install twine wheel "setuptools<82"
3737
python setup.py sdist bdist_wheel
3838
- name: Publish to PyPI
3939
env:

.github/workflows/deploy-website.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: pydoc-markdown install
4242
run: |
4343
python -m pip install --upgrade pip
44-
pip install pydoc-markdown==4.7.0 setuptools
44+
pip install pydoc-markdown==4.7.0 "setuptools<82"
4545
- name: pydoc-markdown run
4646
run: |
4747
pydoc-markdown
@@ -77,7 +77,7 @@ jobs:
7777
- name: pydoc-markdown install
7878
run: |
7979
python -m pip install --upgrade pip
80-
pip install pydoc-markdown==4.7.0 setuptools
80+
pip install pydoc-markdown==4.7.0 "setuptools<82"
8181
- name: pydoc-markdown run
8282
run: |
8383
pydoc-markdown

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
export LDFLAGS="$LDFLAGS -Wl,-rpath,/usr/local/opt/libomp/lib -L/usr/local/opt/libomp/lib -lomp"
6161
- name: Install packages and dependencies
6262
run: |
63-
python -m pip install --upgrade pip wheel setuptools
63+
python -m pip install --upgrade pip wheel "setuptools<82"
6464
pip install -e .
6565
python -c "import flaml"
6666
pip install -e .[test]

0 commit comments

Comments
 (0)