Skip to content

Commit

Permalink
Partially revert "Remove old CI migration code"
Browse files Browse the repository at this point in the history
We forgot to think about old branches, which we still need to accommodate
for.

This reverts commit 2b875a2.
  • Loading branch information
mdellweg authored and dralley committed Nov 26, 2024
1 parent 0bc33a6 commit 76d04d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/github/.ci/scripts/check_requirements.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ def main():
else:
if check_prereleases and req.specifier.prereleases:
# Do not even think about begging for more exceptions!
if req.name != "{{ plugin_name | dash }}-client":
if (
not req.name.startswith("opentelemetry")
and req.name != "{{ plugin_name | dash }}-client"
):
errors.append(f"{filename}:{nr}: Prerelease versions found in {line}.")
ops = [spec.operator for spec in req.specifier]
if "~=" in ops:
Expand Down

0 comments on commit 76d04d7

Please sign in to comment.