diff options
author | ptrcnull <git@ptrcnull.me> | 2022-11-17 23:35:47 +0100 |
---|---|---|
committer | alice <alice@ayaya.dev> | 2022-11-17 22:43:49 +0000 |
commit | 45fd986bdf781d9cddefd2ff0d29dbd5a804861b (patch) | |
tree | b5c4771c76486f926ab234b29b2dc296b820c710 | |
parent | 8c2e1b8ff0e67451e2873c6ac5e671f12740cd3c (diff) |
community/py3-pydantic: upgrade to 1.10.2
-rw-r--r-- | community/py3-pydantic/APKBUILD | 6 | ||||
-rw-r--r-- | community/py3-pydantic/deprecation-warning.patch | 14 |
2 files changed, 11 insertions, 9 deletions
diff --git a/community/py3-pydantic/APKBUILD b/community/py3-pydantic/APKBUILD index 31082cca1f5..1c08b856977 100644 --- a/community/py3-pydantic/APKBUILD +++ b/community/py3-pydantic/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Newbyte <newbyte@disroot.org> # Maintainer: Newbyte <newbyte@disroot.org> pkgname=py3-pydantic -pkgver=1.9.1 +pkgver=1.10.2 pkgrel=0 pkgdesc="Data parsing and validation using Python type hints" url="https://github.com/samuelcolvin/pydantic" @@ -29,6 +29,6 @@ package() { } sha512sums=" -6343a4cbaf49c38bcf038da21ace9f37cbcd3f05364307c0b9b5006f3fe4c9db4513f557b5388783dbb08892dbdc2a54689988edf7d1bdc6e794b0e755213ecb py3-pydantic-1.9.1.tar.gz -7fd9f0a5b49232f271a0f12f727c326512934ba158372199af9ed7b25942cc3aecfd0a5092cbffe934c66b5d59e21a07e7517639d049dca06b61ed5886de6629 deprecation-warning.patch +dc2acfb271cd62b6de08bbaa48dbc76ec8d3a3f3142778ffa2cb9a2a1cad62dbdb3c7470a50e9a2825837b65a48c6aefb8736411f32c398aa9ca779841b53ac5 py3-pydantic-1.10.2.tar.gz +20fe12362cbe6a7d9f393eea71f8aa968e4a09cd6e4594505a95f889b5ec27f06c1214ef8aa841f3aa5b57f6c9bb41fbe382ef7512724e5e0947e2e916f495c9 deprecation-warning.patch " diff --git a/community/py3-pydantic/deprecation-warning.patch b/community/py3-pydantic/deprecation-warning.patch index d87050bedd7..95bbf32d9e6 100644 --- a/community/py3-pydantic/deprecation-warning.patch +++ b/community/py3-pydantic/deprecation-warning.patch @@ -1,9 +1,11 @@ ---- ./setup.cfg.old -+++ ./setup.cfg -@@ -8,6 +8,7 @@ - # for python 3.10+: mypy still relies on distutils on windows. We hence ignore those warnings - ignore:The distutils package is deprecated and slated for removal in Python 3.12:DeprecationWarning - ignore:The distutils.sysconfig module is deprecated, use sysconfig instead:DeprecationWarning +diff --git a/setup.cfg b/setup.cfg +index 505479b..907ea17 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -11,6 +11,7 @@ filterwarnings = + # for Python 3.11 + ignore:path is deprecated.*:DeprecationWarning:certifi + ignore:module 'sre_constants' is deprecated:DeprecationWarning:pkg_resources + ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning [flake8] |