Skip to content

Commit

Permalink
try --only-binary
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Oct 10, 2024
1 parent c9d685c commit 551edb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/reusable-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ jobs:
run: ./configure --with-pydebug
- name: 'Build CPython'
run: make -j4
- name: 'Remove PyStemmer from requirements.txt'
run: sed -i '/PyStemmer.*/d' Doc/requirements.txt
- name: 'Install build dependencies'
run: make -C Doc/ PYTHON=../python venv
# Use "xvfb-run" since some doctest tests open GUI windows
Expand Down
4 changes: 2 additions & 2 deletions Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ venv:
echo "Creating venv in $(VENVDIR)"; \
if $(UV) --version >/dev/null 2>&1; then \
$(UV) venv $(VENVDIR); \
VIRTUAL_ENV=$(VENVDIR) $(UV) pip install -r $(REQUIREMENTS); \
VIRTUAL_ENV=$(VENVDIR) $(UV) pip install -r $(REQUIREMENTS) --only-binary PyStemmer; \
else \
$(PYTHON) -m venv $(VENVDIR); \
$(VENVDIR)/bin/python3 -m pip install --upgrade pip; \
$(VENVDIR)/bin/python3 -m pip install -r $(REQUIREMENTS); \
$(VENVDIR)/bin/python3 -m pip install -r $(REQUIREMENTS) --only-binary PyStemmer; \
fi; \
echo "The venv has been created in the $(VENVDIR) directory"; \
fi
Expand Down

0 comments on commit 551edb0

Please # to comment.