You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttributeError: module 'pydantic._internal._std_types_schema' has no attribute 'PREPARE_METHODS'
This happens due to the update of the pydantic transitive dependency, which happened on September 5.
Indeed, we don't have full control of transitive dependency in the guide, as we teach how to freeze dependencies to avoid unwanted breakage.
However, we don't have guarantees that the guide itself will be in a full working state, as shown above.
A quick sorkaround is to pin pydantic to 2.8.2, as shown in bentoml/BentoML#4974. A more long term solution is to use bentoml.IODescriptor as shown in bentoml/BentoML#4975
A more general question arises: how do we ensure the ocntent of the guide stays in a full working state, without pre-doing the steps the readers are supposed to do?
The text was updated successfully, but these errors were encountered:
Error in chapter 11:
This happens due to the update of the
pydantic
transitive dependency, which happened on September 5.Indeed, we don't have full control of transitive dependency in the guide, as we teach how to freeze dependencies to avoid unwanted breakage.
However, we don't have guarantees that the guide itself will be in a full working state, as shown above.
A quick sorkaround is to pin pydantic to 2.8.2, as shown in bentoml/BentoML#4974. A more long term solution is to use
bentoml.IODescriptor
as shown in bentoml/BentoML#4975A more general question arises: how do we ensure the ocntent of the guide stays in a full working state, without pre-doing the steps the readers are supposed to do?
The text was updated successfully, but these errors were encountered: