Skip to content

Commit 6a123b7

Browse files
authored
Fix renovate for OTel dependencies (#169)
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
1 parent 60c4813 commit 6a123b7

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

connectrpc-otel/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ classifiers = [
3737
]
3838
dependencies = [
3939
"opentelemetry-api>=1.39.1",
40-
"opentelemetry-instrumentation==0.60b1",
40+
# We do not want to prevent users from updating OTel when connectrpc isn't depending on
41+
# the latest. This does introduce a possibility of incompatibilities, but there is no
42+
# alternative, and in practice, the APIs we use have been stable for a long time.
43+
"opentelemetry-instrumentation>=0.60b1",
4144
]
4245

4346
[dependency-groups]

renovate.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"packageRules": [
99
{
1010
"matchManagers": ["github-actions"],
11-
"matchUpdateTypes": ["*"],
11+
"separateMajorMinor": false,
1212
"groupName": "GitHub Actions"
1313
},
1414
{
@@ -17,14 +17,17 @@
1717
"project.dependencies",
1818
"project.optional-dependencies"
1919
],
20-
"matchFileNames": ["pyproject.toml"],
20+
"matchFileNames": ["**/pyproject.toml"],
2121
// We manage production dependencies ourselves, only bumping
2222
// when necessary.
2323
"enabled": false
2424
},
2525
{
2626
"matchCategories": ["python"],
27-
"matchUpdateTypes": ["*"],
27+
"separateMajorMinor": false,
28+
// Needed to bump dev OTel dependencies. If a blanket value here doesn't make sense
29+
// in the future, we can separate out packageRules / group name for OTel.
30+
"ignoreUnstable": false,
2831
"groupName": "Python dependencies"
2932
},
3033
{

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)