Skip to content

Commit

Permalink
FIX: No RC
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Aug 26, 2024
1 parent 027ebfd commit d906b17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion recipes/mne-python/construct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ channels:
# TODO: ⛔️ ⛔️ ⛔️ DEV BUILDS STOP: COMMENT OUT BEFORE RELEASE! ⛔️ ⛔️ ⛔️
specs:
# Python
- python =3.13.0rc1
- python =3.12.5
- pip =24.2
- conda =24.7.1
- mamba =1.5.8
Expand Down
7 changes: 5 additions & 2 deletions tests/test_outdated.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,11 @@ def get_conda_json(package):
del json, version

comp = {}
if packaging.version.parse(package.version_spec) < packaging.version.parse(
package.version_conda_forge
this_version = packaging.version.parse(package.version_spec)
if (
this_version < packaging.version.parse(package.version_conda_forge)
and package.version_conda_forge
and ".rc" not in package.version_conda_forge
):
mismatch = f"{package.version_spec} < {package.version_conda_forge}"
if package.name in allowed_outdated:
Expand Down

0 comments on commit d906b17

Please sign in to comment.