Skip to content

chore: bump djc 0.136 #13

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

Merged
merged 2 commits into from
Apr 5, 2025
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: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "djc-ext-pydantic"
version = "0.1.0"
version = "1.0.0"
requires-python = ">=3.8, <4.0"
description = "Input validation with Pydantic for Django Components"
keywords = ["pydantic", "django-components", "djc", "django", "components"]
Expand Down Expand Up @@ -33,7 +33,7 @@ classifiers = [
"License :: OSI Approved :: MIT License",
]
dependencies = [
'django-components>=0.131',
'django-components>=0.136',
'pydantic>=2.9',
]
license = {text = "MIT"}
Expand Down
2 changes: 1 addition & 1 deletion requirements-ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ django==4.2.20
# via
# -r requirements-ci.in
# django-components
django-components==0.135
django-components==0.136
# via -r requirements-ci.in
djc-core-html-parser==1.0.2
# via django-components
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ django==4.2.20
# via
# -r requirements-dev.in
# django-components
django-components==0.135
django-components==0.136
# via -r requirements-dev.in
djc-core-html-parser==1.0.2
# via django-components
Expand Down
3 changes: 1 addition & 2 deletions src/djc_pydantic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from djc_pydantic.monkeypatch import monkeypatch_pydantic_core_schema
from djc_pydantic.extension import PydanticExtension

from djc_pydantic.monkeypatch import monkeypatch_pydantic_core_schema

monkeypatch_pydantic_core_schema()

Expand Down
2 changes: 1 addition & 1 deletion src/djc_pydantic/extension.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django_components import ComponentExtension
from django_components.extension import (
OnComponentInputContext,
OnComponentDataContext,
OnComponentInputContext,
)

from djc_pydantic.validation import get_component_typing, validate_type
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ deps =
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
django-components==0.135
django-components>=0.136
pytest
pytest-xdist
pytest-django
Expand Down