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

Updated jupyterhub image to resolve setuptools issues #3650

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

vevetron
Copy link
Contributor

@vevetron vevetron commented Jan 15, 2025

Description

Major Changes:
Updates google cloud SDK to latest version (so it stops using python 3.9 and uses python 3.11 instead)
Holds down setuptools so it doesn't update to 75
Removes altair-saver

Resolves #3648

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

How has this been tested?

Built docker image locally

Went into docker image and tested setuptools, it was okay! Tested _shared_utils

Post-merge follow-ups

Document any actions that must be taken post-merge to deploy or otherwise implement the changes in this PR (for example, running a full refresh of some incremental model in dbt). If these actions will take more than a few hours after the merge or if they will be completed by someone other than the PR author, please create a dedicated follow-up issue and link it here to track resolution.

  • No action required
  • Actions required (specified below)
    Deploy to Kubes and test

…aking and deploy the next image to the testing slot
@vevetron vevetron requested a review from evansiroky as a code owner January 15, 2025 22:22
Copy link

The following changes will be applied to the production Kubernetes cluster upon merge.

BE AWARE this may not reveal changes that have been manually applied to the cluster getting undone—applying manual changes to the cluster should be avoided.

jupyterhub, continuous-image-puller, DaemonSet (apps) has changed:
...
            securityContext:
              allowPrivilegeEscalation: false
              runAsGroup: 65534
              runAsUser: 65534
          - name: image-pull-singleuser-profilelist-2
-           image: ghcr.io/cal-itp/data-infra/jupyter-singleuser:2025.1.13
+           image: ghcr.io/cal-itp/data-infra/jupyter-singleuser:2025.1.15
            command:
              - /bin/sh
              - -c
              - echo "Pulling complete"
            securityContext:
...
jupyterhub, hub, ConfigMap (v1) has changed:
...
          configuration item if not None
          """
          data = get_config(key)
          if data is not None:
              setattr(cparent, name, data)
-   checksum_hook-image-puller: "32d27a8149af388788f74f8b98bf0bc2e83a86208c942d4c16e73ab6d217a232"
+   checksum_hook-image-puller: "dfaae06b433797f1c748168b8e8895bcdd82a090cd0f35f18adbfa8bccb7b314"
jupyterhub, hub, Deployment (apps) has changed:
...
          release: jupyterhub
          hub.jupyter.org/network-access-proxy-api: "true"
          hub.jupyter.org/network-access-proxy-http: "true"
          hub.jupyter.org/network-access-singleuser: "true"
        annotations:
-         checksum/config-map: 80db7142e87d6e2d72191ef0cca281edd6d84555ec04797391b2ee3e411bcda3
-         checksum/secret: f8705d1dd75715353d599035ebb696b24c6e51896c5bc47445580db5edd25406
+         checksum/config-map: 7c7495c176705158a532559aaadc83751da2553a6dc8af74af20a3fe1ffdd44c
+         checksum/secret: 855ef2dbcef7e2cb8ba7ff1378e641770f521294b32dac0efd835061baa5a83b
      spec:
        tolerations:
          - effect: NoSchedule
            key: hub.jupyter.org/dedicated
            operator: Equal
...
jupyterhub, hub, Secret (v1) has changed:
...
    name: hub
  data:
    hub.config.ConfigurableHTTPProxy.auth_token: 'REDACTED # (64 bytes)'
    hub.config.CryptKeeper.keys: 'REDACTED # (64 bytes)'
    hub.config.JupyterHub.cookie_secret: 'REDACTED # (64 bytes)'
-   values.yaml: '-------- # (11766 bytes)'
+   values.yaml: '++++++++ # (11766 bytes)'
  type: Opaque

@vevetron
Copy link
Contributor Author

A minor update to #3643

@edasmalchi edasmalchi self-requested a review January 15, 2025 22:47
Copy link
Member

@edasmalchi edasmalchi left a comment

Choose a reason for hiding this comment

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

looks good!

@vevetron vevetron merged commit 91b7bea into main Jan 15, 2025
3 checks passed
@vevetron vevetron deleted the resolve_setuptools branch January 15, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: setuptools isn't working in 2025.1.13
2 participants