Re:_git:_35af49532116_-_main_-_devel/py-pydantic:_R evert_"devel/py-pydantic:_update_1.10.13_→_2.5 .3"
- Reply: Antoine Brodin : "Re: git: 35af49532116 - main - devel/py-pydantic: Re vert "devel/py-pydantic: update 1.10.13 → 2.5.3""
- In reply to: Antoine Brodin : "git: 35af49532116 - main - devel/py-pydantic: Revert "devel/py-pydantic: update 1.10.13 → 2.5.3""
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Jan 2024 09:20:16 UTC
Hi Antoine, I think that my original commit was correct. https://pypi.org/ only has one package pydantic with version 2.5.3 pydantic2 doesn't exist there. Having pydantic2 in addition to pydantic would definitely cause build failures in other ports due to dependency problems and conflicts. I asked sunpoet to remove pydantic2. Regards, Yuri On 1/1/24 01:00, Antoine Brodin wrote: > The branch main has been updated by antoine: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=35af495321169004e8eb53ca9f86b956b0f62ce8 > > commit 35af495321169004e8eb53ca9f86b956b0f62ce8 > Author: Antoine Brodin <antoine@FreeBSD.org> > AuthorDate: 2024-01-01 08:54:37 +0000 > Commit: Antoine Brodin <antoine@FreeBSD.org> > CommitDate: 2024-01-01 08:54:37 +0000 > > devel/py-pydantic: Revert "devel/py-pydantic: update 1.10.13 → 2.5.3" > > This reverts commit 5966bd160173d6bbf105a003cc074653d9ddfe3c. > This is duplicate of devel/py-pydantic2 > --- > devel/py-pydantic/Makefile | 13 +++++-------- > devel/py-pydantic/distinfo | 6 +++--- > 2 files changed, 8 insertions(+), 11 deletions(-) > > diff --git a/devel/py-pydantic/Makefile b/devel/py-pydantic/Makefile > index 358d889cc36e..7157a7f5c29d 100644 > --- a/devel/py-pydantic/Makefile > +++ b/devel/py-pydantic/Makefile > @@ -1,5 +1,5 @@ > PORTNAME= pydantic > -DISTVERSION= 2.5.3 > +DISTVERSION= 1.10.13 > CATEGORIES= devel python > MASTER_SITES= PYPI > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > @@ -11,18 +11,15 @@ WWW= https://github.com/samuelcolvin/pydantic > LICENSE= MIT > LICENSE_FILE= ${WRKSRC}/LICENSE > > -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=22.5.0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \ > - ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} > -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}annotated-types>=0.4.0:devel/py-annotated-types@${PY_FLAVOR} \ > - ${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.14.6:devel/py-pydantic-core@${PY_FLAVOR} \ > - ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.1:devel/py-typing-extensions@${PY_FLAVOR} > +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR} > TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} > > USES= cpe python > -USE_PYTHON= pep517 autoplist pytest # tests fail to run, see https://github.com/pydantic/pydantic/issues/4535, https://github.com/HypothesisWorks/hypothesis/issues/3703 > +USE_PYTHON= distutils cython autoplist pytest # tests fail to run, see https://github.com/pydantic/pydantic/issues/4535, https://github.com/HypothesisWorks/hypothesis/issues/3703 > > CPE_VENDOR= pydantic_project > > -NO_ARCH= yes > +post-install: > + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pydantic/*${PYTHON_EXT_SUFFIX}.so > > .include <bsd.port.mk> > diff --git a/devel/py-pydantic/distinfo b/devel/py-pydantic/distinfo > index 00ef1bc871fb..e91a6e5be6c8 100644 > --- a/devel/py-pydantic/distinfo > +++ b/devel/py-pydantic/distinfo > @@ -1,3 +1,3 @@ > -TIMESTAMP = 1703928173 > -SHA256 (pydantic-2.5.3.tar.gz) = b3ef57c62535b0941697cce638c08900d87fcb67e29cfa99e8a68f747f393f7a > -SIZE (pydantic-2.5.3.tar.gz) = 651797 > +TIMESTAMP = 1703294152 > +SHA256 (pydantic-1.10.13.tar.gz) = 32c8b48dcd3b2ac4e78b0ba4af3a2c2eb6048cb75202f0ea7b34feb740efc340 > +SIZE (pydantic-1.10.13.tar.gz) = 348297