Skip to content

Commit

Permalink
Include release candidates in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelishman committed Sep 24, 2024
1 parent 394b6c1 commit bf34ad5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/qpy_compat/get_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@ def available_versions_for_package(package, min_version=None, max_version=None):
continue
if max_version is not None and other_version >= max_version:
continue
if other_version > our_version or other_version.is_prerelease:
if other_version > our_version:
continue
if other_version.pre is not None and other_version.pre[0] in ("a", "b"):
# We skip alpha and beta prereleases, but we currently want to test for
# compatibility with release candidates.
continue
# Note: this ignores versions that are uninstallable because we're using a Python
# version that's too new, which can be a problem for the oldest Terras, especially from
Expand Down

0 comments on commit bf34ad5

Please sign in to comment.