ci: Configure Renovate to keep Python at 3.10 for docs workflow (#2199) · googleapis/python-bigquery@85ff5b1 · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Commit 85ff5b1

Browse files
chalmerlowegoogle-labs-jules[bot]gcf-owl-bot[bot]
authored
ci: Configure Renovate to keep Python at 3.10 for docs workflow (#2199)
* Configure Renovate to keep Python at 3.10 for docs workflow This change adds a packageRule to `renovate.json` to prevent Renovate from updating the Python version used in the `.github/workflows/docs.yml` GitHub Actions workflow. The rule specifically targets the `python-version` input of the `actions/setup-python` step and restricts allowed versions to `<3.11`, effectively pinning it to `3.10` for now. * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update renovate.json * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * adds files to excludes lists * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update owlbot.py * adds packageRule about pyproject.toml --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent cc63108 commit 85ff5b1

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

owlbot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
templated_files,
6666
excludes=[
6767
"noxfile.py",
68+
"renovate.json",
6869
"docs/multiprocessing.rst",
6970
"docs/index.rst",
7071
".coveragerc",
@@ -76,7 +77,7 @@
7677
".kokoro/continuous/prerelease-deps.cfg",
7778
".kokoro/samples/python3.7/**",
7879
".kokoro/samples/python3.8/**",
79-
".github/workflows", # exclude gh actions as credentials are needed for tests
80+
".github/workflows/**", # exclude gh actions as credentials are needed for tests
8081
"README.rst",
8182
],
8283
)

renovate.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,12 @@
88
"ignorePaths": [".pre-commit-config.yaml", ".kokoro/requirements.txt", "setup.py", ".github/workflows/unittest.yml"],
99
"pip_requirements": {
1010
"fileMatch": ["requirements-test.txt", "samples/[\\S/]*constraints.txt", "samples/[\\S/]*constraints-test.txt"]
11-
}
11+
},
12+
"packageRules": [
13+
{
14+
"matchFileNames": ["pyproject.toml"],
15+
"matchStrings": ["matplotlib (.*); python_version == '3.9'"],
16+
"allowedVersions": ">= 3.7.1, <= 3.9.2"
17+
}
18+
]
1219
}

0 commit comments

Comments
 (0)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.