Skip to content

Commit

Permalink
Bringing in image directory from deployment repo
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneknapp committed Sep 4, 2024
2 parents e91eb9e + 6c97473 commit e33a1de
Show file tree
Hide file tree
Showing 4 changed files with 123 additions and 0 deletions.
40 changes: 40 additions & 0 deletions apt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Some linux packages for basic terminal work, particularly
# oriented at users new to Unix/cmd line environments.

# installing less as more just isn't enough
less

# Download tools
curl
wget
vim

# for easily managing multiple repositories with one command (perl-doc
# is needed for its help pages to work)
mr
perl-doc

# Regular build tools for compiling common stuff
build-essential

# Dependencies for nbconvert
texlive-xetex
texlive-fonts-recommended
texlive-plain-generic
# https://github.com/berkeley-dsep-infra/datahub/issues/3719
texlive-lang-chinese
lmodern

# Other useful document-related tools
pandoc
latexdiff

# Some useful git utilities use basic Ruby
ruby

# Other niceties for command-line work and life
rsync

# Add chromium to the a11y image for testing with pa11y
chromium-browser

47 changes: 47 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: a11y

channels:
- conda-forge

dependencies:
- python==3.11.*
- git==2.40.0
- coverage==7.2.2
- jupyter-archive==3.4.0
- jupyter_server==2.7.0
- jupyter-book==0.15.1
- jupyter-resource-usage==0.7.1
- jupyterhub==4.1.6
- matplotlib==3.7.1
- nbgitpuller==1.2.1
- nbclassic==1.0.0
- nbconvert==7.14.2
- numpy==1.24.2
- plotly==5.13.1
- pyopenssl==23.1.0
- requests==2.32.3
- urllib3==2.2.2
- websockify==0.11.0
- pip==23.0.1
- jupyterthemes==0.20.0
- jupyterlab-accessible-themes==0.1.1
- jupyterlab_pygments==0.2.2
- pip:
#- -r infra-requirements.txt
# Upgrade separate from what everyone else uses for now
# https://github.com/berkeley-dsep-infra/datahub/issues/3693
- notebook==7.1.0a1
- jupyterlab==4.1.0b0
- nbconvert-a11y==2023.12.6
- nb2pdf==0.6.2
- nbpdfexport==0.2.1
- jupyterlab-a11y-checker==0.1.2
# pulled in by ottr, if not pinned to 1.16.2, 1.16.3 causes DH-323
- jupytext==1.16.2
# ###
# The items below are from infra-requirements, however lab conflicts with the
# alpha notebook.
# We disable infre-requirements.txt above and manually enable some of what it
# provides below.
# ###
# Matches version in images/hub/Dockerfile
29 changes: 29 additions & 0 deletions infra-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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.

# This file pins versions of notebook related python packages we want
# across all hubs. This makes sure we don't need to upgrade them
# everwhere one by one.

# FIXME: Freeze this to get exact versions of all dependencies
notebook==7.0.7
jupyterlab==4.0.11
nbgitpuller==1.2.1
jupyter-resource-usage==1.0.1
# Matches version in images/hub/Dockerfile
jupyterhub==4.1.6
appmode==0.8.0
ipywidgets==8.0.7
jupyter-tree-download==1.0.1
git-credential-helpers==0.2
# 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
# RISE is useful for presentations - see https://github.com/berkeley-dsep-infra/datahub/issues/2527
RISE==5.7.1
# syncthing for dropbox-like functionality
jupyter-syncthing-proxy==1.0.3
# jupyter archival tool for easy user downloads
jupyter-archive==3.4.0
7 changes: 7 additions & 0 deletions postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -eux

# install pa11y tools for DH-169

npm install -g [email protected]
npm install -g [email protected]

0 comments on commit e33a1de

Please sign in to comment.