Skip to content

Commit

Permalink
Setuptoolsをダウングレード (#330)
Browse files Browse the repository at this point in the history
* setuptoolsをダウングレード

* add linux

* move

* add windows
  • Loading branch information
Hiroshiba authored Feb 18, 2022
1 parent 2cdd49c commit ca48f2f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ jobs:
- name: Install Python dependencies
shell: bash
run: |
pip install --upgrade pip setuptools wheel
# FIXME: Nuitka cannot build with setuptools>=60.7.0
# https://github.com/Nuitka/Nuitka/issues/1406
pip install --upgrade pip setuptools==60.6.0 wheel
pip install -r requirements-dev.txt
- name: Generate licenses.json
Expand Down Expand Up @@ -490,7 +492,9 @@ jobs:
- name: Install Python dependencies
shell: bash
run: |
python -m pip install --upgrade pip setuptools wheel
# FIXME: Nuitka cannot build with setuptools>=60.7.0
# https://github.com/Nuitka/Nuitka/issues/1406
python -m pip install --upgrade pip setuptools==60.6.0 wheel
python -m pip install -r requirements-dev.txt
# Download pyopenjtalk dictionary
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ COPY --from=compile-python-env /opt/python /opt/python
ADD ./requirements.txt /tmp/
RUN <<EOF
# Install requirements
gosu user /opt/python/bin/python3 -m pip install --upgrade pip setuptools wheel
# FIXME: Nuitka cannot build with setuptools>=60.7.0
# https://github.com/Nuitka/Nuitka/issues/1406
gosu user /opt/python/bin/python3 -m pip install --upgrade pip setuptools==60.6.0 wheel
gosu user /opt/python/bin/pip3 install -r /tmp/requirements.txt
EOF

Expand Down

0 comments on commit ca48f2f

Please sign in to comment.