Skip to content

Commit e702a28

Browse files
committed
3.3.0
1 parent f1beceb commit e702a28

22 files changed

+677
-1664
lines changed

connectorx/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN pip3.11 install poetry
3434
# Cloning the connectorx repo and switching to the 0.3.1 tag
3535
RUN git clone https://github.com/sfu-db/connector-x.git
3636
WORKDIR /wheeler/connector-x
37-
RUN git checkout tags/v0.3.2
37+
RUN git checkout tags/v0.3.3
3838

3939
# Installing maturin
4040
RUN pip3.11 install maturin[patchelf]==0.14.15
@@ -46,7 +46,7 @@ RUN maturin build -m connectorx-python/Cargo.toml -i python3.11 --release
4646
# the below didn't work for me
4747
# COPY /wheeler/connector-x/connectorx-python/target/wheels/connectorx-* .
4848

49-
# use the below to access the wheel in /wheeler/connector-x/connectorx-python/target/wheels/
49+
# use the below to access the wheel in /wheeler/connector-x/connectorx-python/target/wheels/
5050
# docker run -it -v ./:/root your_user_name/connectorx /bin/bash
5151

5252
# then navigate to the directory below and copy the wheel to the home directory

files/install-rstudio.sh

+2-8
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,9 @@ if [ "$RSTUDIO_VERSION" = "latest" ]; then
4747
fi
4848

4949
if [ "$(uname -m)" != "aarch64" ]; then
50-
# wget "https://s3.amazonaws.com/rstudio-ide-build/server/$UBUNTU_VERSION/amd64/rstudio-server-2023.12.0-daily-330-amd64.deb" -O "$DOWNLOAD_FILE"
51-
# wget "https://s3.amazonaws.com/rstudio-ide-build/server/jammy/amd64/rstudio-server-2023.12.0-daily-330-amd64.deb" -O "$DOWNLOAD_FILE"
52-
wget "https://s3.amazonaws.com/rstudio-ide-build/server/jammy/amd64/rstudio-server-2023.12.0-daily-330-amd64.deb" -O "$DOWNLOAD_FILE"
53-
# wget "https://s3.amazonaws.com/rstudio-ide-build/server/jammy/amd64/rstudio-server-2023.12.0-369-amd64.deb" -O "$DOWNLOAD_FILE"
50+
wget "https://s3.amazonaws.com/rstudio-ide-build/server/jammy/amd64/rstudio-server-2023.03.0-548-amd64.deb" -O "$DOWNLOAD_FILE"
5451
else
55-
# wget "https://s3.amazonaws.com/rstudio-ide-build/server/$UBUNTU_VERSION/arm64/rstudio-server-2023.05.0-daily-293-arm64.deb" -O "$DOWNLOAD_FILE"
56-
wget "https://s3.amazonaws.com/rstudio-ide-build/server/jammy/arm64/rstudio-server-2023.12.0-daily-330-arm64.deb" -O "$DOWNLOAD_FILE"
57-
# wget "https://s3.amazonaws.com/rstudio-ide-build/server/jammy/arm64/rstudio-server-2023.12.0-daily-330-arm64.deb" -O "$DOWNLOAD_FILE"
58-
# wget "https://s3.amazonaws.com/rstudio-ide-build/server/jammy/arm64/rstudio-server-2023.12.0-369-arm64.deb" -O "$DOWNLOAD_FILE"
52+
wget "https://s3.amazonaws.com/rstudio-ide-build/server/jammy/arm64/rstudio-server-2023.03.0-548-arm64.deb" -O "$DOWNLOAD_FILE"
5953
fi
6054

6155
dpkg -i "$DOWNLOAD_FILE"

files/setup-arrow.sh

+1-6
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,10 @@ fi
1616

1717
NCPUS=${NCPUS:--1}
1818

19-
# R -e "Sys.setenv(ARROW_PARQUET = 'ON', ARROW_WITH_SNAPPY = 'ON', ARROW_R_DEV = TRUE); devtools::install_version('arrow', version='9.0.0.2', repos='${CRAN}', Ncpus=${NCPUS})"
20-
# R -e "Sys.setenv(ARROW_PARQUET = 'ON', ARROW_WITH_SNAPPY = 'ON', ARROW_R_DEV = TRUE, ARROW_USE_PKG_CONFIG=TRUE); install.packages('arrow', repo='${CRAN}', Ncpus=${NCPUS})"
21-
# R -e "Sys.setenv(ARROW_PARQUET = 'ON', ARROW_WITH_SNAPPY = 'ON', ARROW_R_DEV = TRUE); devtools::install_version('arrow', version='10.0.1', repos='${CRAN}', Ncpus=${NCPUS})"
22-
# R -e "Sys.setenv(ARROW_PARQUET = 'ON', ARROW_WITH_SNAPPY = 'ON', ARROW_R_DEV = TRUE); devtools::install_version('arrow', version='11.0.0.3', repos='${CRAN}', Ncpus=${NCPUS})"
23-
# R -e "Sys.setenv(ARROW_PARQUET = 'ON', ARROW_WITH_SNAPPY = 'ON', ARROW_R_DEV = TRUE); remotes::install_version('arrow', version='${PYARROW_VERSION}', repos='${CRAN}', Ncpus=${NCPUS})"
2419
R -e "Sys.setenv(ARROW_PARQUET = 'ON', ARROW_WITH_SNAPPY = 'ON', ARROW_R_DEV = TRUE); install.packages('arrow', version='${PYARROW_VERSION}', repos='${CRAN}', Ncpus=${NCPUS})"
2520

2621
# these run into issues earlier in the install process so we install them here
27-
R -e "install.packages(c('systemfonts', 'textshaping', 'ragg', 'httpgd', 'tidyverse', 'svglite'), repos='${CRAN}', Ncpus=${NCPUS})"
22+
# R -e "install.packages(c('systemfonts', 'textshaping', 'ragg', 'httpgd', 'tidyverse', 'svglite'), repos='${CRAN}', Ncpus=${NCPUS})"
2823

2924
# for some reason this part needs to be at the end and does not work when combined with setup-radiant
3025
# library(arrow)

files/setup-extra.sh

+5-7
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ if [ -f "/opt/conda/bin/R" ]; then
2121
mamba install --quiet --yes -c conda-forge \
2222
r-raster \
2323
imagemagick \
24-
libgdal \
24+
libgdal
2525

26-
R -e "install.packages('rgdal', repo='${CRAN}', Ncpus=${NCPUS})"
26+
# R -e "install.packages('rgdal', repo='${CRAN}', Ncpus=${NCPUS})"
2727
else
2828
mamba install --quiet --yes -c conda-forge \
2929
r-raster \
@@ -47,16 +47,14 @@ else
4747
libicu-dev \
4848
&& rm -rf /var/lib/apt/lists/*
4949

50-
R -e "install.packages('rgdal', repo='${CRAN}', Ncpus=${NCPUS})"
50+
# R -e "install.packages('rgdal', repo='${CRAN}', Ncpus=${NCPUS})"
5151
fi
5252

53-
R -e "install.packages(c('magick', 'leaflet', 'stringi', 'profvis'), repo='${CRAN}', Ncpus=${NCPUS})" \
54-
-e "install.packages(c('simmer', 'simmer.plot', 'EnvStats', 'matrixStats'), repo='${CRAN}', Ncpus=${NCPUS})" \
55-
-e "install.packages(c('highcharter', 'viridis'), repo='${CRAN}', Ncpus=${NCPUS})" \
56-
-e "install.packages(c('tidytext', 'wordcloud'), repo='${CRAN}', Ncpus=${NCPUS})" \
53+
# R -e "install.packages(c('magick', 'leaflet', 'stringi', 'profvis'), repo='${CRAN}', Ncpus=${NCPUS})"
5754
R -e "install.packages('devtools', repo='${CRAN}', Ncpus=${NCPUS})" \
5855
-e "remotes::install_github('vnijs/webshot', upgrade = 'never')" \
5956
-e "webshot::install_phantomjs()"
57+
# -e "install.packages(c('tidytext', 'wordcloud'), repo='${CRAN}', Ncpus=${NCPUS})"
6058

6159
# for Machine Learning with PyTorch and Scikit-Learn
6260
mamba install --quiet --yes -c conda-forge pytorch-lightning tensorboard zip

files/setup-hadoop.sh

+1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ curl -sL --retry 3 \
1010
| gunzip \
1111
| tar -x --strip-components=1 -C $HADOOP_HOME \
1212
&& rm -rf $HADOOP_HOME/share/doc \
13+
&& ln -s /opt/hadoop/bin/hadoop /usr/bin/hadoop \
1314
&& chown -R ${NB_USER} $HADOOP_HOME \
1415
&& mkdir -p "${HADOOP_HOME}/logs"

files/setup-quarto.sh

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ NCPUS=${NCPUS:--1}
1111
UBUNTU_VERSION=${UBUNTU_VERSION:-`lsb_release -sc`}
1212
CRAN=${CRAN:-https://cran.r-project.org}
1313
CRAN_SOURCE=${CRAN/"__linux__/$UBUNTU_VERSION/"/""}
14-
QUARTO_VERSION="1.4.506"
1514

1615
if [ "$(uname -m)" != "aarch64" ]; then
1716
# ln -fs /usr/lib/rstudio-server/bin/quarto/bin/quarto /usr/local/bin

files/setup-radiant.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,14 @@ R -e "install.packages('igraph', repo='${CRAN}', Ncpus=${NCPUS})" \
4646
-e "install.packages(c('httpgd', 'languageserver'), repo='${CRAN}', Ncpus=${NCPUS})" \
4747
-e "remotes::install_github('radiant-rstats/radiant.update', upgrade = 'never')" \
4848
-e "remotes::install_github('vnijs/gitgadget', upgrade = 'never')" \
49-
-e "remotes::install_github('IRkernel/IRkernel', upgrade = 'never')" \
50-
-e "remotes::install_github('IRkernel/IRdisplay', upgrade = 'never')" \
51-
-e "IRkernel::installspec(user=FALSE)" \
5249
-e "remotes::install_github('radiant-rstats/radiant.data', upgrade = 'never')" \
5350
-e "remotes::install_github('radiant-rstats/radiant.design', upgrade = 'never')" \
5451
-e "remotes::install_github('radiant-rstats/radiant.basics', upgrade = 'never')" \
5552
-e "remotes::install_github('radiant-rstats/radiant.model', upgrade = 'never')" \
5653
-e "remotes::install_github('radiant-rstats/radiant.multivariate', upgrade = 'never')" \
5754
-e "remotes::install_github('radiant-rstats/radiant', upgrade = 'never')" \
5855
-e "remotes::install_github('radiant-rstats/radiant.update', upgrade = 'never')" \
59-
-e "install.packages('duckdb', repo='${CRAN}', Ncpus=${NCPUS})"
56+
-e "install.packages('duckdb', repo='${CRAN}', Ncpus=${NCPUS})" \
57+
-e "install.packages(c('dbplyr', 'DBI', 'dtplyr', 'RPostgres', 'RSQLite', 'pool', 'usethis'), repo='${CRAN}', Ncpus=${NCPUS})"
6058

6159
rm -rf /tmp/downloaded_packages

files/setup-tidyverse.sh

+7-5
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ NCPUS=${NCPUS:--1}
4242
# fi
4343

4444
# version 0.6.32 (2023-6-26) is causing install issues on 6/7/2023
45-
R -e "install.packages('remotes', repo='${CRAN}', Ncpus=${NCPUS})" \
46-
-e "remotes::install_version('digest', version='0.6.31', repos='${CRAN}', Ncpus=${NCPUS})" \
47-
-e "install.packages(c('ragg', 'rlist'), repo='${CRAN}', Ncpus=${NCPUS})" \
48-
-e "install.packages(c('tidyverse', 'rmarkdown', 'gert', 'usethis'), repo='${CRAN}', Ncpus=${NCPUS})" \
49-
-e "install.packages(c('dbplyr', 'DBI', 'dtplyr', 'RPostgres', 'RSQLite'), repo='${CRAN}', Ncpus=${NCPUS})"
45+
# -e "remotes::install_version('digest', version='0.6.31', repos='${CRAN}', Ncpus=${NCPUS})" \
46+
# -e "install.packages(c('ragg', 'rlist'), repo='${CRAN}', Ncpus=${NCPUS})" \
47+
# -e "install.packages(c('tidyverse', 'rmarkdown', 'gert', 'usethis'), repo='${CRAN}', Ncpus=${NCPUS})" \
48+
# -e "install.packages(c('dbplyr', 'DBI', 'dtplyr', 'RPostgres', 'RSQLite'), repo='${CRAN}', Ncpus=${NCPUS})"
49+
50+
# R -e "install.packages('remotes', repo='${CRAN}', Ncpus=${NCPUS})" \
51+
# -e "install.packages(c('dbplyr', 'DBI', 'dtplyr', 'RPostgres', 'RSQLite', 'pool', 'usethis'), repo='${CRAN}', Ncpus=${NCPUS})"
5052

5153
rm -rf /tmp/downloaded_packages

files/setup.sh

+12
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,18 @@ else
141141
fi
142142
fi
143143

144+
if command -v poetry &> /dev/null; then
145+
echo "Poetry is already installed"
146+
else
147+
echo "Installing Poetry $POETRY_VERSION"
148+
pipx install poetry==$POETRY_VERSION
149+
fi
150+
151+
if [ ! -d "${HOMEDIR}/.rsm-msba/zsh/.oh-my-zsh/plugins/poetry" ]; then
152+
mkdir "${HOMEDIR}/.rsm-msba/zsh/.oh-my-zsh/plugins/poetry" ]
153+
poetry completions zsh > $ZSH_CUSTOM/plugins/poetry/_poetry
154+
fi
155+
144156
if [ ! -f "${HOMEDIR}/.rsm-msba/zsh/.zshrc" ]; then
145157
cp /etc/skel/.zshrc "${HOMEDIR}/.rsm-msba/zsh/.zshrc"
146158
source ~/.rsm-msba/zsh/.zshrc 2>/dev/null

0 commit comments

Comments
 (0)