Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jan 2024 09:26:01 +0000
From:      Antoine Brodin <antoine@freebsd.org>
To:        Yuri <yuri@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   =?UTF-8?B?UmU6IGdpdDogMzVhZjQ5NTMyMTE2IC0gbWFpbiAtIGRldmVsL3B5LXB5ZGFudGljOiBSZQ==?= =?UTF-8?B?dmVydCAiZGV2ZWwvcHktcHlkYW50aWM6IHVwZGF0ZSAxLjEwLjEzIOKGkiAyLjUuMyI=?=
Message-ID:  <CAALwa8nzj0thfe_HWHDz15pMnri8mEMerd=c%2BiD_Qn6YzSA5mQ@mail.gmail.com>
In-Reply-To: <6bedc3bf-3631-4ca1-b402-04a6e6d0ab41@FreeBSD.org>
References:  <202401010900.401901oS006154@gitrepo.freebsd.org> <6bedc3bf-3631-4ca1-b402-04a6e6d0ab41@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 1, 2024 at 9:20=E2=80=AFAM Yuri <yuri@freebsd.org> wrote:
>
> 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.

Hello,

This upgrade caused 5 new ports failures.

Antoine

>
> 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=3D35af495321169004e8eb53=
ca9f86b956b0f62ce8
> >
> > 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 =E2=
=86=92 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=3D   pydantic
> > -DISTVERSION=3D 2.5.3
> > +DISTVERSION=3D 1.10.13
> >   CATEGORIES=3D devel python
> >   MASTER_SITES=3D       PYPI
> >   PKGNAMEPREFIX=3D      ${PYTHON_PKGNAMEPREFIX}
> > @@ -11,18 +11,15 @@ WWW=3D              https://github.com/samuelcolvin=
/pydantic
> >   LICENSE=3D    MIT
> >   LICENSE_FILE=3D       ${WRKSRC}/LICENSE
> >
> > -BUILD_DEPENDS=3D       ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=
=3D22.5.0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
> > -             ${PYTHON_PKGNAMEPREFIX}hatchling>=3D0:devel/py-hatchling@=
${PY_FLAVOR}
> > -RUN_DEPENDS=3D ${PYTHON_PKGNAMEPREFIX}annotated-types>=3D0.4.0:devel/p=
y-annotated-types@${PY_FLAVOR} \
> > -             ${PYTHON_PKGNAMEPREFIX}pydantic-core>=3D2.14.6:devel/py-p=
ydantic-core@${PY_FLAVOR} \
> > -             ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3D4.6.1:devel/p=
y-typing-extensions@${PY_FLAVOR}
> > +RUN_DEPENDS=3D ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3D4.2.0:devel=
/py-typing-extensions@${PY_FLAVOR}
> >   TEST_DEPENDS=3D       ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hy=
pothesis@${PY_FLAVOR}
> >
> >   USES=3D               cpe python
> > -USE_PYTHON=3D  pep517 autoplist pytest # tests fail to run, see https:=
//github.com/pydantic/pydantic/issues/4535, https://github.com/HypothesisWo=
rks/hypothesis/issues/3703
> > +USE_PYTHON=3D  distutils cython autoplist pytest # tests fail to run, =
see https://github.com/pydantic/pydantic/issues/4535, https://github.com/Hy=
pothesisWorks/hypothesis/issues/3703
> >
> >   CPE_VENDOR=3D pydantic_project
> >
> > -NO_ARCH=3D     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 =3D 1703928173
> > -SHA256 (pydantic-2.5.3.tar.gz) =3D b3ef57c62535b0941697cce638c08900d87=
fcb67e29cfa99e8a68f747f393f7a
> > -SIZE (pydantic-2.5.3.tar.gz) =3D 651797
> > +TIMESTAMP =3D 1703294152
> > +SHA256 (pydantic-1.10.13.tar.gz) =3D 32c8b48dcd3b2ac4e78b0ba4af3a2c2eb=
6048cb75202f0ea7b34feb740efc340
> > +SIZE (pydantic-1.10.13.tar.gz) =3D 348297
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8nzj0thfe_HWHDz15pMnri8mEMerd=c%2BiD_Qn6YzSA5mQ>