Skip to content

Commit 5c96977

Browse files
Copilotilaflott
andcommitted
Pin setuptools<81 in environment.yml to fix CI failure
cylc-flow 8.2.7 imports pkg_resources (from setuptools), but setuptools >= 81 removed pkg_resources from its distribution. The conda env was resolving to setuptools 82.0.0 which no longer ships pkg_resources, causing: ModuleNotFoundError: No module named 'pkg_resources' Pinning setuptools<81 ensures the conda env gets a version that still bundles pkg_resources. Co-authored-by: ilaflott <6273252+ilaflott@users.noreply.github.com>
1 parent 62dfa57 commit 5c96977

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ channels:
55
dependencies:
66
- python
77
- pip
8+
- setuptools<81
89
- noaa-gfdl::fre-cli
910
- conda-forge::pyyaml
1011
- conda-forge::nco

0 commit comments

Comments
 (0)