Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions dev/breeze/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion scripts/ci/prek/upgrade_important_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import os
import re
import subprocess
import sys
from enum import Enum
from pathlib import Path
Expand Down Expand Up @@ -198,7 +199,7 @@ def get_replacement(value: str, quoting: Quoting) -> str:
UPGRADE_GITPYTHON: bool = os.environ.get("UPGRADE_GITPYTHON", "true").lower() == "true"
UPGRADE_RICH: bool = os.environ.get("UPGRADE_RICH", "true").lower() == "true"

ALL_PYTHON_MAJOR_MINOR_VERSIONS = ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
ALL_PYTHON_MAJOR_MINOR_VERSIONS = ["3.9", "3.10", "3.11", "3.12"]

GITHUB_TOKEN: str | None = os.environ.get("GITHUB_TOKEN")

Expand Down Expand Up @@ -364,4 +365,15 @@ def replacer(match):
console.print(f"[bright_blue]Updated {file}")
changed = True
if changed:
console.print("[bright_blue]Running breeze's uv sync to update the lock file")
copy_env = os.environ.copy()
del copy_env["VIRTUAL_ENV"]
subprocess.run(
["uv", "sync", "--resolution", "highest"],
check=True,
cwd=AIRFLOW_ROOT_PATH / "dev" / "breeze",
env=copy_env,
)
if not os.environ.get("CI"):
console.print("[bright_blue]Please commit the changes")
sys.exit(1)
Loading