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

New python version introduces bug with pydantic #551

Closed
jdahm opened this issue Nov 10, 2021 · 1 comment
Closed

New python version introduces bug with pydantic #551

jdahm opened this issue Nov 10, 2021 · 1 comment
Projects

Comments

@jdahm
Copy link
Contributor

jdahm commented Nov 10, 2021

Python 3.9.8 and Python 3.10.1 introduce an API change in typing.ForwardRef that introduces a bug in pydantic (for details see pydantic/pydantic#3401 and pydantic/pydantic#3403).

In order to get around this for the moment we downgraded the Python 3.9 version used on CI to 3.9.7, but we should prioritize fixing #548 and get the latest version with the fix ASAP.

@gridtoolsjenkins gridtoolsjenkins added this to Triage in GridTools Nov 10, 2021
havogt pushed a commit that referenced this issue Nov 11, 2021
Downgrades the Python 3.9 version used in CI as described in #551 to avoid a Pydantic issue.
@jdahm
Copy link
Contributor Author

jdahm commented Apr 22, 2022

This is negated by the fact that code in eve breaks later Python versions anyway, so I'll close this.

See #565.

@jdahm jdahm closed this as completed Apr 22, 2022
GridTools automation moved this from Triage to Done Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
GridTools
  
Done
Development

No branches or pull requests

1 participant