Skip to content
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

CI: stop asserting local binderhub version match remote version #1201

Merged

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Nov 3, 2020

Closes #1200 by no longer asserting the remote test environment will have the binderhub version according to versioneer which use git commits to decide its version, compared to the built image.

The image would rebuild if binderhub the Python package had changed at all, but it wouldn't if something unrelated has been committed. The _version.py script doesn't care about this though, and decides the binderhub package is even newer than the image and observes a version mismatch.

Due to this, I suggest we stop asserting this. I don't see this assertion to be helpful to make unless we tighten down the test to only be relevant in a few cases, and that doesn't seem to be helpful enough to motivate it. Due to this, I'll go ahead and remove this assertion from the /about test.

@betatim
Copy link
Member

betatim commented Nov 4, 2020

It would be good to add a modified version of this assertion back. The test didn't mean to check that the versions were the same but that the version appears in the page. I think using the local version was an easy way to check that the expected text appears. A bit more tricky to do if we don't know what version will appear but it would be good to keep testing that a vresion is displayed.

@consideRatio
Copy link
Member Author

I agree @betatim, i felt i overstepped, and added it back in https://github.com/jupyterhub/binderhub/pull/1203/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Under the hood improvements and fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failures of the Helm chart diagnosed along with an easy fix
2 participants