Skip to content

Commit 6cb4e4d

Browse files
committed
force reticulate pandas and numpy version to be stable versions
1 parent db1edc4 commit 6cb4e4d

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

Dockerfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
1616
RUN wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
1717
RUN add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
1818

19-
# Add CRAN repo and key for R
20-
RUN apt-get update && apt-get install -y --no-install-recommends \
21-
dirmngr gnupg curl software-properties-common ca-certificates
22-
23-
RUN curl -fsSL https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | gpg --dearmor -o /usr/share/keyrings/cran-archive-keyring.gpg && \
24-
echo "deb [signed-by=/usr/share/keyrings/cran-archive-keyring.gpg] https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/" \
25-
> /etc/apt/sources.list.d/cran-r.list
26-
2719
# General sys dependencies
2820
RUN apt-get update && apt-get install -y --allow-unauthenticated --no-install-recommends \
2921
bedtools \

R/install_packages.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ library(testthat)
88
library(VariantAnnotation)
99
library(xtable)
1010
library(ggpubr)
11+
library(reticulate)
12+
reticulate::py_install(c("pandas>=1.5,<=2.0.3", "numpy<=1.24.4"))

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ pyranges==0.1.4
66
# known working version 6.0
77
PyYAML>=5.1
88
synapseclient[pandas]>=4.0.0, <5.0.0
9+
opentelemetry-semantic-conventions==0.56b0

0 commit comments

Comments
 (0)