openrsgis / pytdml

Python library for TrainingDML-AI encode/decode
MIT License
16 stars 7 forks source link

Update and install depenencies #12

Closed photonbit closed 3 months ago

photonbit commented 3 months ago

The previous set of dependencies seemed to be designed to run with python 3.6, and the package manager could not find a set of package versions to satisfy the constrains specified in the file.

dataclasses, setuptools, and the package self dependency were removed.

Some packages have been heavily upgraded and might come with breaking changes, the versions used before were from 2016 and 2018 in some cases.

In this PR we also address another error in the package, that required to install the dependencies downloading and using the requirements.txt file. With the code in setup.py they will be installed on package installation.

photonbit commented 3 months ago

The failure to resolve the dependencies can be seen in this action run: https://github.com/photonbit/pytdml/actions/runs/9905215056/job/27364285891