Index | Thread | Search

From:
Renaud Allard <renaud@allard.it>
Subject:
Re: [wip] devel/py-pydantic 2.8.2 devel/py-pydantic-core-2.21.0
To:
ports@openbsd.org
Date:
Mon, 12 Aug 2024 16:02:36 +0200

Download raw body.

Thread

On 8/12/24 3:57 PM, Landry Breuil wrote:
> Le Mon, Aug 12, 2024 at 03:19:28PM +0200, Renaud Allard a écrit :
>>
>>
>> On 8/12/24 3:05 PM, Renaud Allard wrote:
>>> Hello,
>>>
>>> Here is a WIP for devel/py-pydantic 2.8.2  devel/py-pydantic-core-2.21.0
>>>
>>> It will more than likely break geo/pygeoapi unless this patch is
>>> applied: https://github.com/geopython/pygeoapi/pull/1353/files
>>>
>>> But it should "unbreak" net/synapse.
>>>
>>> It's all untested ATM.
>>>
>>> Any comments?
>>>
>>> Best Regards
>>
>> Sorry, I had forgotten to "CVS rm" the patches.
> 
>> -MODPY_PYBUILD =		setuptools
>> +MODPY_PYBUILD =		hatchling
>>   
>> -BUILD_DEPENDS =		lang/cython${MODPY_FLAVOR}
>> -RUN_DEPENDS =		devel/py-typing-extensions${MODPY_FLAVOR}
>> +BUILD_DEPENDS =		devel/py-hatchling${MODPY_FLAVOR} \
> 
> there's no need for hatchling in BDEP if its used in PYBUILD.
> 
> i wont make comments on mixed python/rust ports, but with the attached
> diff the pygeoapi command doesnt blow upon startup.
> 
> you also have to check py-pydantic-compat and py-inflect.
> 

net/synapse works
py-pydantic-compat works, but py-inflect is broken. It seems that from 
v7.2.0, there is no more need for pydantic, but we are still at 6.0.4.