Skip to content

Commit

Permalink
Fix TypeError: canonicalize_version()
Browse files Browse the repository at this point in the history
  • Loading branch information
aalexfvk committed Sep 23, 2024
1 parent 0e66e24 commit df1ae5b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ $(INSTALL_DEPS_STAMP): $(VENV_DIR) pyproject.toml poetry.lock
@if [[ -n "${UPDATE_POETRY_LOCK}" ]]; then \
$(POETRY) update --lock; \
fi
# Fix "TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'"
# Related issue https://github.com/pypa/setuptools/issues/4483
# TODO: Try to remove this workaround after upgrading Poetry and Python version
$(VENV_DIR)/bin/pip install "setuptools<=71"
$(POETRY) install --no-root
touch $(INSTALL_DEPS_STAMP)

Expand Down

0 comments on commit df1ae5b

Please sign in to comment.