diff --git a/.github/scripts/get_min_versions.py b/.github/scripts/get_min_versions.py index a8cf272ab9..8df28865ae 100644 --- a/.github/scripts/get_min_versions.py +++ b/.github/scripts/get_min_versions.py @@ -78,11 +78,6 @@ def get_minimum_version(package_name: str, spec_string: str) -> Optional[str]: spec_string = re.sub( rf"\^{x}\.(\d+)\.(\d+)", rf">={x}.\1.\2,<{x+1}", spec_string ) - # Rewrite occurrences of ^x to >=x.0.0,={x}.0.0,<{x+1}.0.0", spec_string - ) spec_set = SpecifierSet(spec_string) all_versions = get_pypi_versions(package_name)