Skip to content

Commit ee66c18

Browse files
chore: Update renovate config (#330)
Similar to googleapis/langchain-google-alloydb-pg-python#458 Co-authored-by: Averi Kitsch <akitsch@google.com>
1 parent 15df66f commit ee66c18

File tree

1 file changed

+33
-9
lines changed

1 file changed

+33
-9
lines changed

.github/renovate.json5

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,19 @@
1313
'.kokoro/**',
1414
],
1515
minimumReleaseAge: '3',
16-
rebaseWhen: 'never',
16+
rebaseWhen: 'conflicted',
1717
dependencyDashboardLabels: [
1818
'type: process',
1919
],
2020
packageRules: [
21+
{
22+
matchFileNames: ["samples/index_tuning_sample/**"],
23+
groupName: "samples-index_tuning_sample",
24+
},
25+
{
26+
matchFileNames: ["samples/langchain_on_vertexai/**"],
27+
groupName: "samples-langchain_on_vertexai",
28+
},
2129
{
2230
groupName: 'GitHub Actions',
2331
matchManagers: [
@@ -35,14 +43,30 @@
3543
],
3644
},
3745
{
38-
groupName: 'python-nonmajor',
39-
matchCategories: [
40-
'python',
41-
],
42-
matchUpdateTypes: [
43-
'minor',
44-
'patch',
45-
],
46+
"description": "Disable numpy updates for python 3.10 in requirements.txt",
47+
"matchPackageNames": ["numpy"],
48+
"matchCurrentVersion": "<=2.2.6",
49+
"enabled": false
50+
},
51+
{
52+
"description": "Disable numpy updates for python <=3.9 in requirements.txt",
53+
"matchPackageNames": ["numpy"],
54+
"matchCurrentVersion": "<=2.0.2",
55+
"enabled": false
4656
},
57+
{
58+
"description": "Disable numpy updates for python 3.10 in pyproject.toml",
59+
"matchFileNames": ["pyproject.toml"],
60+
"matchPackageNames": ["numpy"],
61+
"matchCurrentValue": ">=1.24.4, <=2.2.6",
62+
"enabled": false
63+
},
64+
{
65+
"description": "Disable numpy updates for python <=3.9 in pyproject.toml",
66+
"matchFileNames": ["pyproject.toml"],
67+
"matchPackageNames": ["numpy"],
68+
"matchCurrentValue": ">=1.24.4, <=2.0.2",
69+
"enabled": false
70+
}
4771
],
4872
}

0 commit comments

Comments
 (0)