Package compatibility
Pydantic
Python requirements from PyPI (requires_python / classifiers) for the pydantic package. This is not a lifecycle software page.
Compatibility is derived from PyPI requires_python and Trove classifiers. CompatHub does not independently test every combination.
Version lines
Each line reflects a declared requires_python tip. Requirement changes across tips appear as separate lines when present.
Pydantic 2.6
tip 2.6.4Python >=3.8,<3.13
Source: package metadata
- Python 2.6 line →
- Python 2.7 line →
- Python 3.0 line →
- Python 3.1 line →
- Python 3.2 line →
- Python 3.3 line →
- Python 3.4 line →
- Python 3.5 line →
- Python 3.6 line →
- Python 3.7 line →
- Python 3.8 line →
- Python 3.9 line →
- Python 3.10 line →
- Python 3.11 line →
- Python 3.12 line →
- Python 3.13 line →
- Python 3.14 line →
- Python 3.15 line →
- Python 3.16 line →
Pydantic 2.7
tip 2.7.4Python >=3.8,<3.13
Source: package metadata
- Python 2.6 line →
- Python 2.7 line →
- Python 3.0 line →
- Python 3.1 line →
- Python 3.2 line →
- Python 3.3 line →
- Python 3.4 line →
- Python 3.5 line →
- Python 3.6 line →
- Python 3.7 line →
- Python 3.8 line →
- Python 3.9 line →
- Python 3.10 line →
- Python 3.11 line →
- Python 3.12 line →
- Python 3.13 line →
- Python 3.14 line →
- Python 3.15 line →
- Python 3.16 line →
Pydantic 2.8
tip 2.8.2Python >=3.8,<3.14
Source: package metadata
- Python 2.6 line →
- Python 2.7 line →
- Python 3.0 line →
- Python 3.1 line →
- Python 3.2 line →
- Python 3.3 line →
- Python 3.4 line →
- Python 3.5 line →
- Python 3.6 line →
- Python 3.7 line →
- Python 3.8 line →
- Python 3.9 line →
- Python 3.10 line →
- Python 3.11 line →
- Python 3.12 line →
- Python 3.13 line →
- Python 3.14 line →
- Python 3.15 line →
- Python 3.16 line →
Pydantic 2.9
tip 2.9.2Python >=3.8,<3.14
Source: package metadata
- Python 2.6 line →
- Python 2.7 line →
- Python 3.0 line →
- Python 3.1 line →
- Python 3.2 line →
- Python 3.3 line →
- Python 3.4 line →
- Python 3.5 line →
- Python 3.6 line →
- Python 3.7 line →
- Python 3.8 line →
- Python 3.9 line →
- Python 3.10 line →
- Python 3.11 line →
- Python 3.12 line →
- Python 3.13 line →
- Python 3.14 line →
- Python 3.15 line →
- Python 3.16 line →
Pydantic 2.10
tip 2.10.6Python >=3.8,<3.14
Source: package metadata
- Python 2.6 line →
- Python 2.7 line →
- Python 3.0 line →
- Python 3.1 line →
- Python 3.2 line →
- Python 3.3 line →
- Python 3.4 line →
- Python 3.5 line →
- Python 3.6 line →
- Python 3.7 line →
- Python 3.8 line →
- Python 3.9 line →
- Python 3.10 line →
- Python 3.11 line →
- Python 3.12 line →
- Python 3.13 line →
- Python 3.14 line →
- Python 3.15 line →
- Python 3.16 line →
Pydantic 2.11
tip 2.11.10Python >=3.9,<3.14
Source: package metadata
- Python 2.6 line →
- Python 2.7 line →
- Python 3.0 line →
- Python 3.1 line →
- Python 3.2 line →
- Python 3.3 line →
- Python 3.4 line →
- Python 3.5 line →
- Python 3.6 line →
- Python 3.7 line →
- Python 3.8 line →
- Python 3.9 line →
- Python 3.10 line →
- Python 3.11 line →
- Python 3.12 line →
- Python 3.13 line →
- Python 3.14 line →
- Python 3.15 line →
- Python 3.16 line →
Pydantic 2.12
tip 2.12.5Python >=3.9,<3.15
Source: package metadata
- Python 2.6 line →
- Python 2.7 line →
- Python 3.0 line →
- Python 3.1 line →
- Python 3.2 line →
- Python 3.3 line →
- Python 3.4 line →
- Python 3.5 line →
- Python 3.6 line →
- Python 3.7 line →
- Python 3.8 line →
- Python 3.9 line →
- Python 3.10 line →
- Python 3.11 line →
- Python 3.12 line →
- Python 3.13 line →
- Python 3.14 line →
- Python 3.15 line →
- Python 3.16 line →
Pydantic 2.13
tip 2.13.5Python >=3.9,<3.15
Source: package metadata
- Python 2.6 line →
- Python 2.7 line →
- Python 3.0 line →
- Python 3.1 line →
- Python 3.2 line →
- Python 3.3 line →
- Python 3.4 line →
- Python 3.5 line →
- Python 3.6 line →
- Python 3.7 line →
- Python 3.8 line →
- Python 3.9 line →
- Python 3.10 line →
- Python 3.11 line →
- Python 3.12 line →
- Python 3.13 line →
- Python 3.14 line →
- Python 3.15 line →
- Python 3.16 line →
Known vulnerabilities
Recent OSV.dev advisories mapped to this product. CVSS/CWE from NVD and known-exploited status from CISA KEV when available. CompatHub is not the original vulnerability authority.
- CVE-2024-3772PYSEC-2026-1812
Pydantic regular expression denial of service
- Affected:
- >=2.0.0,<2.4.0
- Fixed in:
- 2.4.0
- Source:
- OSV source · Advisory
- CVE-2024-3772GHSA-mr82-8j83-vxmv
Pydantic regular expression denial of service
- Affected:
- <1.10.13; >=2.0.0,<2.4.0
- Fixed in:
- 1.10.13, 2.4.0
- Source:
- OSV source · Advisory
- CVE-2021-29510GHSA-5jqp-qgf6-3pvh
Use of "infinity" as an input to datetime and date fields causes infinite loop in pydantic
- Affected:
- >=1.8,<1.8.2; <1.6.2; >=1.7,<1.7.4
- Fixed in:
- 1.8.2, 1.6.2, 1.7.4
- Source:
- OSV source · Advisory
- CVE-2021-29510PYSEC-2021-47
- Affected:
- <7e83fdd2563ffac081db7ecdf1affa65ef38c468; >=1.8,<1.8.2
- Fixed in:
- 7e83fdd2563ffac081db7ecdf1affa65ef38c468, 1.8.2
- Source:
- OSV source · Advisory
