Skip to content

Commit 2f77d31

Browse files
authored
chore: Disable numpy updates for python versions <= 3.10 (#458)
* chore: Update renovate for numpy deps * Update renovate.json5 * update after dry run
1 parent 185b5b8 commit 2f77d31

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

.github/renovate.json5

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,29 @@
4747
],
4848
},
4949
{
50-
"description": "Disable numpy updates for Python <= 3.10 by matching the python_version marker.",
51-
"matchFileNames": ["pyproject.toml", "requirements.txt"],
50+
"description": "Disable numpy updates for python 3.10 in requirements.txt",
5251
"matchPackageNames": ["numpy"],
53-
"matchDepVersions": ["/(python_version == '3\\.10|python_version <= '3\\.9)/"],
52+
"matchCurrentVersion": "<=2.2.6",
53+
"enabled": false
54+
},
55+
{
56+
"description": "Disable numpy updates for python <=3.9 in requirements.txt",
57+
"matchPackageNames": ["numpy"],
58+
"matchCurrentVersion": "<=2.0.2",
59+
"enabled": false
60+
},
61+
{
62+
"description": "Disable numpy updates for python 3.10 in pyproject.toml",
63+
"matchFileNames": ["pyproject.toml"],
64+
"matchPackageNames": ["numpy"],
65+
"matchCurrentValue": ">=1.24.4, <=2.2.6",
66+
"enabled": false
67+
},
68+
{
69+
"description": "Disable numpy updates for python <=3.9 in pyproject.toml",
70+
"matchFileNames": ["pyproject.toml"],
71+
"matchPackageNames": ["numpy"],
72+
"matchCurrentValue": ">=1.24.4, <=2.0.2",
5473
"enabled": false
5574
}
5675
],

0 commit comments

Comments
 (0)