-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent behavior when using tox #244
Comments
This error is being caused by holoviews param. To be more specific, the param.version._update_from_vcs tries to update holoviews (not sure here) from GitHub using the latest Tag and commit hash. The expected tag-hash format within this function is not compatible with our current It turns out that, although our tag does follow the standard semantic versioning, the holoviews.param package does not allow pre-release versions different from alpha, beta, rc. We can either adapt to their versioning scheme or I can try to submit a PR fixing this. |
It turns out that their version template follows PEP440. @KathleenLabrie Could we follow PEP440 as well? If not, I could submit a Pull Request, but it would slow us down quite a bit since it would require some discussion on something that seems pretty well established for them. For example, our |
I tried to add a new I can import holoviews using conda normally. This error only happens from within tox. So what are we doing wrong? |
I don't think this has anything to do with tox. |
It is true that
Yesterday, I stepped back and started to isolate the problem. The following command runs the test locally successfully:
This is the command called within Tox to run the tests. When calling from Tox, they fail with the traceback above. When called from the command line, they pass (actually they fail due to the lack of input files, but this is expected). So there is something within Tox that is causing |
Now GitHub Actions seems happy with it. I did not do anything. In any case, this behavior still shows up when I run Tox on my machine but not when running with the command above. |
|
I will leave this issue open until the release holoviews v1.10.2 since it affects our documentation. At least, it is not affecting Jenkins/Github Actions. |
The tests in GitHub Actions are failing while the same tests pass when using Jenkin. You can see the traceback from the latest errors in GitHub Actions here. The traceback itself is a bit obscure.
When calling tox locally, the tests also fail. After trying several options, I realized that they fail when tox is called without any arguments. For example:
Sometimes the error is the same reported on GitHub Actions, but most of the time the test failures have a different traceback. I am not completely sure that both issues are the same, if they are correlated somehow, or if they are simply two different issues.
The major requirement for our Tox setup is that we can run the tests using the command line above locally. So I will focus on this particular issue. The main error shows as:
The full traceback is here:
py37-unit.log
The text was updated successfully, but these errors were encountered: