-
Notifications
You must be signed in to change notification settings - Fork 592
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
[BUG-REPORT] PydanticImportError: BaseSettings
has been moved
#2384
Comments
Try downgrading pydantic to 1.10.8 - it worked for me. |
vaex-core is released, but i cannot release it on conda-forge https://github.com/conda-forge/vaex-core-feedstock/pull/93/checks?check_run_id=14928738193 because of a weird issue. I also need to release vaex (the metapackage) before you get the new vaex-core. |
does it make sense to pin pydantic<2 in vaex-core setup.py? alternatively a fallback import from pydantic.v1 would be possible ref awslabs/gluonts#3026 |
Any updates on this? Same thing is happening with a fresh install using conda. |
Could you be more specific? vaex-core 4.17.1 is released, also on conda-forge, so this should work. What versions are you getting? |
currently, pydantic 2.0 is allowed ref https://github.com/vaexio/vaex/blob/core-v4.17.1/packages/vaex-core/setup.py#L33 but there is no support for pydantic 2.0 in the codebase yet |
pydantic is not used anymore in vaex-core after #2339 (which is released in vaex-core 4.17.0) |
aha, missed that. so probably this issue is fixed by #2339 :) |
also 4.17.1. Let me know what other info I can provide. |
Also encountered this error with a fresh install of Installing a subset of |
@maartenbreddels it seems like 4.17 isn't available on conda-forge, so the default install people are getting (including myself) is 4.16 which has the wrong version of pydantic associated with it. |
+1 |
Just to report in (I'll downgrade pydantic next): got the issue on 4.17.1
|
fwiw pytest is passing with pydantic 2.8 in #2331 |
Note that vaexio/vaex#2384 has been resolved
Note that vaexio/vaex#2384 has been resolved
* Add pydantic validation * Add pydantic plugin * Add tests for pydantic validation and plugin * Add pydantic to dependencies * Resolve issues from code review * Make type hints backward compatible * Remove `pydantic` constraint for `vaex` Note that vaexio/vaex#2384 has been resolved * Improve pydantic validator test import * Add docstring to the pydantic check_output * Add initial pydantic data quality docs * Fix `pydantic support` title underline * Fix pydantic strict mode link * Fix spacing after `code-block` * Add pydantic plugin details * Fix double quotes for code references * Remove name tags * Add additional docstring example; tweak wording
As of today vaex 4.17 still isn't available on conda-forge |
I am getting a strange error on a fresh installation of Vaex with
pip install
Description
I get
PydanticImportError
; see full log belowSoftware information
import vaex; vaex.__version__)
: 4.16.0Additional information
The text was updated successfully, but these errors were encountered: