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
Added unit/integration tests for python3.7 #8217
Conversation
And as always, immediately find my mistake after submitting a pull request. It was actually unrelated to my upgrade to python3.7 but a silly mistake on my end related to #5439. Solved! But still would be good to test for python3.7 early on I guess. |
I'm not sure about the value of adding another job for integration tests. The intergration tests are really testing BokehJS and browser interaction more than anything. If there are any compat issues with actual python code, I'd expect them to show up in python unit tests (modulo any missed coverage) |
Ah, okay. I was unsure about that. Let's see if the current Travis job succeeds, and just remove the integration test for 3.6 or 3.7 if it does. |
Sure, I'd be +1 in adding it some way or other. We could
The latter would not affect build times, and still provide a measure of coverage across all versions. Between the two I guess I'd prefer the second but would be fine with the first if others prefer it. |
I'd actually be in favor of adding the 3.7 job, as then we can be sure that any failure of integration tests is really because of the integration, not of some weird python3.7<>3.6 differences (however unlikely) |
We will have to try bumping the conda-build version:
I'll make the change on Travis and restart |
Very strange error though, python[version='>=2.7,<2.8.0a0'] implies it would also fail for python3.6, but it doesn't.. |
Unfortunately something about latest conda-build tiriggers this in the job:
|
I'll also have a look locally |
All of the work is supposed to be skipped during conda build collection by this:
but it seems as though |
This is a bug in conda-build, I've restored the versions of |
Ah, okay. I find it a bit weird the
|
|
Nice, very quick solution! I did a bisect of conda-build versions, and unfortunately everything newer than |
@Karel-van-de-Plassche ok, build is working with new conda-build. There is now this unusual failure on both 3.6 and 3.7, which was also observed in the windows test PR. I thought it was a windows issue but apparently not:
No idea why it is sometimes suddenly failing. The test is to ensure there are not extra referrers to a bokeh app module. However the error is actually that there are fewer than expected referrers. A quick fix is to change |
That is super weird tho, there woudl seem clearly to be four referrers:
|
OK this failure is actually specific to py3.7. The python 3.6 test is currently inadvertently installing py3.7 |
@Karel-van-de-Plassche can you rebase/merge master, and make the change discussed above? At that point, only the 3.7 unit test should fail |
55794ab
to
8b1a07b
Compare
@Karel-van-de-Plassche I am handling the one unit test issue in #8222 After that is merged, you can merge/rebase master, then this PR should be ready to go as well. |
8b1a07b
to
038b826
Compare
Thanks @Karel-van-de-Plassche ! |
* Added unit/integration tests for python3.7 * Remove python3.7 integration test
* Added unit/integration tests for python3.7 * Remove python3.7 integration test
* Added unit/integration tests for python3.7 * Remove python3.7 integration test
See title. Not sure if python3.7 support is premature at this point, but I found some functions failing that worked in python3.6, so this is the first step in testing compatibility.