From f63c16ff40e9c0394ecc721bd1b9cf2cb03f162d Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Wed, 16 Sep 2026 13:56:05 +0100 Subject: [PATCH 1/2] Modify Renovate schedule and add custom managers Updated schedule time for Renovate bot and added custom managers for pip and conda. --- .github/renovate.json | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index c54154b..0b3e5d8 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -5,7 +5,7 @@ "helpers:pinGitHubActionDigestsToSemver" ], "timezone": "Europe/London", - "schedule": ["after 9am and before 5pm every weekday"], + "schedule": ["after 5am and before 5pm every weekday"], "dependencyDashboard": true, "assignees": ["jimboid"], "minimumReleaseAge": "3 days", @@ -15,5 +15,34 @@ "groupName": "GitHub Actions", "addLabels": ["ci", "dependencies"] } + ], + "customManagers": [ + { + "customType": "regex", + "managerFilePatterns": [ + "/(^|/)Dockerfile[^/]*$/" + ], + "matchStringsStrategy": "recursive", + "matchStrings": [ + "pip3? install[\\s\\S]*?(?(?:[\\w.-]+==[\\w.-]+[\\s\\\\]*)+)", + "(?[\\w.-]+)==(?[\\w.-]+)" + ], + "datasourceTemplate": "pypi", + "versioningTemplate": "pep440" + }, + { + "customType": "regex", + "managerFilePatterns": [ + "/(^|/)Dockerfile[^/]*$/" + ], + "matchStringsStrategy": "recursive", + "matchStrings": [ + "(?:mamba|conda) install[\\s\\S]*?(?(?:(?:[\\w-]+::)?[\\w.-]+=[\\w.-]+[\\s\\\\]*)+)", + "(?:(?[\\w-]+)::)?(?[\\w.-]+)=(?[\\w.-]+)" + ], + "datasourceTemplate": "conda", + "registryUrlTemplate": "https://api.anaconda.org/package/{{#if channel}}{{channel}}{{else}}conda-forge{{/if}}/", + "versioningTemplate": "pep440" + } ] } From a122f5d91fa712f7ff5e9a47956e2f65afc7231e Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Wed, 16 Sep 2026 15:12:17 +0100 Subject: [PATCH 2/2] Update Dockerfile to install specific package versions --- docker/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6008e5d..34a11a2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -9,8 +9,10 @@ USER $NB_USER WORKDIR $HOME # Install workshop deps -RUN mamba install -c conda-forge matplotlib -y -RUN pip install mdtraj +RUN conda install -y -c conda-forge \ + conda-forge::matplotlib=3.11.1 +RUN pip install --no-cache-dir \ + mdtraj==1.11.1.post2 # Get workshop files and move them to jovyan directory. COPY --chown=1000:100 . .