From 52f1b2bd8bc0e8298dea5faff00f031f907cb048 Mon Sep 17 00:00:00 2001 From: Anatoly Rubanov Date: Wed, 2 Jul 2025 13:45:42 +0400 Subject: [PATCH 1/3] add git installation step into Dockerfile --- scripts/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 007a6aafe2..1f6fc87bc2 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -5,6 +5,9 @@ LABEL description="Environment for PyMC version 4" ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 +USER root +RUN apt-get update && apt-get install -y git + # Switch to jovyan to avoid container runs as root USER $NB_UID From cee0d8a2746f00bab860559ff76eee285e943b02 Mon Sep 17 00:00:00 2001 From: Anatoly Rubanov Date: Mon, 7 Jul 2025 11:12:06 +0400 Subject: [PATCH 2/3] change pymc-sphinx-theme installation method from git to pip --- requirements-dev.txt | 2 +- scripts/Dockerfile | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 840f3d8063..29bb50aaf0 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,7 +4,7 @@ arviz>=0.13.0 cachetools>=4.2.1 cloudpickle -git+https://github.com/pymc-devs/pymc-sphinx-theme +pymc-sphinx-theme>=0.16.0 ipython>=7.16 jupyter-sphinx mcbackend>=0.4.0 diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 1f6fc87bc2..007a6aafe2 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -5,9 +5,6 @@ LABEL description="Environment for PyMC version 4" ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 -USER root -RUN apt-get update && apt-get install -y git - # Switch to jovyan to avoid container runs as root USER $NB_UID From 3fcd11829c3bc2f1027822734e4b28458cd6f898 Mon Sep 17 00:00:00 2001 From: Anatoly Rubanov Date: Mon, 7 Jul 2025 11:38:12 +0400 Subject: [PATCH 3/3] update environment-dev.yaml --- conda-envs/environment-dev.yml | 2 +- requirements-dev.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conda-envs/environment-dev.yml b/conda-envs/environment-dev.yml index e161b66e1f..a49e0568ae 100644 --- a/conda-envs/environment-dev.yml +++ b/conda-envs/environment-dev.yml @@ -40,6 +40,6 @@ dependencies: - mypy=1.15.0 - types-cachetools - pip: - - git+https://github.com/pymc-devs/pymc-sphinx-theme + - pymc-sphinx-theme>=0.16.0 - numdifftools>=0.9.40 - mcbackend>=0.4.0 diff --git a/requirements-dev.txt b/requirements-dev.txt index 29bb50aaf0..cabfc740af 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,7 +4,6 @@ arviz>=0.13.0 cachetools>=4.2.1 cloudpickle -pymc-sphinx-theme>=0.16.0 ipython>=7.16 jupyter-sphinx mcbackend>=0.4.0 @@ -16,6 +15,7 @@ numpydoc pandas>=0.24.0 polyagamma pre-commit>=2.8.0 +pymc-sphinx-theme>=0.16.0 pytensor>=2.31.2,<2.32 pytest-cov>=2.5 pytest>=3.0