Conversation
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/13330963972. Examine the logs at this URL for more detail. |
|
I would need some help to address the remaining suggestions |
|
for the new suggestions use the main recipe, @bouweandela and I have put those in there https://github.com/conda-forge/esmvalcore-feedstock/blob/main/recipe/meta.yaml let me have a looksee why the build tests fail |
valeriupredoi
left a comment
There was a problem hiding this comment.
env looks fine otherwise; the build halts on iris and we did plug Numpy 2 support
|
BTW do not pin to python<3.13 (as is in the 2.11.1 recipe) since we now have support for 3.13, maybe <3.14 or just leave blank the upper limit 🍺 |
Co-authored-by: Valeriu Predoi <valeriu.predoi@gmail.com>
Thanks, I think I followed the scheme in b66c599 . I also set no upper limit. I still get a message about the {{ python_min }} definition though. Do I need to do anything else? |
|
It needs that silly python min set in the linux64 yml file too, sorry, forgot to tell you about it, see #81 |
Thanks, added. Now it looks like the docker build is failing though... |
|
I'll have a look in a second |
|
types-package_resources seems to have been yanked https://pypi.org/project/types-pkg-resources/ - they say use types-setuptools instead 🤷♂️ |
|
Ok at least now it reaches the tests, two of them are failing: They seem to run fine on main though? |
|
one sec, am looking at this, it appears we do need iris-sample-data in our conda env, let me just confirm that |
|
a few suggestions, I compared the latest stable with this branch:
|
|
oh and add |
|
Done! You should also be able to commit to the branch since maintainers are allowed to do edits. |
ah that's a good point, forgot about that. OK, let's see what's the hiccup this time around... |
|
there's something very weird with the pip install, look how it declares the dependencies: this should be from the ESMValTool dep tree, not anything to do with iris nor ESMValTool-sample-data Am looking into it right now, @bouweandela have you seen this oddity before? I've not EDIT: nevermind, am an idiot - that's coming from pip installing ESMValTool-sample-data - should be fine 😮💨 |
|
OK I know what's going on in here:
@sloosvel what branch did you use for the rc1 release? |
I used branch v2.12.x, the code freeze was done on Tuesday 11th so everything that got merged before then should be included |
|
good work, Saskia! I checked all the contents of the rc1 PyPI package - all there as it's supposed to be. OK, one error at a time: the missing grib file fail is because conda-build is looking in the wrong location: it should have ESMValCore in there not straight up in top level def test_load_grib(self):
"""Test loading a grib file."""
grib_path = Path(
Path(esmvalcore.__file__).parents[1],
"tests",
"sample_data",
"iris-sample-data",
"polar_stereo.grib2",
)
cubes = load(grib_path)I suspect that makes the path jump one dir up - @schlunma you added GRIBs in Core, could you pls have a look at this one for me? 🍺 |
|
the failed mask test comes from @bouweandela ESMValGroup/ESMValCore@d0bfb58#diff-573168b58f1cccbdfdc802bd9c7fd26883d42c4eb463b55aaf845bccfae47e95 in ESMValGroup/ESMValCore#2520 - we need to understand why the test fails in this configuration here, am looking at it |
|
the mask test fail is 99% because conda build uses dask==2025.2.0-pyhd8ed1ab_0 - let me try this in our env, if this is the case, then it'll make yet another absolutely unwanted and annoying bug coming from Dask |
|
boom! Son of a *** bloody Dask it is - these guys will run us into the ground with all their massive unplanned, undocumented changes they make on a whim! OK we need that pin |
|
Many thanks V! I guess the environment file will have to be updated as well?
Sounds good to me, but as you prefer, you are the reviewer. Should I then go on with the checklist and re-render? |
Indeed, I opened ESMValGroup/ESMValCore#2663 where we can fix all the bugs with 2025.2, in the meantime we should open a PR pin dask as in here, in the package. I am all for skipping the load test, we know it works well from tests in upstream, but we ought to fix it before the main release. @bouweandela @schlunma do you folks agree with this? |
Yes, that should be fine for this release candidate.
With Dask at 2025.1 as the only remaining option, it may be beneficial to relax the pin on Dask in ESMValCore to allow for versions older than 2024.8. What if someone discovers a bug in 2025.1 too? |
|
thanks @bouweandela - I agree about Dask - let's do the release testing with 2025.1 as it is now, since this one looks to be the least problematic, and it's modern too. I plugged in the test ignore in cbd8d23 - this should allow the package build with no fails 🍺 |
valeriupredoi
left a comment
There was a problem hiding this comment.
excellent work @sloosvel pls go ahead and rerender, we can push this wee one now 🍺
|
@conda-forge-admin, please rerender |
…nda-forge-pinning 2025.02.14.07.28.36
Checklist
[ ] Bumped the build number (if the version is unchanged)0(if the version changed)conda-smithy(Use the phrase@conda-forge-admin, please rerenderin a comment in this PR for automated rerendering)