Skip to content

Commit 5d1b838

Browse files
authored
Comment out install dependencies
1 parent e1a5478 commit 5d1b838

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,20 @@ jobs:
1818
uses: actions/setup-python@v5
1919
with:
2020
python-version: "3.10"
21-
- name: Install dependencies
22-
env:
23-
SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL: True
21+
- name: Install build tools and doc build tools
2422
run: |
25-
python -m pip install --upgrade "pip<24.1" "setuptools==73.0.1"
26-
if [ -f docker_requirements.txt ]; then pip install -r docker_requirements.txt; fi
27-
python -m pip install .[full]
28-
python -m pip install boto smart_open sphinx sphinx-rtd-theme
23+
pip install --upgrade "pip<24.1" "setuptools>=65.0.2,<=73.0.1"
24+
pip install boto smart_open sphinx sphinx-rtd-theme
25+
# pip<24.1 because https://github.com/omry/omegaconf/pull/1195
26+
# setuptools>=65.0.2 because https://github.com/pypa/setuptools/commit/d03da04e024ad4289342077eef6de40013630a44#diff-9ea6e1e3dde6d4a7e08c7c88eceed69ca745d0d2c779f8f85219b22266efff7fR1
27+
# setuptools<=73.0.1 because https://github.com/pypa/setuptools/issues/4620
28+
#- name: Install dependencies
29+
# env:
30+
# SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL: True
31+
# run: |
32+
# if [ -f docker_requirements.txt ]; then pip install -r docker_requirements.txt; fi
33+
- name: Install PyThaiNLP
34+
run: pip install .
2935
- name: Build sphinx documentation
3036
run: |
3137
cd docs && make html

0 commit comments

Comments
 (0)