From 8b7c6f9b5ebacd87beb14904a2b400918ffb222c Mon Sep 17 00:00:00 2001 From: shane knapp Date: Fri, 18 Oct 2024 13:16:58 -0700 Subject: [PATCH] infra-reqs is byebye --- scripts/infra-packages/requirements.txt | 29 ------------------------- scripts/infra-packages/sync.bash | 15 ------------- 2 files changed, 44 deletions(-) delete mode 100644 scripts/infra-packages/requirements.txt delete mode 100755 scripts/infra-packages/sync.bash diff --git a/scripts/infra-packages/requirements.txt b/scripts/infra-packages/requirements.txt deleted file mode 100644 index b410ce6fd..000000000 --- a/scripts/infra-packages/requirements.txt +++ /dev/null @@ -1,29 +0,0 @@ -# WARNING: Original source at scripts/infra-packages/requirements.txt -# PLEASE DO NOT EDIT ELSEWHERE -# After editing scripts/infra-packages/requirements.txt, please run -# scripts/infra-packages/sync.bash. - -appmode==0.8.0 -# Measure popularity of different packages in our hubs -# https://discourse.jupyter.org/t/request-for-implementation-instrument-libraries-actively-used-by-users-on-a-jupyterhub/7994?u=yuvipanda -git+https://github.com/shaneknapp/python-popularity-contest.git@add-error-handling -git-credential-helpers==0.2 -ipywidgets==8.0.7 -# jupyter archival tool for easy user downloads -jupyter-archive==3.4.0 -jupyter-resource-usage==1.0.1 -# syncthing for dropbox-like functionality -jupyter-syncthing-proxy==1.0.3 -jupyter-tree-download==1.0.1 -# Matches version in images/hub/Dockerfile -jupyterhub==4.1.6 -jupyterlab==4.0.11 -nbgitpuller==1.2.1 -# This file pins versions of notebook related python packages we want -# across all hubs. This makes sure we don't need to upgrade them -# everywhere one by one. - -# FIXME: Freeze this to get exact versions of all dependencies -notebook==7.0.7 -# RISE is useful for presentations - see https://github.com/berkeley-dsep-infra/datahub/issues/2527 -RISE==5.7.1 diff --git a/scripts/infra-packages/sync.bash b/scripts/infra-packages/sync.bash deleted file mode 100755 index 26f1b812a..000000000 --- a/scripts/infra-packages/sync.bash +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -set -euxo pipefail - -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -ROOT_DIR="${SCRIPT_DIR}/../.." - -# install file in deployment directories named "image" -find "${ROOT_DIR}/deployments" -type d -name 'image' \ - -exec cp "${SCRIPT_DIR}/requirements.txt" {}/infra-requirements.txt \; - -# install file in subdirectories of deployment directories named "images" -for d in $(find "${ROOT_DIR}/deployments" -type d -name images); do - find $d -not -name images -maxdepth 1 -type d \ - -exec cp "${SCRIPT_DIR}/requirements.txt" {}/infra-requirements.txt \; -done