Open modelmat opened 5 years ago
I would say that if the requirements specify an specific version, this version needs to be used. Can you investigate to see if is possible to install via AUR in a virtual environment? This way it won't mix up any other python dependency that might be installed.
I've looked before and it seems it would be lots of hassle. I can try, but it's probably not the best - even the commands will have to somehow activate the virtual environment (though this is fine for systemd services).
I believe this is actually part of the
setuptools
functionality, so I'm not sure if this is even possible.When installing via the AUR, there is the option to add a check function which runs the tests when building. However, because the packages are installed straight from the Arch repositories, they are often the latest version - which requirements.txt specifies they are not to be. So far, it hasn't caused any issues aside from running the texts, it will complain about the incorrect versions of packages before completing the tests (and hence will fail).
It would be great if it was possible to run
python setup.py test
--no-check-dependencies` (or the like) which does not check the dependency versions.