Skip to content

Commit

Permalink
pinned to 2.10.4 or 2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
eavanvalkenburg committed Dec 10, 2024
1 parent 1b7d07e commit 5300d9e
Show file tree
Hide file tree
Showing 4 changed files with 1,145 additions and 1,076 deletions.
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
dependencies = [
"aiohttp ~= 3.8",
"cloudevents ~=1.0",
"pydantic >=2.0,<2.11",
"pydantic >=2.0,<2.11,!=2.10.0,!=2.10.1,!=2.10.2,!=2.10.3",
"pydantic-settings ~= 2.0",
"defusedxml ~= 0.7",
# azure identity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

@experimental_class
class QdrantCollection(
VectorSearchBase[str | int, TModel],
VectorSearchBase[int | str, TModel],
VectorizedSearchMixin[TModel],
Generic[TModel],
):
Expand Down
4 changes: 2 additions & 2 deletions python/semantic_kernel/kernel_pydantic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
from typing import Annotated, Any, ClassVar, TypeVar

from pydantic import BaseModel, ConfigDict, Field, UrlConstraints
from pydantic.networks import Url
from pydantic.networks import AnyUrl
from pydantic_settings import BaseSettings, SettingsConfigDict

HttpsUrl = Annotated[Url, UrlConstraints(max_length=2083, allowed_schemes=["https"])]
HttpsUrl = Annotated[AnyUrl, UrlConstraints(max_length=2083, allowed_schemes=["https"])]


class KernelBaseModel(BaseModel):
Expand Down
Loading

0 comments on commit 5300d9e

Please sign in to comment.