From c24d98007bd5dbc22b46287c7177a9705ba71fe0 Mon Sep 17 00:00:00 2001 From: Rolf Krahl Date: Thu, 20 Apr 2023 17:45:54 +0200 Subject: [PATCH] Remove outdated paragraph on constraints on the setuptools version --- README.md | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/README.md b/README.md index 24fcfee7..b5b275fc 100644 --- a/README.md +++ b/README.md @@ -129,26 +129,6 @@ Or you can specify the version you want to install from the listed versions with curl -sSL https://install.python-poetry.org | python3 - --version 1.2.0 ``` -Before installing the API's dependencies, check the version of `setuptools`: - -```bash -poetry run pip list | grep setuptools -``` - -If a version < 58.0.0 is not being used, changes need to be made so that a suitable -version is being used. This is because Python ICAT uses `2to3` when building itself to -ensure Python 3 import statements are used when using Python 3. 58.0.0 of setuptools -[removes support of this tool during builds](https://setuptools.pypa.io/en/latest/history.html#v58-0-0). -If a newer version of setuptools is used, you will likely face an error similar to -what's described in -[issue #99 of Python ICAT](https://github.com/icatproject/python-icat/issues/99). To use -a supported version, execute the following commands: - -```bash -poetry run pip uninstall -y setuptools -poetry run pip install 'setuptools<58.0.0' -``` - The dependencies for this repo are stored in `pyproject.toml`, with a more detailed version of this data in `poetry.lock`. The lock file is used to maintain the exact versions of dependencies from system to system. To install the dependencies, execute the