Skip to content

Commit

Permalink
Fix "TypeError: canonicalize_version() got an unexpected keyword argu…
Browse files Browse the repository at this point in the history
…ment 'strip_trailing_zero'" (#236)

* Fix TypeError: canonicalize_version()

* Remove test dockerfile
  • Loading branch information
aalexfvk authored Sep 23, 2024
1 parent 0e66e24 commit 63be161
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 63be161

Please sign in to comment.