Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX Test and Monitor Test GA tests are failing for all Pythons #2584

Closed
valeriupredoi opened this issue Mar 9, 2022 · 18 comments · Fixed by #2585
Closed

OSX Test and Monitor Test GA tests are failing for all Pythons #2584

valeriupredoi opened this issue Mar 9, 2022 · 18 comments · Fixed by #2585
Assignees

Comments

@valeriupredoi
Copy link
Contributor

valeriupredoi commented Mar 9, 2022

Last night's OSX tests have all died for all Python with a multitude of problems - it seems fiona is at it again, and a lot of FLAKE8 problems. Diffing the envs between passed and failed identical tests, I find these packages have changed:

<     + curl                             7.82.0  h9f20792_0                   conda-forge/osx-64                         149kB
---
>     + curl                             7.81.0  hf45b732_0                   conda-forge/osx-64                         148kB
53c53
<     + expat                             2.4.7  h96cf925_0                   conda-forge/osx-64                         150kB
---
>     + expat                             2.4.6  h96cf925_0                   conda-forge/osx-64                         149kB
61c61
<     + fontconfig                      2.13.96  h676cef8_1                   conda-forge/osx-64                         282kB
---
>     + fontconfig                      2.13.96  h10f422b_0                   conda-forge/osx-64                         297kB
123c123
<     + libcurl                          7.82.0  h9f20792_0                   conda-forge/osx-64                         327kB
---
>     + libcurl                          7.81.0  hf45b732_0                   conda-forge/osx-64                         327kB
216c216
<     + python                           3.10.2  h1dd9edd_4_cpython           conda-forge/osx-64                          13MB
---
>     + python                           3.10.2  h1dd9edd_3_cpython           conda-forge/osx-64                          13MB
219c219
<     + python-stratify               0.2.post0  py310h7f5fb2b_1              conda-forge/osx-64                         161kB
---
>     + python-stratify               0.2.post0  py310h81f86ea_1              conda-forge/osx-64

It is possible the new Python build is causing this (I can't think of any other package from that list that may cause such mayhem). I'll try pin it see if we get anywhere, if not, am just gonna turn off the tests. @zklaus @bvreede you guys have any ideas?

@zklaus
Copy link

zklaus commented Mar 9, 2022

Not completely sure, but there was a hiccup with fontconfig, see conda-forge/fontconfig-feedstock#53. That would hit us via

flowchart LR
    fontconfig --> poppler[conda-forge/poppler-feedstock#124] --> gdal --> fiona
    fontconfig --> cairo[conda-forge/cairo-feedstock#62] --> poppler
Loading

If that's right, conda-forge/poppler-feedstock#124 should solve the issue. Let's wait and see.

@valeriupredoi
Copy link
Contributor Author

brilliant, cheers, Klaus, gonna test that in Core! If it is that, we'll just sit tight and wait - a fonts package wreaking so much havoc though?

@valeriupredoi
Copy link
Contributor Author

@zklaus you were right, it is blithering fontconfig - I ran a check with it pinned at the previous build https://github.com/ESMValGroup/ESMValCore/runs/5481211780?check_suite_focus=true

@zklaus
Copy link

zklaus commented Mar 10, 2022

Ok, so that seems to have done the trick. Mostly. One issue remains: on osx (and arm64), Python 3.7 is no longer supported by conda-forge (see here). So that version will not be repaired.

Should we:

  • Drop 3.7 altogether
  • Drop 3.7 for osx
  • Attempt some pinning trickery for osx

@ESMValGroup/esmvaltool-coreteam @ESMValGroup/technical-lead-development-team ?

@schlunma
Copy link
Contributor

I would go for option 1 or 2, with a slight preference on option 1 (drop 3.7 altogether). Do we need another release candidate for that?

We are running the recipe tests with python>3.7, so in principle this shouldn't affect our tests.

@zklaus
Copy link

zklaus commented Mar 10, 2022

My vote also goes to option 1. Another release candidate? Hm. Strictly speaking...

@schlunma
Copy link
Contributor

If we do an rc6 then it would be great to drop 3.7 today and release rc6 today or tomorrow, so that @remi-kazeroni can do the test with that. There is no need to do the tests with rc5.

@zklaus
Copy link

zklaus commented Mar 10, 2022

@valeriupredoi, any opinion?

@valeriupredoi
Copy link
Contributor Author

valeriupredoi commented Mar 10, 2022 via email

@remi-kazeroni
Copy link
Contributor

If we do an rc6 then it would be great to drop 3.7 today and release rc6 today or tomorrow, so that @remi-kazeroni can do the test with that. There is no need to do the tests with rc5.

I leave it up to you. But given the time constraints with Mistral replacement, I think we can only afford one last round of testing. I can use rc5 or rc6, as you tell me.

@schlunma
Copy link
Contributor

I will prepare a PR that drops 3.7, then further discussion is easier.

@schlunma
Copy link
Contributor

See ESMValGroup/ESMValCore#1530 for ESMValCore. If we decide to merge this, then I will open a similar one for ESMValTool shortly after. The one for ESMValCore should have priority for the release.

@valeriupredoi
Copy link
Contributor Author

ok guys, off the bus, finally - my take was drop 3.7 for OSX now and then drop 3.7 for linux64 (arm64 too, but we don't have it yet anyway) with the next release - but am flexible on it - basically if we drop support for 3.7 altogether now I will not cry too much - cheers for the heads up, Klaus! 👍

@schlunma schlunma mentioned this issue Mar 10, 2022
8 tasks
@schlunma
Copy link
Contributor

See #2585 for ESMValTool.

As mentioned, would be great to reach a conclusion today, so we can initialize the last round of recipe tests with a new rc.

@bouweandela
Copy link
Member

If we do what V says, would that reduce the amount of work because no extra release candidate + testing is needed? Because then i would recommend that.

@schlunma
Copy link
Contributor

rc5 is not on conda-forge yet, so it's not really less amount of work if we merge #1530 this afternoon and do a rc6 immediately after (and it's also cleaner as then rc6=2.5.0 most likely). I would actually prefer to drop 3.7 altogether now.

@zklaus
Copy link

zklaus commented Mar 10, 2022

Yes, let's drop 3.7 altogether. Otherwise, we would also have to change the conda-forge package from noarch to arch-specific packages.

@valeriupredoi
Copy link
Contributor Author

ah yes, that is a very powerful point @zklaus - nuke it! Actually, poor choice of words on my part 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants