Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898702 - dev-python/pydantic-1.10.5 fails tests (CYTHON3-SYSTEM): TypeError: Argument bases has incorrect type (expected list, got tuple)
Summary: dev-python/pydantic-1.10.5 fails tests (CYTHON3-SYSTEM): TypeError: Argument ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cython3-tracker
  Show dependency tree
 
Reported: 2023-03-02 08:25 UTC by Agostino Sarubbo
Modified: 2023-07-27 06:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,539.86 KB, text/plain)
2023-03-02 08:25 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-02 08:25:35 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pydantic-1.10.5 fails tests (CYTHON3-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(CYTHON3-SYSTEM) in the summary means that the bug was found on a machine that runs dev-python/cython-3 but this bug MAY or MAY NOT BE related to the new version of cython
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-02 08:25:38 UTC
Created attachment 855552 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-02 08:25:39 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E   TypeError: Argument 'bases' has incorrect type (expected list, got tuple)
E   TypeError: Argument 'ge' has incorrect type (expected float, got int)
ERROR tests/test_annotated.py - TypeError: Argument 'ge' has incorrect type (...
ERROR tests/test_construction.py - TypeError: Argument 'bases' has incorrect ...
ERROR tests/test_dataclasses.py - TypeError: Argument 'bases' has incorrect t...
ERROR tests/test_hypothesis_plugin.py - TypeError: Argument 'bases' has incor...
ERROR tests/test_json.py - TypeError: Argument 'bases' has incorrect type (ex...
ERROR tests/test_main.py - TypeError: Argument 'bases' has incorrect type (ex...
ERROR tests/test_parse.py - TypeError: Argument 'bases' has incorrect type (e...
ERROR tests/test_rich_repr.py - TypeError: Argument 'bases' has incorrect typ...
ERROR tests/test_schema.py - TypeError: Argument 'bases' has incorrect type (...
ERROR tests/test_settings.py - TypeError: Argument 'bases' has incorrect type...
ERROR tests/test_types.py - TypeError: Argument 'bases' has incorrect type (e...
ERROR tests/test_types_payment_card_number.py - TypeError: Argument 'bases' h...
ERROR tests/test_validators.py - TypeError: Argument 'bases' has incorrect ty...
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-27 06:57:55 UTC
commit 2ba25e499aecc06545bdc354b96c4b0fb74485a4
Author: Michał Górny <mgorny@gentoo.org>
Date:   Tue Oct 11 17:43:29 2022 +0200

    dev-python/pydantic: Move cython dep under native-extensions?

    Signed-off-by: Michał Górny <mgorny@gentoo.org>

commit 9df16c1a913214af52d4a51a6598e478acb803f2
Author: Michał Górny <mgorny@gentoo.org>
Date:   Tue Oct 11 13:23:34 2022 +0200

    dev-python/pydantic: Make C extensions optional

    Signed-off-by: Michał Górny <mgorny@gentoo.org>

and 2.x doesn't use it (directly).