Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Disable setup.py test dependency version checks #46

Open
modelmat opened this issue Feb 9, 2019 · 2 comments
Open

Disable setup.py test dependency version checks #46

modelmat opened this issue Feb 9, 2019 · 2 comments

Comments

@modelmat
Copy link
Collaborator

modelmat commented Feb 9, 2019

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.

@derrix060
Copy link
Owner

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.

@modelmat
Copy link
Collaborator Author

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).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants