sktime: [BUG] Version 0.28.0 `conda` release, all extras dep set `sktime-all-extras`, does not install on windows due to broken `pycatch22` specification identifier
Describe the bug Seems like version 0.28.0 causes issues for conda
$ conda env update --file environment.yml
Collecting package metadata (repodata.json): | WARNING conda.core.index:push_record(234): Skipping conda-forge/win-64::sktime-0.28.0-py310h5588dad_0 due to InvalidSpec: >=0.4,<0.4.4,
WARNING conda.core.index:push_record(234): Skipping conda-forge/win-64::sktime-0.28.0-py311h1ea47a8_0 due to InvalidSpec: >=0.4,<0.4.4,
WARNING conda.core.index:push_record(234): Skipping conda-forge/win-64::sktime-0.28.0-py38haa244fe_0 due to InvalidSpec: >=0.4,<0.4.4,
WARNING conda.core.index:push_record(234): Skipping conda-forge/win-64::sktime-0.28.0-py39hcbf5309_0 due to InvalidSpec: >=0.4,<0.4.4,
done
Solving environment: failed
InvalidVersionSpec: Invalid version '>=0.4,<0.4.4,': cannot join single expression
I’ve also opened an issue to conda about it because it seems like it’s a conda issue: https://github.com/conda/conda-build/issues/5302
To Reproduce
- Create a file called
environment.ymlwith this content:
name: CondaInvalidSpecDebug
channels:
- anaconda
- conda-forge
- pytorch
dependencies:
- sktime=0.28.0
- Run the following command:
conda env create --file environment.yml
** Extra context ** Seems like this line causes the issue:
"pycatch22>=0.4,<0.4.4",
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 29 (15 by maintainers)
Commits related to this issue
- Add myself as a maintenance contributor As was kindly invited by @fkiraly here: https://github.com/sktime/sktime/issues/6304#issuecomment-2060979554 — committed to tm-slavik57/sktime by tm-slavik57 3 years ago
- [MNT] add `slavik57` as a maintenance contributor for fixing `conda-forge` `sktime-all-extras 0.28.0` release (#6308) Add myself as a maintenance contributor as was kindly invited by @fkiraly here: ... — committed to sktime/sktime by tm-slavik57 3 years ago
Feel free to add any usernames you’d like (as long as they are added by this acct)
Yes, I saw that - but that is a valid (potential) explanation.
I do not think your proposed mechanism is an explanation, unless you postulate that imported packages are installed at runtime (which I’d doubt).