Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- name: Build package
run: uv build
- name: Publish package distributions to test.PyPI
run: uv publish --index testpypi

Expand All @@ -27,5 +29,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- name: Build package
run: uv build
- name: Publish package distributions to PyPI
run: uv publish
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [
]
dependencies = [
"PyYaml",
"pydantic!=2.10.*",
"pydantic>=2.10.5",
"email-validator",
"yarl",
"httpx",
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jmespath==1.0.1
more-itertools==10.5.0
multidict==6.1.0
propcache==0.2.1
pydantic==2.9.2
pydantic-core==2.23.4
pydantic==2.10.5
pydantic-core==2.27.2
pyyaml==6.0.2
sniffio==1.3.1
typing-extensions==4.12.2
Expand Down
2 changes: 1 addition & 1 deletion tests/schema_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def test_schema_type_string_format_byte_base64(with_schema_type_string_format_by
api = OpenAPI("/", with_schema_type_string_format_byte_base64)
b64 = api.components.schemas["Base64Property"].get_type()
RAW = "test"
B64 = {"data": "dGVzdA==\n"}
B64 = {"data": "dGVzdA=="}
v = b64.model_validate(B64)
assert v.model_dump() == B64
assert v.data == RAW
Expand Down
Loading
Loading