Skip to content

Commit 6706ae4

Browse files
authored
reconfigure renovate (open-telemetry#5483)
* reconfigure renovate Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * updates Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * update regex Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * update comments Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * update Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * update Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * update Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * update Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * revert to recommended Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * updates Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * updates Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * updates Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * update headers in requirements Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * update comment Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * update headers Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> * small fix to requirements Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com> --------- Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
1 parent 3381a88 commit 6706ae4

11 files changed

Lines changed: 42 additions & 26 deletions

File tree

.github/renovate.json5

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
extends: [
4-
"config:recommended",
4+
"config:best-practices",
55
"helpers:pinGitHubActionDigestsToSemver",
6-
":semanticCommits",
6+
":semanticCommits"
77
],
8+
constraints: {
9+
python: "==3.10"
10+
},
811
labels: [
912
"dependencies",
1013
"Skip Changelog",
@@ -18,8 +21,17 @@
1821
"gen-requirements.txt",
1922
"dev-requirements.txt",
2023
"docs-requirements.txt",
24+
// pyproject.toml files are intentionally excluded: package versions are managed
25+
// by the release process and are not auto-updated by Renovate.
2126
"**/pyproject.toml",
2227
],
28+
// pip-compile manages the oldest|latest requirements files via lockFileMaintenance (re-runs uv pip compile --resolution=lowest|highest).
29+
// pip_requirements is disabled for those files to avoid double-processing.
30+
"pip-compile": {
31+
managerFilePatterns: [
32+
"/(^|/).*-requirements\.(oldest|latest)\.txt$/",
33+
],
34+
},
2335
// Also scan GitHub Actions workflow templates written as Jinja files.
2436
"github-actions": {
2537
managerFilePatterns: [
@@ -36,6 +48,11 @@
3648
matchUpdateTypes: ["minor", "major"],
3749
schedule: ["before 8am on Monday"],
3850
},
51+
{
52+
matchManagers: ["pip_requirements"],
53+
matchFileNames: ["**/*-requirements.oldest.txt", "**/*-requirements.latest.txt"],
54+
enabled: false,
55+
},
3956
{
4057
groupName: "docs deps",
4158
matchFileNames: ["docs/**"],
@@ -48,14 +65,13 @@
4865
"dockerfile",
4966
"docker-compose",
5067
],
51-
matchUpdateTypes: [
52-
"patch",
53-
"minor",
54-
"pin",
55-
"pinDigest",
56-
"digest",
57-
],
5868
semanticCommitScope: "ci",
5969
},
70+
{
71+
matchDepTypes: ["uses-with"],
72+
matchDepNames: ["python"],
73+
// Disable Renovate for the python version used in GitHub Actions workflows. The version is generated based on tox envs.
74+
enabled: false,
75+
},
6076
],
6177
}

exporter/opentelemetry-exporter-http-transport/test-requirements.latest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --python 3.10 --universal --resolution highest exporter/opentelemetry-exporter-http-transport/test-requirements.in -o exporter/opentelemetry-exporter-http-transport/test-requirements.latest.txt
2+
# uv pip compile --python-version=3.10 --universal --resolution=highest exporter/opentelemetry-exporter-http-transport/test-requirements.in --output-file=exporter/opentelemetry-exporter-http-transport/test-requirements.latest.txt
33
-e exporter/opentelemetry-exporter-http-transport
44
# via -r exporter/opentelemetry-exporter-http-transport/test-requirements.in
55
-e opentelemetry-api

exporter/opentelemetry-exporter-http-transport/test-requirements.oldest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --python 3.10 --universal --resolution lowest-direct exporter/opentelemetry-exporter-http-transport/test-requirements.in -o exporter/opentelemetry-exporter-http-transport/test-requirements.oldest.txt
2+
# uv pip compile --python-version=3.10 --universal --resolution=lowest-direct exporter/opentelemetry-exporter-http-transport/test-requirements.in --output-file=exporter/opentelemetry-exporter-http-transport/test-requirements.oldest.txt
33
-e exporter/opentelemetry-exporter-http-transport
44
# via -r exporter/opentelemetry-exporter-http-transport/test-requirements.in
55
-e opentelemetry-api

exporter/opentelemetry-exporter-otlp-common/test-requirements.latest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --python 3.10 --universal --resolution highest exporter/opentelemetry-exporter-otlp-common/test-requirements.in -o exporter/opentelemetry-exporter-otlp-common/test-requirements.latest.txt
2+
# uv pip compile --python-version=3.10 --universal --resolution=highest exporter/opentelemetry-exporter-otlp-common/test-requirements.in --output-file=exporter/opentelemetry-exporter-otlp-common/test-requirements.latest.txt
33
-e exporter/opentelemetry-exporter-http-transport
44
# via
55
# -r exporter/opentelemetry-exporter-otlp-common/test-requirements.in

exporter/opentelemetry-exporter-otlp-common/test-requirements.oldest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --python 3.10 --universal --resolution lowest-direct exporter/opentelemetry-exporter-otlp-common/test-requirements.in -o exporter/opentelemetry-exporter-otlp-common/test-requirements.oldest.txt
2+
# uv pip compile --python-version=3.10 --universal --resolution=lowest-direct exporter/opentelemetry-exporter-otlp-common/test-requirements.in --output-file=exporter/opentelemetry-exporter-otlp-common/test-requirements.oldest.txt
33
-e exporter/opentelemetry-exporter-http-transport
44
# via
55
# -r exporter/opentelemetry-exporter-otlp-common/test-requirements.in

exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.latest.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --python 3.10 --universal -c dev-requirements.txt exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.in -o exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.latest.txt
2+
# uv pip compile --python-version=3.10 --universal --constraints=dev-requirements.txt exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.in --output-file=exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.latest.txt
33
-e exporter/opentelemetry-exporter-otlp-proto-common
44
# via
55
# -r exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.in
@@ -31,7 +31,7 @@
3131
# via -r exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.in
3232
asgiref==3.7.2
3333
# via
34-
# -c dev-requirements.txt
34+
# --constraints=dev-requirements.txt
3535
# opentelemetry-test-utils
3636
certifi==2026.5.20
3737
# via requests
@@ -68,11 +68,11 @@ protobuf==7.35.0
6868
# opentelemetry-proto
6969
pytest==7.4.4
7070
# via
71-
# -c dev-requirements.txt
71+
# --constraints=dev-requirements.txt
7272
# -r exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.in
7373
requests==2.32.3
7474
# via
75-
# -c dev-requirements.txt
75+
# --constraints=dev-requirements.txt
7676
# opentelemetry-test-utils
7777
tomli==2.4.1 ; python_full_version < '3.11'
7878
# via pytest

exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.oldest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --python 3.10 --universal --resolution lowest -c dev-requirements.txt exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.in -o exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.oldest.txt
2+
# uv pip compile --python-version=3.10 --universal --resolution=lowest --constraints=dev-requirements.txt exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.in --output-file=exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.oldest.txt
33
-e exporter/opentelemetry-exporter-otlp-proto-common
44
# via
55
# -r exporter/opentelemetry-exporter-otlp-proto-grpc/test-requirements.in

opentelemetry-proto-json/test-requirements.latest.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --python 3.10 --universal -c dev-requirements.txt opentelemetry-proto-json/test-requirements.in -o opentelemetry-proto-json/test-requirements.latest.txt
2+
# uv pip compile --python-version=3.10 --universal --constraints=dev-requirements.txt opentelemetry-proto-json/test-requirements.in --output-file=opentelemetry-proto-json/test-requirements.latest.txt
33
-e opentelemetry-proto-json
44
# via -r opentelemetry-proto-json/test-requirements.in
55
colorama==0.4.6
@@ -22,7 +22,7 @@ pluggy==1.6.0
2222
# pytest
2323
pytest==7.4.4
2424
# via
25-
# -c dev-requirements.txt
25+
# --constraints=dev-requirements.txt
2626
# -r opentelemetry-proto-json/test-requirements.in
2727
tomli==2.4.1 ; python_full_version < '3.11'
2828
# via pytest

opentelemetry-proto-json/test-requirements.oldest.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --python 3.10 --universal --resolution lowest -c dev-requirements.txt opentelemetry-proto-json/test-requirements.in -o opentelemetry-proto-json/test-requirements.oldest.txt
2+
# uv pip compile --python-version=3.10 --universal --resolution=lowest --constraints=dev-requirements.txt opentelemetry-proto-json/test-requirements.in --output-file=opentelemetry-proto-json/test-requirements.oldest.txt
33
-e opentelemetry-proto-json
44
# via -r opentelemetry-proto-json/test-requirements.in
55
colorama==0.4.6
@@ -22,7 +22,7 @@ pluggy==1.0.0
2222
# pytest
2323
pytest==7.4.4
2424
# via
25-
# -c dev-requirements.txt
25+
# --constraints=dev-requirements.txt
2626
# -r opentelemetry-proto-json/test-requirements.in
2727
tomli==1.0.0 ; python_full_version < '3.11'
2828
# via pytest

opentelemetry-proto/test-requirements.latest.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file was autogenerated by uv via the following command:
2-
# uv pip compile --python 3.10 --universal -c dev-requirements.txt opentelemetry-proto/test-requirements.in -o opentelemetry-proto/test-requirements.latest.txt
2+
# uv pip compile --python-version=3.10 --universal --constraints=dev-requirements.txt opentelemetry-proto/test-requirements.in --output-file=opentelemetry-proto/test-requirements.latest.txt
33
-e opentelemetry-proto
44
# via -r opentelemetry-proto/test-requirements.in
55
colorama==0.4.6
@@ -24,7 +24,7 @@ protobuf==7.35.0
2424
# opentelemetry-proto
2525
pytest==7.4.4
2626
# via
27-
# -c dev-requirements.txt
27+
# --constraints=dev-requirements.txt
2828
# -r opentelemetry-proto/test-requirements.in
2929
tomli==2.4.1 ; python_full_version < '3.11'
3030
# via pytest

0 commit comments

Comments
 (0)