pydantic-compat_0.1.2-1_amd64.changes (click to toggle) | |
---|---|
Format: | 1.8 |
Date: | Sun, 15 Sep 2024 13:02:42 +0200 |
Source: | pydantic-compat |
Binary: | python3-pydantic-compat |
Architecture: | source all |
Version: | 0.1.2-1 |
Distribution: | unstable |
Urgency: | low |
Maintainer: | Debian Python Team <team+python@tracker.debian.org> |
Changed-By: | Roland Mas <lolando@debian.org> |
Description: | python3-pydantic-compat - Compatibility layer for pydantic v1/v2 |
Changes: | pydantic-compat (0.1.2-1) unstable; urgency=low * Initial release, autogenerated by py2dsp/3.20230219 then tweaked by hand. |
Files: | c3d564fb8461f1224ad8ce0209cfccab 1956 python optional pydantic-compat_0.1.2-1.dsc b15a0b5120814b5953474f68d98376ff 14517 python optional pydantic-compat_0.1.2.orig.tar.gz 0acbe4e0984a31f4d1ce4a855f373e8a 2288 python optional pydantic-compat_0.1.2-1.debian.tar.xz 5d62975288b978ae8d4693a2ba5ef17b 7472 python optional pydantic-compat_0.1.2-1_amd64.buildinfo 1286196d1da550813574f28590ceda56 13856 python optional python3-pydantic-compat_0.1.2-1_all.deb |
pydantic-compat_0.1.2-1.dsc (click to toggle) | |
---|---|
Format: | 3.0 (quilt) |
Source: | pydantic-compat |
Binary: | python3-pydantic-compat |
Architecture: | all |
Version: | 0.1.2-1 |
Maintainer: | Debian Python Team <team+python@tracker.debian.org> |
Uploaders: | Roland Mas <lolando@debian.org>, |
Standards-Version: | 4.6.2.0 |
Testsuite: | autopkgtest-pkg-pybuild |
Build-Depends: | debhelper-compat (=13), pybuild-plugin-pyproject, python3-all, python3-hatch-vcs, python3-hatchling, python3-pydantic, python3-pytest |
Package-List: | python3-pydantic-compat deb python optional arch=all |
Files: | b15a0b5120814b5953474f68d98376ff 14517 pydantic-compat_0.1.2.orig.tar.gz 0acbe4e0984a31f4d1ce4a855f373e8a 2288 pydantic-compat_0.1.2-1.debian.tar.xz |
control file for python3-pydantic-compat_0.1.2-1_all.deb (click to toggle) | |
---|---|
Package: | python3-pydantic-compat |
Source: | pydantic-compat |
Version: | 0.1.2-1 |
Architecture: | all |
Maintainer: | Debian Python Team <team+python@tracker.debian.org> |
Installed-Size: | 56 |
Depends: | python3-importlib-metadata | python3-supported-min (>=3.8), python3-pydantic, python3:any |
Section: | python |
Priority: | optional |
Description: | Compatibility layer for pydantic v1/v2 Pydantic 2 was a major release that completely changed the pydantic API. . For applications, this is not a big deal, as they can pin to whatever version of pydantic they need. But for libraries that want to exist in a broader environment, pinning to a specific version of pydantic is not always an option (as it limits the ability to co-exist with other libraries). . This package provides (unofficial) compatibility mixins and function adaptors for pydantic v1-v2 cross compatibility. It allows you to use either v1 or v2 API names, regardless of the pydantic version installed. (Prefer using v2 names when possible). . Tests are run on Pydantic v1.8 and up . The API conversion is not exhaustive, but suffices for many use cases. |
contents of python3-pydantic-compat_0.1.2-1_all.deb (click to toggle) | |
---|---|
drwxr-xr-x root/root 0 2024-09-15 11:02 ./ drwxr-xr-x root/root 0 2024-09-15 11:02 ./usr/ drwxr-xr-x root/root 0 2024-09-15 11:02 ./usr/lib/ drwxr-xr-x root/root 0 2024-09-15 11:02 ./usr/lib/python3/ drwxr-xr-x root/root 0 2024-09-15 11:02 ./usr/lib/python3/dist-packages/ drwxr-xr-x root/root 0 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/ -rw-r--r-- root/root 1664 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/__init__.py -rw-r--r-- root/root 2940 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/_shared.py drwxr-xr-x root/root 0 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/_v1/ -rw-r--r-- root/root 406 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/_v1/__init__.py -rw-r--r-- root/root 2735 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/_v1/decorators.py -rw-r--r-- root/root 6012 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/_v1/mixin.py drwxr-xr-x root/root 0 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/_v2/ -rw-r--r-- root/root 327 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/_v2/__init__.py -rw-r--r-- root/root 2319 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/_v2/decorators.py -rw-r--r-- root/root 4429 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/_v2/mixin.py -rw-r--r-- root/root 0 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat/py.typed drwxr-xr-x root/root 0 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat-0.1.2.dist-info/ -rw-r--r-- root/root 7 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat-0.1.2.dist-info/INSTALLER -rw-r--r-- root/root 8450 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat-0.1.2.dist-info/METADATA -rw-r--r-- root/root 87 2024-09-15 11:02 ./usr/lib/python3/dist-packages/pydantic_compat-0.1.2.dist-info/WHEEL drwxr-xr-x root/root 0 2024-09-15 11:02 ./usr/share/ drwxr-xr-x root/root 0 2024-09-15 11:02 ./usr/share/doc/ drwxr-xr-x root/root 0 2024-09-15 11:02 ./usr/share/doc/python3-pydantic-compat/ -rw-r--r-- root/root 2698 2023-10-24 23:19 ./usr/share/doc/python3-pydantic-compat/README.md.gz -rw-r--r-- root/root 182 2024-09-15 11:02 ./usr/share/doc/python3-pydantic-compat/changelog.Debian.gz -rw-r--r-- root/root 1886 2024-09-15 10:40 ./usr/share/doc/python3-pydantic-compat/copyright |
copyright of python3-pydantic-compat_0.1.2-1_all.deb (click to toggle) | |
---|---|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pydantic-compat Upstream-Contact: Talley Lambert <talley.lambert@gmail.com> Source: Files: * Copyright: 2023 Talley Lambert <talley.lambert@gmail.com> License: BSD-3-Clause Files: debian/* Copyright: 2024 Roland Mas <lolando@debian.org> License: BSD-3-Clause License: BSD-3-Clause Copyright (c) 2023, Talley Lambert . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Timestamp: 15.09.2024 / 12:02:23 (UTC)