From ab0bcb4cac81131004114f96c08c64656d38f9ac Mon Sep 17 00:00:00 2001 From: Rachel Clune Date: Wed, 28 Oct 2026 12:02:23 -0700 Subject: [PATCH] Update pip and CA certificates for installs Require pip 26.2.2 or newer and refresh certificate packages to address the withdrawn emSign root CA. Document the pip upgrade for environment setup and apply it in the documentation workflow. --- .github/workflows/documentation.yml | 1 + docs/source/installation_guide.md | 5 +++++ rf_diffusion/environment/ci_environment.yml | 8 ++++---- rf_diffusion/environment/environment.yml | 6 +++--- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 9c4501f..13d086a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -13,6 +13,7 @@ jobs: - uses: actions/setup-python@v5 - name: Install dependencies run: | + python -m pip install --upgrade "pip>=26.2.2" pip install sphinx myst_parser furo sphinx-copybutton - name: Sphinx build run: | diff --git a/docs/source/installation_guide.md b/docs/source/installation_guide.md index fed1123..1e50f6f 100644 --- a/docs/source/installation_guide.md +++ b/docs/source/installation_guide.md @@ -25,6 +25,9 @@ inference.input_pdb=/path/to/RFDpoly/rf_diffusion/test_data/DBP035.pdb ## Creating a Conda Environment +> **Note:** Use pip 26.2.2 or newer. Older pip releases still trust the withdrawn emSign root CA certificate, +> so upgrade pip in the new environment before running `pip install`, as shown below. + ### Linux: If the apptainer image is not compatible with your system or you are doing development with RFDpoly, you can create @@ -33,6 +36,7 @@ a [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage ```bash conda env create -f /path/to/RFDpoly/rf_diffusion/environment/environment.yml conda activate RFDpoly_env +python -m pip install --upgrade pip # pip 26.2.2 or newer pip install /path/to/RFDpoly/rf_diffusion/RF2-allatom/rf2aa/SE3Transformer ``` The last command installs a slightly modified version of @@ -66,6 +70,7 @@ a [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage ```bash conda env create -f /path/to/RFDpoly/rf_diffusion/environment/macos_environment.yml conda activate RFDpoly_env +python -m pip install --upgrade pip # pip 26.2.2 or newer pip install /path/to/RFDpoly/rf_diffusion/RF2-allatom/rf2aa/SE3Transformer ``` The last command installs a slightly modified version of diff --git a/rf_diffusion/environment/ci_environment.yml b/rf_diffusion/environment/ci_environment.yml index 981a089..d3e4727 100644 --- a/rf_diffusion/environment/ci_environment.yml +++ b/rf_diffusion/environment/ci_environment.yml @@ -8,7 +8,7 @@ channels: - defaults dependencies: - python=3.10.8 - - pip=23.0.1 + - pip>=26.2.2 - pytorch=1.13.1 - cpuonly - pyg=2.2.0 @@ -34,9 +34,9 @@ dependencies: - brotli-bin=1.0.9 - brotlipy=0.7.0 - bzip2=1.0.8 - - ca-certificates=2022.12.7 + - ca-certificates - cairo=1.16.0 - - certifi=2022.12.7 + - certifi>=2026.10.19 - cffi=1.15.1 - charset-normalizer=2.0.4 - comm=0.1.2 @@ -148,7 +148,7 @@ dependencies: - pexpect=4.8.0 - pickleshare=0.7.5 - pillow=9.4.0 - - pip=23.0.1 + - pip>=26.2.2 - pixman=0.40.0 - platformdirs=2.5.2 - pluggy=1.0.0 diff --git a/rf_diffusion/environment/environment.yml b/rf_diffusion/environment/environment.yml index a192946..2f428d8 100644 --- a/rf_diffusion/environment/environment.yml +++ b/rf_diffusion/environment/environment.yml @@ -28,9 +28,9 @@ dependencies: - brotli-bin=1.0.9 - brotlipy=0.7.0 - bzip2=1.0.8 - - ca-certificates=2022.12.7 + - ca-certificates - cairo=1.16.0 - - certifi=2022.12.7 + - certifi>=2026.10.19 - cffi=1.15.1 - charset-normalizer=2.0.4 - comm=0.1.2 @@ -193,7 +193,7 @@ dependencies: - pexpect=4.8.0 - pickleshare=0.7.5 - pillow=9.4.0 - - pip=23.0.1 + - pip>=26.2.2 - pixman=0.40.0 - platformdirs=2.5.2 - pluggy=1.0.0