Skip to content

Commit ddcf9eb

Browse files
committed
CI: Fix Python 3.12 install and package install check
1 parent 937e164 commit ddcf9eb

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ jobs:
5656
run: |
5757
python -m pip show wrf-python
5858
python -m pip show --files wrf-python
59-
installed_files="$(python -m pip show --files wrf-python | grep -v :)"
59+
prefix="$(python -m pip show --files six | grep Location: | cut -f2 -d' ')"
60+
installed_files="$(python -m pip show --files wrf-python | sed -E -e "/\\w+:/ d" -e "/^\s+/ s|^ |${prefix}/|g")"
6061
ls -l ${installed_files}
6162
file ${installed_files}
6263
ldd ${installed_files}

build_envs/environment.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: wrf_python_build
33
channels:
44
- conda-forge
55
dependencies:
6-
- python>=3.9, <3.12
6+
- python>=3.9, <3.13
77
- compilers
88
- basemap
99
- cartopy
@@ -17,4 +17,5 @@ dependencies:
1717
- sphinx_rtd_theme
1818
- wrapt
1919
- xarray
20-
20+
- build
21+
- pip

0 commit comments

Comments
 (0)