Skip to content

Move jupyter-collaboration dependency to jupytergis#347

Merged
martinRenou merged 5 commits intogeojupyter:mainfrom
davidbrochart:collaboration
Jan 16, 2025
Merged

Move jupyter-collaboration dependency to jupytergis#347
martinRenou merged 5 commits intogeojupyter:mainfrom
davidbrochart:collaboration

Conversation

@davidbrochart
Copy link
Collaborator

@davidbrochart davidbrochart commented Jan 16, 2025

Description

Closes #338.

Checklist

  • PR has a descriptive title and content.
  • PR description contains references to any issues the PR resolves, e.g. Resolves #XXX.
  • PR has one of the labels: documentation, bug, enhancement, feature, maintenance
  • Checks are passing.
    Failing lint checks can be resolved with:
    • pre-commit run --all-files
    • jlpm run lint

📚 Documentation preview: https://jupytergis--347.org.readthedocs.build/en/347/
💡 JupyterLite preview is available from the doc, by clicking on lite badge

@davidbrochart davidbrochart added the enhancement New feature or request label Jan 16, 2025
@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch davidbrochart/jupytergis/collaboration

@github-actions
Copy link
Contributor

github-actions bot commented Jan 16, 2025

Integration tests report: appsharing.space

]
dependencies = [
"jupyter-ydoc>=2,<3",
"jupyter-collaboration>=3,<4",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use extras instead?

Technically, this break jupytergis-core, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, this break jupytergis-core, right?

Does jupytergis-core use jupyter-collaboration specifically?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it provides the labextension for opening JupyterGIS files in JupyterLab

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it just needs an ICollaborativeDrive, right?

Copy link
Member

@martinRenou martinRenou Jan 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then someone needs to provide it. If we remove the jupyter-collaboration dep from jupytergis-core, nobody provides collaboration support when we just do:

pip install jupytergis-core

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is the goal of this PR, so that someone can provide their own collaboration system (other than jupyter-collaboration).
Since the jupyter-collaboration was moved to jupytergis you still get it on a default installation.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Yeah I guess it's not possible to do that using extras...

Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@martinRenou martinRenou merged commit d16b542 into geojupyter:main Jan 16, 2025
15 checks passed
@davidbrochart davidbrochart deleted the collaboration branch January 16, 2025 16:21
HaudinFlorence pushed a commit to HaudinFlorence/jupytergis that referenced this pull request Jan 28, 2026
* Move jupyter-collaboration dependency to jupytergis

* Install jupyter-collaboration in tests

* And in build requirements

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move jupyter-collaboration out of jupytergis-core?

2 participants