David Runge pushed to branch main at Arch Linux / Packaging / Packages /
python-pydantic
Commits:
17d0044c by David Runge at 2024-04-13T12:59:47+02:00
upgpkg: 2.7.0-1
More broadly deselect doc tests (as they do some code formatter checks
that we are absolutely not interested in).
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = python-pydantic
pkgdesc = Data parsing and validation using Python type hints
- pkgver = 2.6.4
- pkgrel = 3
+ pkgver = 2.7.0
+ pkgrel = 1
url = https://github.com/pydantic/pydantic
arch = any
license = MIT
@@ -32,8 +32,8 @@ pkgbase = python-pydantic
optdepends = python-dotenv: for .env file support
optdepends = python-email-validator: for email validation
optdepends = python-hypothesis: for hypothesis plugin when using legacy
v1
- source =
https://github.com/pydantic/pydantic/archive/v2.6.4/pydantic-v2.6.4.tar.gz
- sha512sums =
dd3cb35d6b062649f30ede0f32740d02e53383d231b3c92e9a6aec26d8fa07a141d22162b2e08efa49ea7321411891f9a34cb5bc2e05186c4069f57cec6e51d2
- b2sums =
e9aab3378dceb544be12d49bd6d34f83b3d9b14db2517de058ae93dccb2fc0d84bece4103b7fe9349764d16ec3fe36f4d14fa06381880ee143efa1ac0beeaecf
+ source =
https://github.com/pydantic/pydantic/archive/v2.7.0/pydantic-v2.7.0.tar.gz
+ sha512sums =
14fe4e55bbfaade52b5176207b3a0101980316b8c35d1fc22e05448106776deee01b31cdd61c03742afc26bd45a5dfca8feb4f67bee75bf7f3c17c028c6088c8
+ b2sums =
8a82fe997f7e70b049e29069bc130fd825485e65ff9bcdb1e3b27c0898dbc662dc4631655940b2326a2314e84520908d3d0955c6b3299d402671de6cef1b30d5
pkgname = python-pydantic
=====================================
PKGBUILD
=====================================
@@ -4,8 +4,8 @@
_name=pydantic
pkgname=python-$_name
# WARNING: upstream pins pydantic-core down to the patch-level and using other
versions breaks tests! only update in lock-step with python-pydantic-core!
-pkgver=2.6.4
-pkgrel=3
+pkgver=2.7.0
+pkgrel=1
pkgdesc='Data parsing and validation using Python type hints'
arch=(any)
url="https://github.com/pydantic/pydantic"
@@ -46,8 +46,8 @@ optdepends=(
'python-hypothesis: for hypothesis plugin when using legacy v1'
)
source=($url/archive/v$pkgver/$_name-v$pkgver.tar.gz)
-sha512sums=('dd3cb35d6b062649f30ede0f32740d02e53383d231b3c92e9a6aec26d8fa07a141d22162b2e08efa49ea7321411891f9a34cb5bc2e05186c4069f57cec6e51d2')
-b2sums=('e9aab3378dceb544be12d49bd6d34f83b3d9b14db2517de058ae93dccb2fc0d84bece4103b7fe9349764d16ec3fe36f4d14fa06381880ee143efa1ac0beeaecf')
+sha512sums=('14fe4e55bbfaade52b5176207b3a0101980316b8c35d1fc22e05448106776deee01b31cdd61c03742afc26bd45a5dfca8feb4f67bee75bf7f3c17c028c6088c8')
+b2sums=('8a82fe997f7e70b049e29069bc130fd825485e65ff9bcdb1e3b27c0898dbc662dc4631655940b2326a2314e84520908d3d0955c6b3299d402671de6cef1b30d5')
build() {
cd $_name-$pkgver
@@ -64,49 +64,7 @@ check() {
--deselect tests/test_deprecated.py::test_field_include_deprecation
--deselect tests/test_deprecated.py::test_parse_file
--deselect tests/test_deprecated.py::test_deprecated_module
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/config.py:478-512]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/config.py:598-617]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/config.py:621-645]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/config.py:650-663]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/config.py:672-687]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/config.py:691-707]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/config.py:746-771]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/config.py:789-826]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/config.py:835-864]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/config.py:877-897]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/functional_serializers.py:88-137]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/functional_validators.py:38-68]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/functional_validators.py:308-339]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/functional_validators.py:557-584]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/networks.py:116-145]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/networks.py:215-262]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/networks.py:505-529]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:197-223]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:237-263]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:268-294]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:299-325]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:330-356]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:361-376]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:484-510]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:515-541]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:546-572]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:577-603]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:608-623]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:1060-1088]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:1247-1284]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:1289-1326]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:2163-2209]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:2260-2306]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:2351-2378]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:2389-2416]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:2528-2580]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:2617-2669]'
- --deselect
'tests/test_docs.py::test_docstrings_examples[pydantic/types.py:2813-2838]'
- --deselect
'tests/test_docs.py::test_docs_examples[docs/concepts/models.md:1004-1034]'
- --deselect
'tests/test_docs.py::test_docs_examples[docs/concepts/plugins.md:28-34]'
- --deselect
'tests/test_docs.py::test_docs_examples[docs/concepts/plugins.md:110-116]'
- --deselect
'tests/test_docs.py::test_docs_examples[docs/concepts/serialization.md:313-344]'
- --deselect
'tests/test_docs.py::test_docs_examples[docs/concepts/validators.md:512-546]'
+ --deselect tests/test_docs.py # we are not interested in code formatting
--deselect
'tests/test_json_schema.py::test_callable_fallback_with_non_serializable_default[Cannot
generate a JsonSchema for core_schema.CallableSchema \\[skipped-choice\\]]'
--deselect
'tests/test_json_schema.py::test_callable_fallback_with_non_serializable_default[Default
value .* is not JSON serializable; excluding default from JSON schema
\\[non-serializable-default\\]]'
--deselect tests/test_validators.py::test_use_bare
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pydantic/-/commit/17d0044c4d3084dfe09f56b3adf23d0136e85db9
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pydantic/-/commit/17d0044c4d3084dfe09f56b3adf23d0136e85db9
You're receiving this email because of your account on gitlab.archlinux.org.