Skip to content

Commit 03e9ebd

Browse files
authored
Merge pull request #186 from CCPBioSim/185-add-renovate
Add Renovate and Pin Dependencies for Stable CI and Automated Updates
2 parents b0be562 + 9a0cea2 commit 03e9ebd

File tree

3 files changed

+35
-7
lines changed

3 files changed

+35
-7
lines changed

.github/renovate.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": ["config:base"],
3+
"rangeStrategy": "bump"
4+
}

.github/workflows/renovate.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Renovate
2+
3+
on:
4+
schedule:
5+
- cron: "0 8 * * *"
6+
workflow_dispatch:
7+
8+
jobs:
9+
renovate:
10+
runs-on: ubuntu-24.04
11+
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
issues: write
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- uses: renovatebot/github-action@v40.1.4
21+
with:
22+
token: ${{ secrets.RENOVATE_TOKEN }}
23+
env:
24+
RENOVATE_CONFIG_FILE: ".github/renovate.json"

pyproject.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ keywords = ["entropy", "macromolecular systems", "MD simulation"]
3939
requires-python = ">=3.11"
4040
dependencies = [
4141
"numpy==2.3.4",
42-
"mdanalysis>=2.10.0",
42+
"mdanalysis==2.10.0",
4343
"pandas==2.3.3",
4444
"psutil==7.1.3",
4545
"PyYAML==6.0.3",
4646
"python-json-logger==4.0.0",
4747
"rich==14.2.0",
4848
"art==6.5",
4949
"waterEntropy==1.2.2",
50-
"requests>=2.32.5",
50+
"requests==2.32.5",
5151
]
5252

5353
[project.urls]
@@ -57,14 +57,14 @@ Documentation = "https://codeentropy.readthedocs.io"
5757

5858
[project.optional-dependencies]
5959
testing = [
60-
"pytest>=8.4.2",
61-
"pytest-cov>=7.0.0",
62-
"pytest-sugar>=1.1.1"
60+
"pytest==9.0.1",
61+
"pytest-cov==7.0.0",
62+
"pytest-sugar==1.1.1"
6363
]
6464

6565
pre-commit = [
66-
"pre-commit>=4.3.0",
67-
"pylint>=4.0.0"
66+
"pre-commit==4.4.0",
67+
"pylint==4.0.3"
6868
]
6969
docs = [
7070
"sphinx",

0 commit comments

Comments
 (0)