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

pydantic-core 2.14.6 unusable on Linux 64 #79

Closed
1 task done
samuelcolvin opened this issue Dec 22, 2023 · 11 comments · Fixed by #82
Closed
1 task done

pydantic-core 2.14.6 unusable on Linux 64 #79

samuelcolvin opened this issue Dec 22, 2023 · 11 comments · Fixed by #82
Labels
bug Something isn't working

Comments

@samuelcolvin
Copy link
Member

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

According to pydantic/pydantic#8429 CI pipelines have started breaking in the last few hours after we released pydantic 2.5.3 with

ImportError: cannot import name 'PydanticUndefined' from 'pydantic_core' (unknown location)

Seems to be an issue with the pydantic-corer binaries for 2.14.6. related to #78

@conda-forge-admin anyone have any ideas.

Installed packages

see https://github.com/pydantic/pydantic/issues/8429 and https://github.com/scikit-learn/scikit-learn/issues/28004

Environment info

Azure CI on Linux 64.
@edgBR
Copy link

edgBR commented Dec 22, 2023

Hi @conda-forge-admin can you please check?

xhochy added a commit to xhochy/pydantic-core-feedstock that referenced this issue Dec 22, 2023
@xhochy
Copy link
Member

xhochy commented Dec 22, 2023

@conda-forge-admin anyone have any ideas.

Better ping @conda-forge/pydantic-core or @ conda-forge/help-python, @conda-forge-admin is a bot.

@xhochy
Copy link
Member

xhochy commented Dec 22, 2023

Testing this now in #80 Locally, I couldn't reproduce it on osx-arm64.

@davidhewitt
Copy link

Well I can see what's wrong; the pydantic_core directory which gets installed is missing all the pure-python source:

This is 2.14.5:

# ls -l /opt/conda/lib/python3.11/site-packages/pydantic_core/
total 5048
-rw-r--r-- 2 root root    4197 Nov 22 14:46 __init__.py
drwxr-xr-x 2 root root    4096 Dec 22 20:47 __pycache__
-rwxr-xr-x 2 root root 4988336 Nov 22 14:46 _pydantic_core.cpython-311-x86_64-linux-gnu.so
-rw-r--r-- 2 root root   32246 Nov 22 14:46 _pydantic_core.pyi
-rw-r--r-- 2 root root  132810 Nov 22 14:46 core_schema.py
-rw-r--r-- 2 root root       0 Nov 22 14:46 py.typed

This is 2.14.6:

# ls -l /opt/conda/lib/python3.11/site-packages/pydantic_core/
total 4868
-rwxr-xr-x 2 root root 4984240 Dec 21 21:57 _pydantic_core.cpython-311-x86_64-linux-gnu.so

... as to why this is the case, is not immediately obvious to me...

hmaarrfk pushed a commit to hmaarrfk/pydantic-core-feedstock that referenced this issue Dec 22, 2023
@hmaarrfk
Copy link
Contributor

Other linux packages are also broken.

@hmaarrfk
Copy link
Contributor

I'm trying to mark things as broken conda-forge/admin-requests#900 so that others don't get disrupted during our debugging.

@xhochy
Copy link
Member

xhochy commented Dec 23, 2023

This is still using build 0. This has been marked as broken. Probably you will need to wait 30-60 min more until the CDN cache has cleared.

@glemaitre
Copy link
Member

Thanks to be super reactive. I confirm that the build is available now.

@hmaarrfk
Copy link
Contributor

We also marked the other builds as broken.

@hmaarrfk hmaarrfk reopened this Dec 23, 2023
@edgBR
Copy link

edgBR commented Dec 23, 2023

Thanks @hmaarrfk

Lighting fast support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants