jupyterlab / jupyter-collaboration

A Jupyter Server Extension Providing Support for Y Documents
https://jupyterlab-realtime-collaboration.readthedocs.io/en/latest/
Other
169 stars 31 forks source link

Update CI #396

Closed trungleduc closed 2 weeks ago

trungleduc commented 3 weeks ago

Code changes

Screenshot 2024-11-05 144138

github-actions[bot] commented 3 weeks ago

Binder :point_left: Launch a Binder on branch trungleduc/jupyter-collaboration/update-ci

trungleduc commented 3 weeks ago

@jtpio I'm getting this error in the Check Release job: ValueError: Tag v3.0.0 already exists. Do you know what happened?

jtpio commented 3 weeks ago

Looks like it may be related to the changes to the yarn.lock file?

It seems it's not able to bump the version to 3.0.1 in the workflow, which could explain the existing tag issue:

image

jtpio commented 3 weeks ago

Probably not related but something that should also be fixed on CI: https://github.com/jupyterlab/jupyter-collaboration/issues/380

trungleduc commented 3 weeks ago

Looks like it may be related to the changes to the yarn.lock file?

It seems it's not able to bump the version to 3.0.1 in the workflow, which could explain the existing tag issue:

image

Thanks!

trungleduc commented 3 weeks ago

Probably not related but something that should also be fixed on CI: #380

Ok i will take care of this

trungleduc commented 3 weeks ago

Failed UI test looks weird but i'm not sure it relates to this PR

initialization-open-notebook-guest-actual

initialization-open-notebook-guest-expected

trungleduc commented 3 weeks ago

do you want to update the dependency in pyproject.toml too?

isn't it a breaking change? I thought that main is targeting 3.1.x

davidbrochart commented 3 weeks ago

I don't think we should make a major release for that. Python 3.8 has reached end of life, I think all Jupyter projects should drop support for it too.

jtpio commented 3 weeks ago

Right it's probably fine to drop support for a Python version in a minor release. For example JupyterLab dropped support for Python 3.6 in JupyterLab 3.3: https://jupyterlab.readthedocs.io/en/latest/getting_started/changelog.html#id298

As long as it's visible in the changelog and/or the docs.

jtpio commented 3 weeks ago

So the UI tests seem to be failing consistently after a restart. It would be worth looking into it as otherwise we would have to live with a failing CI, which is going to be annoying very quickly.

trungleduc commented 3 weeks ago

So the UI tests seem to be failing consistently after a restart. It would be worth looking into it as otherwise we would have to live with a failing CI, which is going to be annoying very quickly.

This is an issue of JupyterLab, I opened the issue here https://github.com/jupyterlab/jupyterlab/issues/16934

trungleduc commented 2 weeks ago

@jtpio, how should we proceed with this PR? Should we wait for a new JupyterLab patch version or update the snapshot?

jtpio commented 2 weeks ago

Does this behavior happen for real users of jupyter-collaboration, not just in the UI tests?

If so, it will probably make sense to update to the "wrong" snapshot for now to indicate this is an expected issue. And then fix it when a new JupyterLab release with the fix is available?

trungleduc commented 2 weeks ago

Does this behavior happen for real users of jupyter-collaboration, not just in the UI tests?

If so, it will probably make sense to update to the "wrong" snapshot for now to indicate this is an expected issue. And then fix it when a new JupyterLab release with the fix is available?

I can reproduce it locally https://github.com/jupyterlab/jupyterlab/issues/16934

it will probably make sense to update to the "wrong" snapshot for now to indicate this is an expected issue. And then fix it when a new JupyterLab release with the fix is available?

I agree

jtpio commented 2 weeks ago

OK then let's update the snapshot so "CI passes" and the PR can be merged?

Thanks @trungleduc for looking into this!

trungleduc commented 2 weeks ago

it's green!