Index | Thread | Search

From:
Landry Breuil <landry@openbsd.org>
Subject:
Re: [update] py-pydantic suite
To:
ports@openbsd.org
Date:
Sat, 19 Apr 2025 10:21:12 +0200

Download raw body.

Thread
  • Landry Breuil:

    [update] py-pydantic suite

  • Le Sat, Apr 19, 2025 at 09:45:37AM +0200, Landry Breuil a écrit :
    > Le Wed, Apr 16, 2025 at 09:56:28AM +0200, Renaud Allard a écrit :
    > > Here are correct patches and a new needed port py-typing-inspection
    > > 
    > > 
    > > On 4/16/25 9:42 AM, Renaud Allard wrote:
    > > > Sorry, don't use those patches, there is a mistake I just spotted
    > > > 
    > > > On 4/16/25 9:15 AM, Renaud Allard wrote:
    > > > > Hello,
    > > > > 
    > > > > Here are diffs for devel/py-pydantic-core and devel/py-pydantic
    > > > > which need to be kept in sync.
    > > > > Some new requirements which are currently not in ports for test are
    > > > > required for test to be successful for -core.
    > > > > 
    > > > > Best Regards
    > > > 
    > > 
    > 
    > have you managed running tests ? seems there's another missing TDEP,
    > here it fails hard with something that looks like a warning but errors
    > out.
    > 
    > INTERNALERROR> pytest.PytestUnknownMarkWarning: Unknown pytest.mark.thread_unsafe
    
    pydantic-core tests also fail with a similar error msg.
    
    seems thread_unsafe pytest mark comes from
    https://github.com/Quansight-Labs/pytest-run-parallel
    
    find attached a quick'n'dirty port (not sure about
    setuptools/setuptools_scm, havent looked at tests/TDEPs, and psutils
    might be an RDEP), which once installed gives the
    following test results:
    pydantic-core: 5475 passed, 120 skipped, 2 xfailed in 8.71s
    pydantic: 9 failed, 5265 passed, 293 skipped, 22 xfailed, 8 errors in 18.47s
    
    Landry
    
  • Landry Breuil:

    [update] py-pydantic suite