Based on some testing, the minimum versions of the dependencies have been adjusted. In addition, maximum versions for all python dependencies have been added.
Some adjustments worth highlighting:
- The minimum python version is 3.7 instead of 3.6. The reason is that python 3.6 requires pip <=21 which cannot decently deal with a pyproject.toml file.
- The maximum version for ete is 3 because version 4 introduced breaking changes in how tree objects are processed.
- The previous point means the maximum python version is 3.12 because ete v3 requires the cgi module, which was removed in python v3.13 (but this was already specified in pyproject.toml).
- The maximum version for pandas is 2 because the applymap method has been removed in version 3.
Full environment files for the minimum and maximum versions of all dependencies can now be found in the test folder.
In the near future, SCARAP will be made compatible with ete v4, pandas v3 and newer python versions.
Small update (19/02/2026): the minimum python version is in fact 3.8 because v3.7 lacks importlib.metadata. This will be corrected in the pyproject.toml and bioconda recipe of the next release.