Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(support/troubleshooting): update information about python setuptools in troubleshooting section #346

Merged
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/support/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,14 @@ During building the following issue can occurs
pkg_resources.extern.packaging.version.InvalidVersion: Invalid version: '0.23ubuntu1'
```

The error is due to the fact that since version 66.0.0 `setuptools` enforces the python packages to be
The error is due to the fact that for versions between 66.0.0 and 67.5.0 `setuptools` enforces the python packages to be
[PEP-440](https://peps.python.org/pep-0440/) conformant.
Since version 67.5.1 `setuptools` added [fallback](https://github.com/pypa/setuptools/commit/1640731114734043b8500d211366fc941b741f67) that makes it possible to work with old packages again.
TauTheLepton marked this conversation as resolved.
Show resolved Hide resolved

The workaround is to lower the version of `setuptools` to 65 or lower. It can be done using the following command
The solution is to update `setuptools` to the newest version with the following command

```bash
pip install -U setuptools==65.7.0
pip install --upgrade setuptools
```

## Docker/rocker issues
Expand Down