Skip to content

Commit 7fd5c35

Browse files
fix(deps): add pydantic[email] extra and reconcile version to 1.1.1
- requirements.txt/setup.cfg/setup_minimal.py: pydantic>=2.0.0 → pydantic[email]>=2.0.0 (fixes ImportError on `from validkit import AsyncValidKit` — EmailStr needs email-validator) - Reconcile version across setup.py (was 1.1.0), setup.cfg (was 1.0.1), setup_minimal.py (was 1.0.0), __init__.py (was 1.0.1) → all now 1.1.1 - config.py: update User-Agent version string to match - client.py: add missing Tuple import (NameError on stream_verify in Python 3.8/3.9)
1 parent 80762c2 commit 7fd5c35

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
aiohttp>=3.9.0
2-
pydantic>=2.0.0
2+
pydantic[email]>=2.0.0
33
python-dotenv>=1.0.0
44
typing-extensions>=4.8.0

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = validkit
3-
version = 1.0.1
3+
version = 1.1.1
44
author = ValidKit
55
author_email = support@validkit.com
66
description = Async Python SDK for ValidKit Email Verification API - Built for AI Agents
@@ -31,7 +31,7 @@ packages = find:
3131
python_requires = >=3.8
3232
install_requires =
3333
aiohttp>=3.9.0
34-
pydantic>=2.0.0
34+
pydantic[email]>=2.0.0
3535
python-dotenv>=1.0.0
3636
typing-extensions>=4.8.0
3737

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
setup(
1111
name="validkit",
12-
version="1.1.0",
12+
version="1.1.1",
1313
author="ValidKit",
1414
author_email="support@validkit.com",
1515
description="Async Python SDK for ValidKit Email Verification API - Built for AI Agents",

setup_minimal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="validkit",
8-
version="1.0.0",
8+
version="1.1.1",
99
author="ValidKit",
1010
author_email="developers@validkit.com",
1111
description="Async Python SDK for ValidKit Email Verification API",
@@ -16,7 +16,7 @@
1616
python_requires=">=3.8",
1717
install_requires=[
1818
"aiohttp>=3.9.0",
19-
"pydantic>=2.0.0",
19+
"pydantic[email]>=2.0.0",
2020
"python-dotenv>=1.0.0",
2121
"typing-extensions>=4.8.0",
2222
],

validkit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
ConnectionError
2626
)
2727

28-
__version__ = "1.0.1"
28+
__version__ = "1.1.1"
2929
__author__ = "ValidKit"
3030
__email__ = "support@validkit.com"
3131

validkit/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import asyncio
44
import json
55
import time
6-
from typing import Optional, Dict, Any, List, Union, Callable, AsyncIterator
6+
from typing import Optional, Dict, Any, List, Tuple, Union, Callable, AsyncIterator
77
from contextlib import asynccontextmanager
88
import aiohttp
99
from aiohttp import ClientSession, ClientTimeout, TCPConnector

validkit/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ValidKitConfig:
1818
rate_limit: Optional[int] = None # requests per minute
1919

2020
# Agent-specific settings
21-
user_agent: str = "ValidKit-Python/1.0.0"
21+
user_agent: str = "ValidKit-Python/1.1.1"
2222
enable_compression: bool = True
2323
compact_format: bool = True # Use token-efficient format by default
2424

0 commit comments

Comments
 (0)