python3-pydantic: update to 2.6.3.
This commit is contained in:
parent
bfe80d9815
commit
f0e0dbeff4
|
@ -0,0 +1,38 @@
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index aba4d03..d2af96e 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
[build-system]
|
||||||
|
-requires = ['hatchling', 'hatch-fancy-pypi-readme>=22.5.0']
|
||||||
|
+requires = ['hatchling']
|
||||||
|
build-backend = 'hatchling.build'
|
||||||
|
|
||||||
|
[tool.hatch.version]
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index d2af96e..5ccd6f6 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -128,22 +128,6 @@ Funding = 'https://github.com/sponsors/samuelcolvin'
|
||||||
|
Source = 'https://github.com/pydantic/pydantic'
|
||||||
|
Changelog = 'https://docs.pydantic.dev/latest/changelog/'
|
||||||
|
|
||||||
|
-[tool.hatch.metadata.hooks.fancy-pypi-readme]
|
||||||
|
-content-type = 'text/markdown'
|
||||||
|
-# construct the PyPI readme from README.md and HISTORY.md
|
||||||
|
-fragments = [
|
||||||
|
- {path = "README.md"},
|
||||||
|
- {text = "\n## Changelog\n\n"},
|
||||||
|
- {path = "HISTORY.md", pattern = "(.+?)<!-- package description limit -->"},
|
||||||
|
- {text = "\n... see [here](https://docs.pydantic.dev/changelog/#v0322-2019-08-17) for earlier changes.\n"},
|
||||||
|
-]
|
||||||
|
-# convert GitHuB issue/PR numbers and handles to links
|
||||||
|
-substitutions = [
|
||||||
|
- {pattern = '(\s+)#(\d+)', replacement = '\1[#\2](https://github.com/pydantic/pydantic/issues/\2)'},
|
||||||
|
- {pattern = '(\s+)@([\w\-]+)', replacement = '\1[@\2](https://github.com/\2)'},
|
||||||
|
- {pattern = '@@', replacement = '@'},
|
||||||
|
-]
|
||||||
|
-
|
||||||
|
[tool.pytest.ini_options]
|
||||||
|
testpaths = 'tests'
|
||||||
|
xfail_strict = true
|
|
@ -1,20 +1,22 @@
|
||||||
# Template file for 'python3-pydantic'
|
# Template file for 'python3-pydantic'
|
||||||
pkgname=python3-pydantic
|
pkgname=python3-pydantic
|
||||||
version=1.10.7
|
version=2.6.3
|
||||||
revision=2
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-pep517
|
||||||
# added to stop test failing due to DeprecationWarning on pkg_resources import
|
# requires unpackaged pytest-examples, cloudpickle
|
||||||
make_check_args="-p no:warnings"
|
make_check_args="--ignore=tests/test_docs.py --ignore=tests/test_pickle.py"
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="hatchling"
|
||||||
depends="python3-typing_extensions"
|
depends="python3-typing_extensions python3-annotated-types
|
||||||
checkdepends="${depends} python3-pytest python3-pytest-mock"
|
python3-pydantic-core"
|
||||||
|
checkdepends="${depends} python3-pytest python3-pytest-benchmark
|
||||||
|
python3-pytest-mock python3-dirty-equals python3-Faker python3-email-validator"
|
||||||
short_desc="Data parsing and validation using Python type hints"
|
short_desc="Data parsing and validation using Python type hints"
|
||||||
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/pydantic/pydantic"
|
homepage="https://github.com/pydantic/pydantic"
|
||||||
changelog="https://raw.githubusercontent.com/pydantic/pydantic/main/HISTORY.md"
|
changelog="https://raw.githubusercontent.com/pydantic/pydantic/main/HISTORY.md"
|
||||||
distfiles="${PYPI_SITE}/p/pydantic/pydantic-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pydantic/pydantic-${version}.tar.gz"
|
||||||
checksum=cfc83c0678b6ba51b0532bea66860617c4cd4251ecf76e9846fa5a9f3454e97e
|
checksum=e07805c4c7f5c6826e33a1d4c9d47950d7eaf34868e2690f8594d2e30241f11f
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
ignore="*a*"
|
ignore="*[ab]*"
|
||||||
|
|
Loading…
Reference in New Issue