pydantic / pydantic-extra-types

Extra Pydantic types.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

almost_equal_floats not in pydantic._internal._utils anymore

alexracape opened this issue · comments

When trying to use the color type, I get the exception: AttributeError: module 'pydantic._internal._utils' has no attribute 'almost_equal_floats'. I only started experiencing this issue today after the release of pydantic v2.2.0. The problem looks to be in parse_float_alpha in color.py

Selected Assignee: @samuelcolvin

I got same problem while using https://github.com/mongkok/fastapi-debug-toolbar 😢

Hey @amazingguni @alexracape its fixed here we need just to release a new version 7712714

It's also coming in version 2.3.0

Is there a timeline for when version 2.3.0 will be released? Many thanks!