Skip to content

Commit

Permalink
Remove unstable symlink references
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj committed Sep 13, 2024
1 parent a0adc1c commit f9b2b55
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
6 changes: 2 additions & 4 deletions komodoenv/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ def get_release_maturity_text(release_path):
"You will need to recreate komodoenv in order to use new "
"executables in komodo.\n",
)
elif name.startswith("unstable"):
return yellow("Warning: Tracking an unstable release of komodo.\n")
elif name.startswith("testing"):
return yellow("Warning: Tracking a testing release of komodo.\n")
elif name.startswith("stable"):
Expand Down Expand Up @@ -99,7 +97,7 @@ def resolve_release( # noqa: C901

print(f"Looking for {name}")

for mode in "stable", "testing", "unstable", "bleeding":
for mode in "stable", "testing", "bleeding":
for rhver in "", distro_suffix():
dir_ = root / (mode + pyver + rhver)
track = root / (mode + pyver)
Expand All @@ -114,7 +112,7 @@ def resolve_release( # noqa: C901
return (symlink, track)

sys.exit(
"Could not automatically detect an appropriate Komodo release to track (one of: stable, testing, unstable, bleeding).\n"
"Could not automatically detect an appropriate Komodo release to track (one of: stable, testing, bleeding).\n"
"Use --no-update to make a komodoenv of a singular release.",
)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=30.3.0", "setuptools_scm", "pip>=24"]
requires = ["setuptools>=65", "setuptools_scm", "pip>=24"]

[tool.ruff]
src = ["komodoenv"]
Expand Down
2 changes: 0 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ def komodo_root(tmp_path_factory, python38_path):
("stable", "stable-py3", "stable-py38", "2030.01-py38"),
# Testing points to py38, rhel7
("testing", "testing-py3", "testing-py38", "2030.02-py38"),
# Unstable refers to a future version of RHEL
("unstable", "unstable-py3", "unstable-py38", "2030.03-py38"),
# Bleeding points to py38, rhel7
("bleeding", "bleeding-py3", "bleeding-py38"),
):
Expand Down
5 changes: 0 additions & 5 deletions tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ def test_resolve_simple(komodo_root, track_name, name, expect):
"",
"bleed",
"bleeding-",
# Unstable points to a non-existant, future version of RHEL and
# therefore not possible to resolve
"unstable",
"unstable-py3",
"unstable-py38",
"2030.03.00-py38",
"2030.03.00-py38-rhel9",
# Singular release
Expand Down

0 comments on commit f9b2b55

Please sign in to comment.