-
Notifications
You must be signed in to change notification settings - Fork 7
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
Sync CryoCloud environment #18
Conversation
# https://syncthing.net/ provides a dropbox-like interface for syncing directories across users, | ||
# hubs and machines. Used along with `jupyter-syncthing-proxy`. | ||
# - jupyter-syncthing-proxy==1.0.3 | ||
# - syncthing~=1.22.1 | ||
# gh-scoped-creds allows users to securely push to GitHub from their repo. | ||
# https://blog.jupyter.org/securely-pushing-to-github-from-a-jupyterhub-3ee42dfdc54f has | ||
# some more information | ||
# - gh-scoped-creds==4.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could not lock the environment for platform osx-arm64
Could not solve for environment specs
The following packages are incompatible
├─ code-server ~=4.16.1 does not exist (perhaps a typo or a missing channel);
├─ jupyter-syncthing-proxy 1.0.3 is not installable because it requires
│ └─ syncthing, which does not exist (perhaps a missing channel);
└─ syncthing ~=1.22.1 does not exist (perhaps a typo or a missing channel).
# Desktop tools whose versions are more recent on conda-forge than ubuntu | ||
#- qgis~=3.38.0 | ||
# Maybe needed for qgis? https://github.com/conda-forge/qgis-feedstock/issues/263 | ||
#- pyopencl | ||
# Resolves warning "No ICDs were found": https://github.com/CryoInTheCloud/hub-image/issues/50 | ||
#- ocl-icd-system | ||
# needed for Linux desktop to work | ||
#- websockify>=0.10 | ||
# Includes new subcommands (`switch` & `restore`) and vulnerability fixes | ||
# over the version available via ubuntu sources | ||
#- git>=2.39 | ||
|
||
# Not all packages will be available from conda-forge, we install from pip when we need to. | ||
#- pip~=23.3.2 | ||
#- pip: | ||
# Access linux desktop from inside JupyterHub | ||
# - jupyter-desktop-server==0.1.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some big packages here (qgis) that don't seem necessary for executing tutorial notebooks, but can bring them back if needed...
There's this error on running Sphinx build:
Looking to see which dependency is preventing a newer version of Sphinx from being installed... Edit: It looks like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of suggestions, should hopefully fix the ImportError: cannot import name 'ExtensionMetadata' from 'sphinx.util.typing'
error. I'll update these over at https://github.com/CryoInTheCloud/hub-image too in a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I on board with this approach. Commented on a few lines for a little more aggressive reduction of the library stack to ease up resolving the environment to a working state.
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Bumps [awscli](https://github.com/aws/aws-cli) from 1.27.76 to 2.17.2. - [Release notes](https://github.com/aws/aws-cli/releases) - [Commits](aws/aws-cli@1.27.76...2.17.2) Also need to downgrade ipython from 8.20 to 8.17 to resolve conflict on prompt_toolkit version range (xref ICESAT-2HackWeek/website-2024#18 (comment)).
Syncing with the changes at ICESAT-2HackWeek/website-2024#18 by: - Pinning `sphinx` explicity to 7.3 (was resolving to 5.1.1 before) - Upgrade `awscli` from 1.27.76 to 2.17 to resolve conflict on `docutils` (see ICESAT-2HackWeek/website-2024#18 (comment)) - Downgrade `ipython` from 8.20.0 to 8.17 to resolve conflict on `prompt_toolkit` (see ICESAT-2HackWeek/website-2024#18 (comment)) This PR also adds a 'conda-lock.yml' (following #122) in addition to the existing 'conda-lock-linux64.yml' file.
Addresses #17 (comment)
Since CryoCloud has everything in our existing environment + a bunch of other stuff, the easiest thing seems to be just to overwrite the current
environment.yml
. However, I commented a bunch of stuff that is user-interface specific and also things that are not on mac-osx since I like having the ability to work on different platforms