<86>Feb 5 02:36:37 userdel[251200]: delete user 'rooter' <86>Feb 5 02:36:37 userdel[251200]: removed group 'rooter' owned by 'rooter' <86>Feb 5 02:36:37 userdel[251200]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 5 02:36:37 groupadd[251230]: group added to /etc/group: name=rooter, GID=1877 <86>Feb 5 02:36:37 groupadd[251230]: group added to /etc/gshadow: name=rooter <86>Feb 5 02:36:37 groupadd[251230]: new group: name=rooter, GID=1877 <86>Feb 5 02:36:37 useradd[251252]: new user: name=rooter, UID=1877, GID=1877, home=/root, shell=/bin/bash, from=none <86>Feb 5 02:36:37 userdel[251292]: delete user 'builder' <86>Feb 5 02:36:37 userdel[251292]: removed group 'builder' owned by 'builder' <86>Feb 5 02:36:37 userdel[251292]: removed shadow group 'builder' owned by 'builder' <86>Feb 5 02:36:37 groupadd[251313]: group added to /etc/group: name=builder, GID=1878 <86>Feb 5 02:36:37 groupadd[251313]: group added to /etc/gshadow: name=builder <86>Feb 5 02:36:37 groupadd[251313]: new group: name=builder, GID=1878 <86>Feb 5 02:36:37 useradd[251343]: new user: name=builder, UID=1878, GID=1878, home=/usr/src, shell=/bin/bash, from=none <13>Feb 5 02:36:40 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Feb 5 02:36:40 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Feb 5 02:36:40 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed <13>Feb 5 02:36:40 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Feb 5 02:36:40 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>Feb 5 02:36:40 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Feb 5 02:36:40 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Feb 5 02:36:40 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Feb 5 02:36:40 rpmi: ca-certificates-2023.12.20-alt1 sisyphus+336902.300.1.1 1703105726 installed <13>Feb 5 02:36:40 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Feb 5 02:36:40 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645560 installed <13>Feb 5 02:36:40 rpmi: libcrypto3-3.1.5-alt1 sisyphus+339669.100.1.1 1706908440 installed <13>Feb 5 02:36:40 rpmi: libssl3-3.1.5-alt1 sisyphus+339669.100.1.1 1706908440 installed <13>Feb 5 02:36:40 rpmi: python3-3.12.1-alt2 sisyphus+339293.200.1.1 1706538926 installed <13>Feb 5 02:36:41 rpmi: python3-base-3.12.1-alt2 sisyphus+339293.200.1.1 1706538926 installed <13>Feb 5 02:36:41 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Feb 5 02:36:41 rpmi: python3-module-pyproject-installer-0.5.2-alt1 sisyphus+324644.100.2.1 1689089627 installed <13>Feb 5 02:36:41 rpmi: rpm-macros-pyproject-0.0.4-alt1 sisyphus+322305.200.2.1 1686212200 installed <13>Feb 5 02:36:41 rpmi: tests-for-installed-python3-pkgs-0.1.24-alt2 sisyphus+331059.100.4.1 1696870033 installed <13>Feb 5 02:36:41 rpmi: rpm-build-python3-0.1.24-alt2 sisyphus+331059.100.4.1 1696870033 installed <13>Feb 5 02:36:41 rpmi: rpm-build-pyproject-0.0.4-alt1 sisyphus+322305.200.2.1 1686212200 installed <13>Feb 5 02:36:44 rpmi: python3-module-attrs-23.2.0-alt1 sisyphus+338876.100.1.2 1706109385 installed <13>Feb 5 02:36:44 rpmi: python3-module-idna-3.6-alt1 sisyphus+335330.100.1.2 1701263518 installed <13>Feb 5 02:36:44 rpmi: python3-module-pkg_resources-1:69.0.3-alt2 sisyphus+339080.100.1.1 1706272186 installed <13>Feb 5 02:36:44 rpmi: python3-module-zope.interface-6.0-alt1 sisyphus+333513.24700.71.1 1704543585 installed <13>Feb 5 02:36:44 rpmi: python3-module-six-1.16.0-alt2 sisyphus+324249.100.1.1 1688484676 installed <13>Feb 5 02:36:44 rpmi: python3-module-packaging-23.2-alt1 sisyphus+330805.100.2.1 1696324248 installed <13>Feb 5 02:36:44 rpmi: python3-module-greenlet-3.0.1-alt1 sisyphus+333513.52300.73.1 1704648441 installed <13>Feb 5 02:36:44 rpmi: libtcl-8.6.13-alt1 sisyphus+310696.100.1.1 1669548266 installed <13>Feb 5 02:36:44 rpmi: python3-module-pluggy-1.4.0-alt1 sisyphus+339306.100.2.1 1706605903 installed <13>Feb 5 02:36:44 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Feb 5 02:36:44 rpmi: python3-module-pytest-8.0.0-alt1 sisyphus+339306.200.2.1 1706606050 installed <13>Feb 5 02:36:44 rpmi: python3-module-pathspec-0.11.2-alt1 sisyphus+326154.100.2.1 1690886843 installed <13>Feb 5 02:36:44 rpmi: python3-module-multidict-6.0.4-alt1 sisyphus+333513.44100.72.1 1704599436 installed <13>Feb 5 02:36:44 rpmi: python3-module-click-8.1.7-alt1 sisyphus+327424.100.2.1 1695395098 installed <13>Feb 5 02:36:44 rpmi: python3-module-typing_extensions-4.9.0-alt1 sisyphus+338687.100.1.1 1705975783 installed <13>Feb 5 02:36:44 rpmi: python3-module-frozenlist-1.3.3-alt1 sisyphus+333513.42100.72.1 1704598834 installed <13>Feb 5 02:36:44 rpmi: libcares-1.26.0-alt1 sisyphus+339150.100.1.1 1706343370 installed <13>Feb 5 02:36:44 rpmi: python3-module-aiosignal-1.3.1-alt1 sisyphus+314057.100.1.1 1674561191 installed <13>Feb 5 02:36:44 rpmi: python3-module-incremental-22.10.0-alt1 sisyphus+312706.100.1.1 1672404273 installed <13>Feb 5 02:36:44 rpmi: python3-module-yarl-1.9.2-alt2 sisyphus+333513.47700.73.1 1704644546 installed <13>Feb 5 02:36:45 rpmi: tcl-8.6.13-alt1 sisyphus+310696.100.1.1 1669548266 installed <13>Feb 5 02:36:45 rpmi: python3-module-dateutil-2.8.3-alt0.git0586f4a sisyphus+338928.600.2.1 1706746480 installed <13>Feb 5 02:36:45 rpmi: python3-module-idna_ssl-1.1.0-alt2 sisyphus+272418.100.1.1 1621876529 installed <13>Feb 5 02:36:45 rpmi: python3-module-hyperlink-21.0.0-alt1.1 sisyphus+304836.100.1.1 1659710964 installed <13>Feb 5 02:36:45 rpmi: python3-module-outcome-1.3.0-alt1 sisyphus+332382.100.1.1 1697882349 installed <13>Feb 5 02:36:45 rpmi: ruff-0.1.11-alt1 sisyphus+337872.100.1.1 1704791626 installed <13>Feb 5 02:36:45 rpmi: python3-module-ruff-0.1.11-alt1 sisyphus+337872.100.1.1 1704791626 installed <13>Feb 5 02:36:45 rpmi: python3-module-mdurl-0.1.2-alt1 sisyphus+318894.1000.3.1 1682420700 installed <13>Feb 5 02:36:45 rpmi: python3-module-markdown-it-3.0.0-alt1 sisyphus+324665.100.1.1 1689081992 installed <13>Feb 5 02:36:45 rpmi: python3-module-trove-classifiers-2023.11.14-alt1 sisyphus+334411.100.1.1 1699977462 installed <13>Feb 5 02:36:45 rpmi: python3-module-editables-0.5-alt1 sisyphus+325524.100.1.1 1690277257 installed <13>Feb 5 02:36:45 rpmi: python3-module-hatchling-1.18.0-alt1 sisyphus+322894.100.1.1 1686650008 installed <13>Feb 5 02:36:45 rpmi: python3-module-pytz-1:2023.3.post1-alt1 sisyphus+335112.100.1.1 1700900843 installed <13>Feb 5 02:36:45 rpmi: python3-module-cpuinfo-9.0.0-alt2 sisyphus+335302.100.2.1 1701248416 installed <13>Feb 5 02:36:45 rpmi: python3-module-platformdirs-3.10.0-alt1 sisyphus+326155.100.2.1 1690880012 installed <13>Feb 5 02:36:45 rpmi: python3-module-mypy_extensions-1.0.0-alt1 sisyphus+316350.100.2.1 1678357948 installed <13>Feb 5 02:36:45 rpmi: python3-module-apipkg-3.0.1-alt2 sisyphus+323078.100.1.1 1686823905 installed <13>Feb 5 02:36:45 rpmi: python3-module-py-1.11.0-alt1 sisyphus+295927.100.2.1 1646050822 installed <13>Feb 5 02:36:45 rpmi: python3-module-priority-2.0.0-alt3 sisyphus+338701.100.1.2 1705988383 installed <13>Feb 5 02:36:45 rpmi: python3-module-hpack-4.0.0-alt1 sisyphus+270376.200.1.1 1618956626 installed <13>Feb 5 02:36:45 rpmi: python3-module-hyperframe-6.0.1-alt1 sisyphus+270376.300.2.1 1618957001 installed <13>Feb 5 02:36:45 rpmi: python3-module-h2-4.1.0-alt1 sisyphus+325714.100.2.2 1690478873 installed <13>Feb 5 02:36:45 rpmi: python3-module-constantly-15.1.0-alt7 sisyphus+338906.100.1.1 1706107088 installed <13>Feb 5 02:36:45 rpmi: python3-module-zombie-imp-0.0.2-alt1 sisyphus+339293.100.1.1 1706537230 installed <13>Feb 5 02:36:45 rpmi: python3-module-appdirs-1.4.4-alt1 sisyphus+267613.300.2.1 1620039159 installed <13>Feb 5 02:36:45 rpmi: python3-module-certifi-2023.5.7-alt1 sisyphus+322622.100.1.1 1686217855 installed <13>Feb 5 02:36:45 rpmi: python3-module-z3c-3.0.0-alt4 sisyphus+284857.200.1.1 1631109149 installed <13>Feb 5 02:36:45 rpmi: python3-module-zc-1.0.0-alt7 sisyphus+284857.100.1.1 1631109117 installed <13>Feb 5 02:36:45 rpmi: python3-module-zope-3.3.0-alt9 sisyphus+281937.200.4.1 1628175900 installed <13>Feb 5 02:36:45 rpmi: python3-module-zope.event-5.0-alt1.1 sisyphus+325755.140.2.1 1690991538 installed <13>Feb 5 02:36:45 rpmi: python3-module-sortedcontainers-2.4.0-alt1 sisyphus+272042.100.1.1 1621262424 installed <13>Feb 5 02:36:45 rpmi: python3-module-sniffio-1.3.0-alt1 sisyphus+333845.100.3.1 1699533040 installed <13>Feb 5 02:36:45 rpmi: python3-module-pycparser-2.21-alt1.1 sisyphus+309935.7300.4.1 1668527005 installed <13>Feb 5 02:36:45 rpmi: python3-module-cffi-1.16.0-alt1 sisyphus+333513.10400.71.1 1704539931 installed <13>Feb 5 02:36:45 rpmi: python3-module-cryptography-42.0.2-alt1 sisyphus+339554.100.1.1 1706781648 installed <13>Feb 5 02:36:45 rpmi: python3-module-openssl-23.2.0-alt1 sisyphus+326014.100.1.1 1690659362 installed <13>Feb 5 02:36:46 rpmi: python3-module-pycares-4.1.2-alt1 sisyphus+333513.36000.73.1 1704636776 installed <13>Feb 5 02:36:46 rpmi: python3-module-astor-0.8.1-alt1.1 sisyphus+315877.100.1.1 1677481862 installed <13>Feb 5 02:36:46 rpmi: python3-module-trio-0.24.0-alt1 sisyphus+338884.100.1.2 1706111254 installed <13>Feb 5 02:36:46 rpmi: python3-module-dns-1:2.2.0-alt2 sisyphus+320065.60.1.1 1683366881 installed <13>Feb 5 02:36:46 rpmi: python3-module-charset-normalizer-2.1.1-alt1 sisyphus+311047.100.1.1 1669992940 installed <13>Feb 5 02:36:46 rpmi: python3-module-Pygments-2.17.2-alt1 sisyphus+334864.100.2.1 1701773787 installed <13>Feb 5 02:36:46 rpmi: python3-module-rich-13.6.0-alt1 sisyphus+330868.100.2.1 1696418401 installed <13>Feb 5 02:36:46 rpmi: python3-module-openid-3.2.0-alt1 sisyphus+278049.100.2.1 1625998936 installed <13>Feb 5 02:36:46 rpmi: python3-module-Cheetah-3.3.3-alt1 sisyphus+333513.10500.71.1 1704539963 installed <13>Feb 5 02:36:46 rpmi: python3-module-paste-3.7.1-alt1 sisyphus+332187.100.1.1 1697730831 installed <13>Feb 5 02:36:46 rpmi: python3-module-PasteDeploy-1:3.0.1-alt1 sisyphus+308592.100.1.1 1666070463 installed <13>Feb 5 02:36:46 rpmi: python3-module-PasteScript-1:2.0.2-alt2 sisyphus+272468.100.1.1 1621939313 installed <13>Feb 5 02:36:46 rpmi: libuv-1.47.0-alt1 sisyphus+337159.100.2.1 1703930510 installed <13>Feb 5 02:36:46 rpmi: libpython3-3.12.1-alt2 sisyphus+339293.200.1.1 1706538926 installed <13>Feb 5 02:36:46 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693212977 installed <13>Feb 5 02:36:46 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693212977 installed <13>Feb 5 02:36:46 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693212977 installed <13>Feb 5 02:36:47 rpmi: python3-dev-3.12.1-alt2 sisyphus+339293.200.1.1 1706538926 installed <13>Feb 5 02:36:47 rpmi: python3-module-setuptools-1:69.0.3-alt2 sisyphus+339080.100.1.1 1706272186 installed <13>Feb 5 02:36:48 rpmi: python3-module-pygobject-2.28.6-alt15 sisyphus+333513.36010.77.1 1704961841 installed <13>Feb 5 02:36:48 rpmi: openldap-common-2.6.6-alt1 sisyphus+330946.100.2.1 1696432854 installed <13>Feb 5 02:36:48 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Feb 5 02:36:48 rpmi: liblmdb-0.9.31-alt1 sisyphus+330946.40.2.1 1696431544 installed <13>Feb 5 02:36:48 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>Feb 5 02:36:48 rpmi: libusb-1.0.26-alt2 sisyphus+305525.100.1.1 1660924427 installed <13>Feb 5 02:36:48 rpmi: libhidapi-0.12.0-alt1_1 sisyphus+303213.100.1.1 1657034192 installed <13>Feb 5 02:36:48 rpmi: python3-module-cython-hidapi-0.14.0-alt1.1 sisyphus+333513.54340.73.1 1704651867 installed <13>Feb 5 02:36:48 rpmi: python3-module-serial-3.5-alt2 sisyphus+281995.100.1.1 1628172783 installed <13>Feb 5 02:36:48 rpmi: libev4-4.33-alt3 sisyphus+334335.340.4.1 1699912675 installed <13>Feb 5 02:36:48 rpmi: python3-module-gevent-22.10.2-alt1 sisyphus+333513.53700.73.1 1704650502 installed <13>Feb 5 02:36:48 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <86>Feb 5 02:36:48 groupadd[290174]: group added to /etc/group: name=_keytab, GID=999 <86>Feb 5 02:36:48 groupadd[290174]: group added to /etc/gshadow: name=_keytab <86>Feb 5 02:36:48 groupadd[290174]: new group: name=_keytab, GID=999 <13>Feb 5 02:36:48 rpmi: libkrb5-1.21.2-alt2 sisyphus+338902.100.2.1 1706700934 installed <86>Feb 5 02:36:48 groupadd[290304]: group added to /etc/group: name=sasl, GID=998 <86>Feb 5 02:36:48 groupadd[290304]: group added to /etc/gshadow: name=sasl <86>Feb 5 02:36:48 groupadd[290304]: new group: name=sasl, GID=998 <13>Feb 5 02:36:48 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+324359.6000.12.1 1689392001 installed <13>Feb 5 02:36:48 rpmi: libldap2-2.6.6-alt1 sisyphus+330946.100.2.1 1696432854 installed <13>Feb 5 02:36:48 rpmi: libpq5-16.1-alt2 sisyphus+333513.6620.73.1 1704629134 installed <13>Feb 5 02:36:48 rpmi: python3-module-psycopg2-2.9.5-alt1 sisyphus+333513.16300.73.1 1704630033 installed <13>Feb 5 02:36:48 rpmi: python3-module-eventlet-0.35.1-alt1 sisyphus+339451.100.1.1 1706685149 installed <13>Feb 5 02:36:48 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Feb 5 02:36:48 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Feb 5 02:36:48 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Feb 5 02:36:48 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Feb 5 02:36:48 rpmi: libharfbuzz-8.3.0-alt1 sisyphus+334471.200.2.1 1700075951 installed <13>Feb 5 02:36:48 rpmi: libfreetype-2.13.2-alt1 sisyphus+328677.100.1.1 1693834345 installed <13>Feb 5 02:36:48 rpmi: libfontconfig1-2.14.2-alt8 sisyphus+328444.100.1.1 1693553402 installed <13>Feb 5 02:36:48 rpmi: libXdmcp-1.1.4-alt1 sisyphus+311188.1000.1.1 1670233857 installed <13>Feb 5 02:36:48 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Feb 5 02:36:48 rpmi: libxcb-1.16-alt1 sisyphus+327325.200.1.1 1692276261 installed <13>Feb 5 02:36:48 rpmi: libX11-locales-3:1.8.7-alt1 sisyphus+330921.200.1.1 1696400315 installed <13>Feb 5 02:36:48 rpmi: libX11-3:1.8.7-alt1 sisyphus+330921.200.1.1 1696400315 installed <13>Feb 5 02:36:48 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>Feb 5 02:36:48 rpmi: libXft-2.3.8-alt1 sisyphus+331490.400.1.1 1697023269 installed <13>Feb 5 02:36:48 rpmi: libtk-8.6.13-alt1 sisyphus+310696.200.1.1 1669548530 installed <13>Feb 5 02:36:48 rpmi: tk-8.6.13-alt1 sisyphus+310696.200.1.1 1669548530 installed <13>Feb 5 02:36:48 rpmi: tcl-tix-8.4.3-alt4 sisyphus+277292.300.2.1 1625442550 installed <13>Feb 5 02:36:48 rpmi: python3-modules-tkinter-3.12.1-alt2 sisyphus+339293.200.1.1 1706538926 installed <13>Feb 5 02:36:48 rpmi: python3-module-automat-22.10.0-alt1 sisyphus+322927.200.2.1 1686736914 installed <13>Feb 5 02:36:48 rpmi: python3-module-twisted-logger-22.10.0-alt2 sisyphus+333513.32500.72.1 1704589956 installed <13>Feb 5 02:36:48 rpmi: python3-module-twisted-web-22.10.0-alt2 sisyphus+333513.32500.72.1 1704589956 installed <13>Feb 5 02:36:48 rpmi: python3-module-twisted-words-22.10.0-alt2 sisyphus+333513.32500.72.1 1704589956 installed <13>Feb 5 02:36:48 rpmi: python3-module-twisted-core-22.10.0-alt2 sisyphus+333513.32500.72.1 1704589956 installed <13>Feb 5 02:36:48 rpmi: python3-module-twisted-names-22.10.0-alt2 sisyphus+333513.32500.72.1 1704589956 installed <13>Feb 5 02:36:48 rpmi: python3-module-tornado-6.4.0-alt1 sisyphus+338807.100.1.1 1706060409 installed <13>Feb 5 02:36:49 rpmi: python3-module-gunicorn-20.1.0-alt2 sisyphus+338616.200.2.1 1705909828 installed <13>Feb 5 02:36:49 rpmi: python3-module-aiohttp-3.9.1-alt1 sisyphus+338371.640.8.1 1706005873 installed <13>Feb 5 02:36:49 rpmi: python3-module-black-24.1.1-alt1 sisyphus+339380.100.2.1 1706612001 installed <13>Feb 5 02:36:49 rpmi: python3-module-pytest-examples-0.0.10-alt2 sisyphus+332035.100.1.1 1697613992 installed <13>Feb 5 02:36:49 rpmi: python3-module-pytest-pretty-1.2.0-alt1 sisyphus+325486.140.2.1 1690270459 installed <13>Feb 5 02:36:49 rpmi: python3-module-email-validator-2.1.0.post1-alt1 sisyphus+333733.100.1.1 1699344719 installed <13>Feb 5 02:36:49 rpmi: python3-module-pytest-benchmark-4.0.0-alt2 sisyphus+326832.100.2.1 1691598075 installed <13>Feb 5 02:36:49 rpmi: python3-module-dirty-equals-0.7.1-alt1.post0 sisyphus+334967.300.2.1 1700741186 installed <13>Feb 5 02:36:49 rpmi: python3-module-hatch-fancy-pypi-readme-24.1.0-alt1 sisyphus+338891.100.1.2 1706112819 installed <13>Feb 5 02:36:49 rpmi: python3-module-faker-22.6.0-alt1 sisyphus+339419.100.1.1 1706649084 installed <13>Feb 5 02:36:49 rpmi: python3-module-pydantic-core-2.14.6-alt1 sisyphus+338542.100.2.2 1705789322 installed <13>Feb 5 02:36:49 rpmi: python3-module-pytest-mock-3.12.0-alt1 sisyphus+339303.100.1.1 1706539714 installed <13>Feb 5 02:36:49 rpmi: python3-module-cloudpickle-2.2.1-alt1 sisyphus+314044.100.1.1 1674553138 installed <13>Feb 5 02:36:49 rpmi: python3-module-annotated-types-0.5.0-alt1 sisyphus+324055.400.3.1 1691699354 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-pydantic-2.5.3-alt1.nosrc.rpm (w1.gzdio) Installing python3-module-pydantic-2.5.3-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.28275 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-pydantic-2.5.3 + echo 'Source #0 (python3-module-pydantic-2.5.3.tar):' Source #0 (python3-module-pydantic-2.5.3.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-pydantic-2.5.3.tar + cd python3-module-pydantic-2.5.3 + /bin/chmod -c -Rf u+rwX,go-w . + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep518 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify pep518 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show pep517 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify pep517 + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show metadata + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify metadata INFO : Building metadata INFO : Building metadata with prepare_metadata_for_build_wheel INFO : Source tree: /usr/src/RPM/BUILD/python3-module-pydantic-2.5.3 INFO : Output dir: /usr/src/tmp/tmphctsmpll + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json show check + /usr/bin/python3 -m pyproject_installer deps --depsconfig /usr/src/RPM/SOURCES/pyproject_deps.json sync --verify check + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.6324 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-pydantic-2.5.3 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + /usr/bin/python3 -m pyproject_installer -v build INFO : pyproject_installer.build_cmd._build : Building wheel INFO : pyproject_installer.build_cmd._build : Source tree: /usr/src/RPM/BUILD/python3-module-pydantic-2.5.3 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/python3-module-pydantic-2.5.3/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec DEBUG : pyproject_installer.lib.build_backend : Parsing configuration file: /usr/src/RPM/BUILD/python3-module-pydantic-2.5.3/pyproject.toml INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: hatchling.build INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/python3-module-pydantic-2.5.3/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} INFO : pyproject_installer.build_cmd._build : Built wheel: pydantic-2.5.3-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.99218 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-pydantic-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-pydantic-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-pydantic-2.5.3 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-pydantic-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/python3-module-pydantic-2.5.3/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: pydantic-2.5.3-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-pydantic-buildroot DEBUG : pyproject_installer.lib.wheel : Parsing wheel filename DEBUG : pyproject_installer.lib.wheel : Validating wheel file DEBUG : pyproject_installer.lib.wheel : Validating wheel spec version DEBUG : pyproject_installer.lib.wheel : Parsing wheel spec metadata DEBUG : pyproject_installer.lib.wheel : Validating RECORD INFO : pyproject_installer.install_cmd._install : Wheel installation root: /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages INFO : pyproject_installer.install_cmd._install : Extracting wheel DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pydantic-2.5.3.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pydantic-2.5.3.dist-info/licenses/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: pydantic-2.5.3.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-pydantic-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-pydantic-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-pydantic-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-pydantic-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-pydantic-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-pydantic-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python3 modules in /usr/src/tmp/python3-module-pydantic-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_core_metadata.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_core_utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_dataclasses.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_decorators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_decorators_v1.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_discriminated_union.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_fields.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_forward_ref.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_generate_schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_generics.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_internal_dataclass.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_known_annotated_metadata.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_mock_val_ser.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_model_construction.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_repr.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_schema_generation_shared.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_std_types_schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_typing_extra.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_validate_call.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/class_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/copy_internals.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/json.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/tools.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/plugin/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/plugin/_loader.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/plugin/_schema_validator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/_hypothesis_plugin.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/annotated_types.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/class_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/color.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/dataclasses.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/datetime_parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/env_settings.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/error_wrappers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/errors.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/fields.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/generics.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/json.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/main.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/mypy.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/networks.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/tools.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/types.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/typing.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/version.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_migration.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/alias_generators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/annotated_handlers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/class_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/color.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/dataclasses.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/datetime_parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/env_settings.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/error_wrappers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/errors.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/fields.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/functional_serializers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/functional_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/generics.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/json.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/json_schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/main.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/mypy.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/networks.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/root_model.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/tools.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/type_adapter.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/types.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/typing.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/validate_call_decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/version.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/warnings.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-pydantic-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_core_metadata.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_core_utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_dataclasses.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_decorators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_decorators_v1.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_discriminated_union.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_fields.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_forward_ref.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_generate_schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_generics.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_internal_dataclass.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_known_annotated_metadata.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_mock_val_ser.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_model_construction.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_repr.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_schema_generation_shared.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_std_types_schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_typing_extra.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_validate_call.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/class_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/copy_internals.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/json.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/tools.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/plugin/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/plugin/_loader.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/plugin/_schema_validator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/_hypothesis_plugin.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/annotated_types.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/class_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/color.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/dataclasses.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/datetime_parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/env_settings.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/error_wrappers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/errors.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/fields.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/generics.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/json.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/main.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/mypy.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/networks.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/tools.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/types.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/typing.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/version.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_migration.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/alias_generators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/annotated_handlers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/class_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/color.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/dataclasses.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/datetime_parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/env_settings.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/error_wrappers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/errors.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/fields.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/functional_serializers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/functional_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/generics.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/json.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/json_schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/main.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/mypy.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/networks.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/root_model.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/tools.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/type_adapter.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/types.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/typing.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/validate_call_decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/version.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/warnings.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-pydantic-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_core_metadata.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_core_utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_dataclasses.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_decorators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_decorators_v1.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_discriminated_union.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_fields.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_forward_ref.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_generate_schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_generics.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_internal_dataclass.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_known_annotated_metadata.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_mock_val_ser.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_model_construction.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_repr.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_schema_generation_shared.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_std_types_schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_typing_extra.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_validate_call.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_internal/_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/class_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/copy_internals.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/json.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/deprecated/tools.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/plugin/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/plugin/_loader.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/plugin/_schema_validator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/_hypothesis_plugin.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/annotated_types.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/class_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/color.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/dataclasses.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/datetime_parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/env_settings.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/error_wrappers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/errors.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/fields.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/generics.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/json.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/main.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/mypy.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/networks.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/tools.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/types.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/typing.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/v1/version.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/__init__.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/_migration.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/alias_generators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/annotated_handlers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/class_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/color.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/config.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/dataclasses.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/datetime_parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/env_settings.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/error_wrappers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/errors.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/fields.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/functional_serializers.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/functional_validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/generics.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/json.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/json_schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/main.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/mypy.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/networks.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/parse.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/root_model.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/schema.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/tools.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/type_adapter.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/types.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/typing.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/utils.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/validate_call_decorator.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/validators.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/version.py compile /usr/src/tmp/python3-module-pydantic-buildroot/usr/lib/python3/site-packages/pydantic/warnings.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/pydantic/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/_migration.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/_migration.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/alias_generators.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/alias_generators.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/annotated_handlers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/annotated_handlers.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/class_validators.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/class_validators.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/color.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/color.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/config.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/config.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/datetime_parse.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/datetime_parse.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/decorator.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/decorator.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/env_settings.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/env_settings.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/error_wrappers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/error_wrappers.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/errors.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/errors.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/fields.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/fields.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/functional_serializers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/functional_serializers.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/functional_validators.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/functional_validators.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/generics.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/generics.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/json.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/json.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/main.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/main.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/parse.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/parse.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/root_model.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/root_model.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/schema.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/schema.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/tools.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/tools.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/type_adapter.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/type_adapter.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/typing.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/typing.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/utils.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/utils.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/validate_call_decorator.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/validate_call_decorator.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/validators.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/validators.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/version.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/version.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/__pycache__/warnings.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/__pycache__/warnings.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_config.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_config.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_core_metadata.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_core_metadata.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_dataclasses.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_dataclasses.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_decorators_v1.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_decorators_v1.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_fields.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_fields.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_forward_ref.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_forward_ref.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_internal_dataclass.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_internal_dataclass.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_internal_dataclass.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_internal_dataclass.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_known_annotated_metadata.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_known_annotated_metadata.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_mock_val_ser.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_mock_val_ser.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_model_construction.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_model_construction.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_repr.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_repr.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_schema_generation_shared.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_schema_generation_shared.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_typing_extra.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_typing_extra.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_utils.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_utils.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_validate_call.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_validate_call.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_validators.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/_internal/__pycache__/_validators.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/class_validators.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/class_validators.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/config.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/config.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/copy_internals.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/copy_internals.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/copy_internals.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/copy_internals.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/json.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/json.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/parse.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/parse.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/parse.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/parse.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/tools.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/deprecated/__pycache__/tools.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/plugin/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/plugin/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/plugin/__pycache__/_loader.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/plugin/__pycache__/_loader.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/plugin/__pycache__/_schema_validator.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/plugin/__pycache__/_schema_validator.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/annotated_types.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/annotated_types.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/color.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/color.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/config.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/config.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/dataclasses.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/dataclasses.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/datetime_parse.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/datetime_parse.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/env_settings.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/env_settings.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/error_wrappers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/error_wrappers.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/error_wrappers.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/error_wrappers.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/errors.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/errors.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/json.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/json.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/main.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/main.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/parse.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/parse.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/parse.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/parse.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/tools.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/tools.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/types.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/types.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/typing.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/typing.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/validators.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/validators.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/version.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/version.cpython-312.pyc' './usr/lib/python3/site-packages/pydantic/v1/__pycache__/version.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/pydantic/v1/__pycache__/version.cpython-312.opt-1.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.4255 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-pydantic-2.5.3 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export NO_INTERNET=YES + NO_INTERNET=YES + /usr/bin/python3 -m pyproject_installer run -- python3 -m pytest --ignore=tests/test_docs.py --benchmark-skip INFO : Creating venv INFO : Installing console scripts INFO : Installing package: /usr/src/RPM/BUILD/python3-module-pydantic-2.5.3/dist/pydantic-2.5.3-py3-none-any.whl INFO : Running command: ['/usr/src/RPM/BUILD/python3-module-pydantic-2.5.3/.run_venv/bin/python3', '-m', 'pyproject_installer', 'install', '/usr/src/RPM/BUILD/python3-module-pydantic-2.5.3/dist/pydantic-2.5.3-py3-none-any.whl'] INFO : Running command: ['python3', '-m', 'pytest', '--ignore=tests/test_docs.py', '--benchmark-skip'] ============================= test session starts ============================== platform linux -- Python 3.12.1, pytest-8.0.0, pluggy-1.4.0 benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=True warmup_iterations=100000) rootdir: /usr/src/RPM/BUILD/python3-module-pydantic-2.5.3 configfile: pyproject.toml testpaths: tests plugins: mock-3.12.0, Faker-22.6.0, benchmark-4.0.0, pretty-1.2.0, examples-0.0.10 collected 4272 items tests/benchmarks/test_fastapi_startup_generics.py s [ 0%] tests/benchmarks/test_fastapi_startup_simple.py s [ 0%] tests/benchmarks/test_north_star.py ssssssss [ 0%] tests/mypy/test_mypy.py ssssssssssssssssssssssssssssssssssssssssssssssss [ 1%] sss [ 1%] tests/plugin/test_plugin.py s [ 1%] tests/test_abc.py .. [ 1%] tests/test_aliases.py ............................................ [ 2%] tests/test_annotated.py ............................ [ 3%] tests/test_assert_in_validators.py . [ 3%] tests/test_callable.py ........ [ 3%] tests/test_color.py .................................................... [ 4%] ...................................... [ 5%] tests/test_computed_fields.py ...........................x... [ 6%] tests/test_config.py ...............................F [ 6%] tests/test_config.py:346 TestsBaseConfig.test_config_class_is_deprecated [ 6%] tests/test_config.py F [ 6%] tests/test_config.py:354 TestsBaseConfig.test_config_class_attributes_are_deprecated [ 6%] tests/test_config.py ................................ [ 7%] tests/test_construction.py ........F [ 7%] tests/test_construction.py:106 test_simple_copy[copy] - pydantic.war… tests/test_construction.py .F [ 7%] tests/test_construction.py:129 test_deep_copy[copy] - pydantic.warni… tests/test_construction.py .F [ 8%] tests/test_construction.py:144 test_copy_exclude - pydantic.warnings… tests/test_construction.py F [ 8%] tests/test_construction.py:160 test_copy_include - pydantic.warnings… tests/test_construction.py F [ 8%] tests/test_construction.py:171 test_copy_include_exclude - pydantic.… tests/test_construction.py F [ 8%] tests/test_construction.py:179 test_copy_advanced_exclude - pydantic… tests/test_construction.py F [ 8%] tests/test_construction.py:202 test_copy_advanced_include - pydantic… tests/test_construction.py F [ 8%] tests/test_construction.py:225 test_copy_advanced_include_exclude tests/test_construction.py F [ 8%] tests/test_construction.py:243 test_copy_update[copy] - pydantic.war… tests/test_construction.py .F [ 8%] tests/test_construction.py:256 test_copy_update_unset[copy] - pydant… tests/test_construction.py .F [ 8%] tests/test_construction.py:271 test_copy_deep_extra[copy] - pydantic… tests/test_construction.py .F [ 8%] tests/test_construction.py:281 test_copy_set_fields[copy] - pydantic… tests/test_construction.py ....F [ 8%] tests/test_construction.py:355 test_copy_undefined[copy] - pydantic.… tests/test_construction.py .F [ 8%] tests/test_construction.py:365 test_immutable_copy_with_frozen[copy] tests/test_construction.py ...F [ 8%] tests/test_construction.py:395 test_copy_update_exclude - pydantic.w… tests/test_construction.py F [ 8%] tests/test_construction.py:421 test_shallow_copy_modify[copy] tests/test_construction.py ..F [ 8%] tests/test_construction.py:449 test_copy_with_excluded_fields tests/test_construction.py .... [ 8%] tests/test_create_model.py ......................................... [ 9%] tests/test_dataclasses.py ........................................s..... [ 10%] ..............................................................s......... [ 12%] ............ss.............................................. [ 13%] tests/test_datetime.py ................................................. [ 15%] ........................................................................ [ 16%] ...................................................................... [ 18%] tests/test_decorators.py ...... [ 18%] tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:50 test_from_attributes_root - pydantic.war… tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:128 test_from_attributes - pydantic.warning… tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:164 test_not_from_attributes - pydantic.war… tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:173 test_object_with_getattr - pydantic.war… tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:200 test_properties - pydantic.warnings.Pyd… tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:218 test_extra_allow_from_orm[ignore] tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:218 test_extra_allow_from_orm[forbid] tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:218 test_extra_allow_from_orm[allow] tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:233 test_root_validator - pydantic.warnings… tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:259 test_nested_orm - pydantic.warnings.Pyd… tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:276 test_parse_raw_pass - pydantic.warnings… tests/test_deprecated.py F [ 18%] tests/test_deprecated.py:286 test_parse_raw_pass_fail - pydantic.war… tests/test_deprecated.py ..........F [ 19%] tests/test_deprecated.py:433 test_field_include_deprecation - pydant… tests/test_deprecated.py .............F [ 19%] tests/test_deprecated.py:643 test_parse_file - pydantic.warnings.Pyd… tests/test_deprecated.py ....F [ 19%] tests/test_deprecated.py:688 test_copy_and_set_values - pydantic.war… tests/test_deprecated.py F [ 19%] tests/test_deprecated.py:698 test_get_value - pydantic.warnings.Pyda… tests/test_deprecated.py F [ 19%] tests/test_deprecated.py:714 test_deprecated_module - pydantic.warni… tests/test_deprecated.py .. [ 19%] tests/test_deprecated_validate_arguments.py ..................... [ 20%] tests/test_discriminated_union.py ...................................... [ 20%] ................... [ 21%] tests/test_edge_cases.py ............................................... [ 22%] ..................................................................s..... [ 24%] ................................................... [ 25%] tests/test_errors.py ... [ 25%] tests/test_exports.py .................................................. [ 26%] ........................................................................ [ 28%] ........... [ 28%] tests/test_fastapi_json_schema.py .. [ 28%] tests/test_fields.py .s..... [ 28%] tests/test_forward_ref.py .......................................... [ 29%] tests/test_generics.py ............................................s.... [ 30%] ........................................sx.......xx............ [ 32%] tests/test_internal.py .........s. [ 32%] tests/test_json.py ..................................................... [ 33%] . [ 33%] tests/test_json_schema.py .............................................. [ 34%] ...............................................................F [ 36%] tests/test_json_schema.py:1324 test_callable_fallback_with_non_serializable_default[Cannot generate a JsonSchema for core_schema.CallableSchema \\[skipped-choice\\]] [ 36%] tests/test_json_schema.py F [ 36%] tests/test_json_schema.py:1324 test_callable_fallback_with_non_serializable_default[Default value .* is not JSON serializable; excluding default from JSON schema \\[non-serializable-default\\]] [ 36%] tests/test_json_schema.py .............................................. [ 37%] ........................................................................ [ 39%] ........................................................................ [ 40%] .......x............................................................... [ 42%] tests/test_main.py ..................................................... [ 43%] ............................................sssssssssssssssssssssssss... [ 45%] ........................................................................ [ 47%] ............................. [ 47%] tests/test_migration.py ................................................ [ 49%] ........................................................................ [ 50%] ........................................................................ [ 52%] .................................... [ 53%] tests/test_model_signature.py ............... [ 53%] tests/test_model_validator.py ........ [ 53%] tests/test_networks.py ................................................. [ 54%] ........................................................................ [ 56%] ................................x....................................... [ 58%] .................................s. [ 59%] tests/test_networks_ipaddress.py ....................................... [ 60%] ........................................................................ [ 61%] .................................................... [ 62%] tests/test_parse.py ........... [ 63%] tests/test_pickle.py ..................... [ 63%] tests/test_plugins.py ............ [ 63%] tests/test_private_attributes.py ........................ [ 64%] tests/test_rich_repr.py .. [ 64%] tests/test_root_model.py ............................................... [ 65%] .......................... [ 66%] tests/test_serialize.py ................................................ [ 67%] ............................ [ 68%] tests/test_strict.py ...... [ 68%] tests/test_structural_pattern_matching.py . [ 68%] tests/test_tools.py ......... [ 68%] tests/test_type_adapter.py ....................x........................ [ 69%] [ 69%] tests/test_type_alias_type.py .......x... [ 69%] tests/test_types.py ................................................s... [ 70%] ........................................................................ [ 72%] ........................................................................ [ 74%] ........................................................................ [ 76%] ..........x......ss..................................................... [ 77%] ........................................................................ [ 79%] ........................................................................ [ 81%] ........................................................................ [ 82%] ........................................................................ [ 84%] ........................................................................ [ 86%] ................................................................. [ 87%] tests/test_types_namedtuple.py ......... [ 87%] tests/test_types_payment_card_number.py ................................ [ 88%] .............. [ 88%] tests/test_types_typeddict.py .......................................... [ 89%] ......................... [ 90%] tests/test_typing.py ........... [ 90%] tests/test_utils.py .................................................... [ 91%] ..........................s............................................. [ 93%] ................................................ [ 94%] tests/test_v1.py .. [ 94%] tests/test_validate_call.py ..................................... [ 95%] tests/test_validators.py ............................F [ 96%] tests/test_validators.py:526 test_use_bare - Failed: DID NOT WARN. N… tests/test_validators.py .F [ 96%] tests/test_validators.py:550 test_use_no_fields - Failed: DID NOT WA… tests/test_validators.py .F [ 96%] tests/test_validators.py:576 test_validator_bad_fields_throws_configerror [ 96%] tests/test_validators.py ...................................F [ 97%] tests/test_validators.py:1293 test_assert_raises_validation_error tests/test_validators.py ............................................... [ 98%] .......................F [ 98%] tests/test_validators.py:2512 test_root_validator_allow_reuse_same_field [ 98%] tests/test_validators.py ........................ [ 99%] tests/test_validators_dataclass.py ........ [ 99%] tests/test_version.py ...... [ 99%] tests/test_warnings.py ..... [100%] =================================== FAILURES =================================== _______________ TestsBaseConfig.test_config_class_is_deprecated ________________ self = def test_config_class_is_deprecated(self): > with pytest.warns( PydanticDeprecatedSince20, match='Support for class-based `config` is deprecated, use ConfigDict instead.' ): E pydantic.warnings.PydanticDeprecatedSince20: BaseConfig is deprecated. Use the `pydantic.ConfigDict` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_config.py:348: PydanticDeprecatedSince20 _________ TestsBaseConfig.test_config_class_attributes_are_deprecated __________ self = def test_config_class_attributes_are_deprecated(self): with pytest.warns( PydanticDeprecatedSince20, match='Support for class-based `config` is deprecated, use ConfigDict instead.', ): assert BaseConfig.validate_assignment is False > with pytest.warns( PydanticDeprecatedSince20, match='Support for class-based `config` is deprecated, use ConfigDict instead.', ): E pydantic.warnings.PydanticDeprecatedSince20: BaseConfig is deprecated. Use the `pydantic.ConfigDict` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_config.py:362: PydanticDeprecatedSince20 ____________________________ test_simple_copy[copy] ____________________________ copy_method = def test_simple_copy(copy_method): m = Model(a=24) > m2 = copy_method(m) tests/test_construction.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = Model(a=24.0, b=10) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 _____________________________ test_deep_copy[copy] _____________________________ ModelTwo = .ModelTwo'> copy_method = def test_deep_copy(ModelTwo, copy_method): m = ModelTwo(a=24, d=Model(a='12')) m._foo_ = {'new value'} > m2 = copy_method(m, deep=True) tests/test_construction.py:133: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = ModelTwo(a=24.0, b=10, c='foobar', d=Model(a=12.0, b=10)) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 ______________________________ test_copy_exclude _______________________________ ModelTwo = .ModelTwo'> def test_copy_exclude(ModelTwo): m = ModelTwo(a=24, d=Model(a='12')) > m2 = deprecated_copy(m, exclude={'b'}) tests/test_construction.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = ModelTwo(a=24.0, b=10, c='foobar', d=Model(a=12.0, b=10)) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 ______________________________ test_copy_include _______________________________ ModelTwo = .ModelTwo'> def test_copy_include(ModelTwo): m = ModelTwo(a=24, d=Model(a='12')) > m2 = deprecated_copy(m, include={'a'}) tests/test_construction.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = ModelTwo(a=24.0, b=10, c='foobar', d=Model(a=12.0, b=10)) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 __________________________ test_copy_include_exclude ___________________________ ModelTwo = .ModelTwo'> def test_copy_include_exclude(ModelTwo): m = ModelTwo(a=24, d=Model(a='12')) > m2 = deprecated_copy(m, include={'a', 'b', 'c'}, exclude={'c'}) tests/test_construction.py:174: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = ModelTwo(a=24.0, b=10, c='foobar', d=Model(a=12.0, b=10)) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 __________________________ test_copy_advanced_exclude __________________________ def test_copy_advanced_exclude(): class SubSubModel(BaseModel): a: str b: str class SubModel(BaseModel): c: str d: List[SubSubModel] class Model(BaseModel): e: str f: SubModel m = Model(e='e', f=SubModel(c='foo', d=[SubSubModel(a='a', b='b'), SubSubModel(a='c', b='e')])) > m2 = deprecated_copy(m, exclude={'f': {'c': ..., 'd': {-1: {'a'}}}}) tests/test_construction.py:194: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = Model(e='e', f=SubModel(c='foo', d=[SubSubModel(a='a', b='b'), SubSubModel(a='c', b='e')])) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 __________________________ test_copy_advanced_include __________________________ def test_copy_advanced_include(): class SubSubModel(BaseModel): a: str b: str class SubModel(BaseModel): c: str d: List[SubSubModel] class Model(BaseModel): e: str f: SubModel m = Model(e='e', f=SubModel(c='foo', d=[SubSubModel(a='a', b='b'), SubSubModel(a='c', b='e')])) > m2 = deprecated_copy(m, include={'f': {'c'}}) tests/test_construction.py:217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = Model(e='e', f=SubModel(c='foo', d=[SubSubModel(a='a', b='b'), SubSubModel(a='c', b='e')])) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 ______________________ test_copy_advanced_include_exclude ______________________ def test_copy_advanced_include_exclude(): class SubSubModel(BaseModel): a: str b: str class SubModel(BaseModel): c: str d: List[SubSubModel] class Model(BaseModel): e: str f: SubModel m = Model(e='e', f=SubModel(c='foo', d=[SubSubModel(a='a', b='b'), SubSubModel(a='c', b='e')])) > m2 = deprecated_copy(m, include={'e': ..., 'f': {'d'}}, exclude={'e': ..., 'f': {'d': {0}}}) tests/test_construction.py:240: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = Model(e='e', f=SubModel(c='foo', d=[SubSubModel(a='a', b='b'), SubSubModel(a='c', b='e')])) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 ____________________________ test_copy_update[copy] ____________________________ ModelTwo = .ModelTwo'> copy_method = def test_copy_update(ModelTwo, copy_method): m = ModelTwo(a=24, d=Model(a='12')) > m2 = copy_method(m, update={'a': 'different'}) tests/test_construction.py:246: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = ModelTwo(a=24.0, b=10, c='foobar', d=Model(a=12.0, b=10)) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 _________________________ test_copy_update_unset[copy] _________________________ copy_method = def test_copy_update_unset(copy_method): class Foo(BaseModel): foo: Optional[str] = None bar: Optional[str] = None > assert ( copy_method(Foo(foo='hello'), update={'bar': 'world'}).model_dump_json(exclude_unset=True) == '{"foo":"hello","bar":"world"}' ) tests/test_construction.py:262: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = Foo(foo='hello', bar=None) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 __________________________ test_copy_deep_extra[copy] __________________________ copy_method = def test_copy_deep_extra(copy_method): class Foo(BaseModel, extra='allow'): pass m = Foo(extra=[]) > assert copy_method(m).extra is m.extra tests/test_construction.py:277: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = Foo(extra=[]) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 __________________________ test_copy_set_fields[copy] __________________________ ModelTwo = .ModelTwo'> copy_method = def test_copy_set_fields(ModelTwo, copy_method): m = ModelTwo(a=24, d=Model(a='12')) > m2 = copy_method(m) tests/test_construction.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = ModelTwo(a=24.0, b=10, c='foobar', d=Model(a=12.0, b=10)) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 __________________________ test_copy_undefined[copy] ___________________________ ModelTwo = .ModelTwo'> copy_method = def test_copy_undefined(ModelTwo, copy_method): m = ModelTwo(a=24, d=Model(a='123.45')) > m2 = copy_method(m) tests/test_construction.py:358: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = ModelTwo(a=24.0, b=10, c='foobar', d=Model(a=123.45, b=10)) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 ____________________ test_immutable_copy_with_frozen[copy] _____________________ copy_method = def test_immutable_copy_with_frozen(copy_method): class Model(BaseModel): model_config = ConfigDict(frozen=True) a: int b: int m = Model(a=40, b=10) > assert m == copy_method(m) tests/test_construction.py:373: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = Model(a=40, b=10) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 ___________________________ test_copy_update_exclude ___________________________ def test_copy_update_exclude(): class SubModel(BaseModel): a: str b: str class Model(BaseModel): c: str d: SubModel m = Model(c='ex', d=dict(a='ax', b='bx')) assert m.model_dump() == {'c': 'ex', 'd': {'a': 'ax', 'b': 'bx'}} > assert deprecated_copy(m, exclude={'c'}).model_dump() == {'d': {'a': 'ax', 'b': 'bx'}} tests/test_construction.py:407: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = Model(c='ex', d=SubModel(a='ax', b='bx')) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 ________________________ test_shallow_copy_modify[copy] ________________________ copy_method = def test_shallow_copy_modify(copy_method): class X(BaseModel): val: int deep: Any x = X(val=1, deep={'deep_thing': [1, 2]}) > y = copy_method(x) tests/test_construction.py:429: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = X(val=1, deep={'deep_thing': [1, 2]}) def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 ________________________ test_copy_with_excluded_fields ________________________ def test_copy_with_excluded_fields(): class User(BaseModel): name: str age: int dob: str user = User(name='test_user', age=23, dob='01/01/2000') > user_copy = deprecated_copy(user, exclude={'dob': ...}) tests/test_construction.py:457: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ m = User(name='test_user', age=23, dob='01/01/2000') def deprecated_copy(m: BaseModel, *, include=None, exclude=None, update=None, deep=False): """ This should only be used to make calls to the deprecated `copy` method with arguments that have been removed from `model_copy`. Otherwise, use the `copy_method` fixture below """ > with pytest.warns( PydanticDeprecatedSince20, match=( 'The `copy` method is deprecated; use `model_copy` instead. ' 'See the docstring of `BaseModel.copy` for details about how to handle `include` and `exclude`.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The copy method is deprecated; use `model_copy` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_construction.py:82: PydanticDeprecatedSince20 __________________________ test_from_attributes_root ___________________________ def test_from_attributes_root(): class PokemonCls: def __init__(self, *, en_name: str, jp_name: str): self.en_name = en_name self.jp_name = jp_name class Pokemon(BaseModel): model_config = ConfigDict(from_attributes=True) en_name: str jp_name: str with pytest.warns( PydanticDeprecatedSince20, match='Pydantic V1 style `@root_validator` validators are deprecated.' ): class PokemonList(BaseModel): root: List[Pokemon] @root_validator(pre=True) @classmethod def populate_root(cls, values): return {'root': values} @model_serializer(mode='wrap') def _serialize(self, handler, info): data = handler(self) if info.mode == 'json': return data['root'] else: return data @classmethod def model_modify_json_schema(cls, json_schema): return json_schema['properties']['root'] model_config = ConfigDict(from_attributes=True) pika = PokemonCls(en_name='Pikachu', jp_name='ピカチュウ') bulbi = PokemonCls(en_name='Bulbasaur', jp_name='フシギダネ') > pokemons = deprecated_from_orm(PokemonList, [pika, bulbi]) tests/test_deprecated.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_type = .PokemonList'> obj = [.PokemonCls object at 0x7faa6d0e8b30>, .PokemonCls object at 0x7faa6d0b7d40>] def deprecated_from_orm(model_type: Type[BaseModel], obj: Any) -> Any: > with pytest.warns( PydanticDeprecatedSince20, match=re.escape( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The `from_orm` method is deprecated; set `model_config['from_attributes']=True` and use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:41: PydanticDeprecatedSince20 _____________________________ test_from_attributes _____________________________ def test_from_attributes(): class PetCls: def __init__(self, *, name: str, species: str): self.name = name self.species = species class PersonCls: def __init__(self, *, name: str, age: float = None, pets: List[PetCls]): self.name = name self.age = age self.pets = pets class Pet(BaseModel): model_config = ConfigDict(from_attributes=True) name: str species: str class Person(BaseModel): model_config = ConfigDict(from_attributes=True) name: str age: float = None pets: List[Pet] bones = PetCls(name='Bones', species='dog') orion = PetCls(name='Orion', species='cat') anna = PersonCls(name='Anna', age=20, pets=[bones, orion]) > anna_model = deprecated_from_orm(Person, anna) tests/test_deprecated.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_type = .Person'> obj = .PersonCls object at 0x7faa6ddf1c10> def deprecated_from_orm(model_type: Type[BaseModel], obj: Any) -> Any: > with pytest.warns( PydanticDeprecatedSince20, match=re.escape( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The `from_orm` method is deprecated; set `model_config['from_attributes']=True` and use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:41: PydanticDeprecatedSince20 ___________________________ test_not_from_attributes ___________________________ model_type = .Pet'> obj = None def deprecated_from_orm(model_type: Type[BaseModel], obj: Any) -> Any: with pytest.warns( PydanticDeprecatedSince20, match=re.escape( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.' ), ): > return model_type.from_orm(obj) tests/test_deprecated.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/typing_extensions.py:2499: in wrapper return arg(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = .Pet'> obj = None @classmethod @typing_extensions.deprecated( 'The `from_orm` method is deprecated; set ' "`model_config['from_attributes']=True` and use `model_validate` instead.", category=PydanticDeprecatedSince20, ) def from_orm(cls: type[Model], obj: Any) -> Model: # noqa: D102 warnings.warn( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.', DeprecationWarning, ) if not cls.model_config.get('from_attributes', None): > raise PydanticUserError( 'You must set the config attribute `from_attributes=True` to use from_orm', code=None ) E pydantic.errors.PydanticUserError: You must set the config attribute `from_attributes=True` to use from_orm pydantic/main.py:1126: PydanticUserError During handling of the above exception, another exception occurred: def test_not_from_attributes(): class Pet(BaseModel): name: str species: str with pytest.raises(PydanticUserError): > deprecated_from_orm(Pet, None) tests/test_deprecated.py:171: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_type = .Pet'> obj = None def deprecated_from_orm(model_type: Type[BaseModel], obj: Any) -> Any: > with pytest.warns( PydanticDeprecatedSince20, match=re.escape( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The `from_orm` method is deprecated; set `model_config['from_attributes']=True` and use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:41: PydanticDeprecatedSince20 ___________________________ test_object_with_getattr ___________________________ def test_object_with_getattr(): class FooGetAttr: def __getattr__(self, key: str): if key == 'foo': return 'Foo' else: raise AttributeError class Model(BaseModel): model_config = ConfigDict(from_attributes=True) foo: str bar: int = 1 class ModelInvalid(BaseModel): model_config = ConfigDict(from_attributes=True) foo: str bar: int foo = FooGetAttr() > model = deprecated_from_orm(Model, foo) tests/test_deprecated.py:193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_type = .Model'> obj = .FooGetAttr object at 0x7faa6e0816a0> def deprecated_from_orm(model_type: Type[BaseModel], obj: Any) -> Any: > with pytest.warns( PydanticDeprecatedSince20, match=re.escape( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The `from_orm` method is deprecated; set `model_config['from_attributes']=True` and use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:41: PydanticDeprecatedSince20 _______________________________ test_properties ________________________________ def test_properties(): class XyProperty: x = 4 @property def y(self): return '5' class Model(BaseModel): model_config = ConfigDict(from_attributes=True) x: int y: int > model = deprecated_from_orm(Model, XyProperty()) tests/test_deprecated.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_type = .Model'> obj = .XyProperty object at 0x7faa6ddf3ad0> def deprecated_from_orm(model_type: Type[BaseModel], obj: Any) -> Any: > with pytest.warns( PydanticDeprecatedSince20, match=re.escape( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The `from_orm` method is deprecated; set `model_config['from_attributes']=True` and use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:41: PydanticDeprecatedSince20 ______________________ test_extra_allow_from_orm[ignore] _______________________ extra = 'ignore' @pytest.mark.parametrize('extra', ['ignore', 'forbid', 'allow']) def test_extra_allow_from_orm(extra: Literal['ignore', 'forbid', 'allow']): class TestCls: x = 1 y = 2 class Model(BaseModel): model_config = ConfigDict(from_attributes=True, extra=extra) x: int > model = deprecated_from_orm(Model, TestCls()) tests/test_deprecated.py:229: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_type = .Model'> obj = .TestCls object at 0x7faa6e5e8860> def deprecated_from_orm(model_type: Type[BaseModel], obj: Any) -> Any: > with pytest.warns( PydanticDeprecatedSince20, match=re.escape( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The `from_orm` method is deprecated; set `model_config['from_attributes']=True` and use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:41: PydanticDeprecatedSince20 ______________________ test_extra_allow_from_orm[forbid] _______________________ extra = 'forbid' @pytest.mark.parametrize('extra', ['ignore', 'forbid', 'allow']) def test_extra_allow_from_orm(extra: Literal['ignore', 'forbid', 'allow']): class TestCls: x = 1 y = 2 class Model(BaseModel): model_config = ConfigDict(from_attributes=True, extra=extra) x: int > model = deprecated_from_orm(Model, TestCls()) tests/test_deprecated.py:229: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_type = .Model'> obj = .TestCls object at 0x7faa6e5e9f10> def deprecated_from_orm(model_type: Type[BaseModel], obj: Any) -> Any: > with pytest.warns( PydanticDeprecatedSince20, match=re.escape( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The `from_orm` method is deprecated; set `model_config['from_attributes']=True` and use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:41: PydanticDeprecatedSince20 _______________________ test_extra_allow_from_orm[allow] _______________________ extra = 'allow' @pytest.mark.parametrize('extra', ['ignore', 'forbid', 'allow']) def test_extra_allow_from_orm(extra: Literal['ignore', 'forbid', 'allow']): class TestCls: x = 1 y = 2 class Model(BaseModel): model_config = ConfigDict(from_attributes=True, extra=extra) x: int > model = deprecated_from_orm(Model, TestCls()) tests/test_deprecated.py:229: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_type = .Model'> obj = .TestCls object at 0x7faa6e5ebf80> def deprecated_from_orm(model_type: Type[BaseModel], obj: Any) -> Any: > with pytest.warns( PydanticDeprecatedSince20, match=re.escape( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The `from_orm` method is deprecated; set `model_config['from_attributes']=True` and use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:41: PydanticDeprecatedSince20 _____________________________ test_root_validator ______________________________ @pytest.mark.filterwarnings('ignore:Pydantic V1 style `@root_validator` validators are deprecated.*:DeprecationWarning') def test_root_validator(): validator_value = None class TestCls: x = 1 y = 2 class Model(BaseModel): model_config = ConfigDict(from_attributes=True) x: int y: int z: int @root_validator(pre=True) def change_input_data(cls, value): nonlocal validator_value validator_value = value return {'x': value.x, 'y': value.y, 'z': value.x + value.y} > model = deprecated_from_orm(Model, TestCls()) tests/test_deprecated.py:254: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_type = .Model'> obj = .TestCls object at 0x7faa6c014a70> def deprecated_from_orm(model_type: Type[BaseModel], obj: Any) -> Any: > with pytest.warns( PydanticDeprecatedSince20, match=re.escape( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The `from_orm` method is deprecated; set `model_config['from_attributes']=True` and use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:41: PydanticDeprecatedSince20 _______________________________ test_nested_orm ________________________________ def test_nested_orm(): class User(BaseModel): model_config = ConfigDict(from_attributes=True) first_name: str last_name: str class State(BaseModel): model_config = ConfigDict(from_attributes=True) user: User # Pass an "orm instance" > deprecated_from_orm(State, SimpleNamespace(user=SimpleNamespace(first_name='John', last_name='Appleseed'))) tests/test_deprecated.py:271: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_type = .State'> obj = namespace(user=namespace(first_name='John', last_name='Appleseed')) def deprecated_from_orm(model_type: Type[BaseModel], obj: Any) -> Any: > with pytest.warns( PydanticDeprecatedSince20, match=re.escape( 'The `from_orm` method is deprecated; set `model_config["from_attributes"]=True` ' 'and use `model_validate` instead.' ), ): E pydantic.warnings.PydanticDeprecatedSince20: The `from_orm` method is deprecated; set `model_config['from_attributes']=True` and use `model_validate` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:41: PydanticDeprecatedSince20 _____________________________ test_parse_raw_pass ______________________________ def test_parse_raw_pass(): class Model(BaseModel): x: int y: int > with pytest.warns(PydanticDeprecatedSince20, match='The `parse_raw` method is deprecated'): E pydantic.warnings.PydanticDeprecatedSince20: load_str_bytes is deprecated. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:282: PydanticDeprecatedSince20 ___________________________ test_parse_raw_pass_fail ___________________________ @pytest.mark.skipif(platform.python_implementation() == 'PyPy', reason='Different error str on PyPy') def test_parse_raw_pass_fail(): class Model(BaseModel): x: int y: int > with pytest.warns(PydanticDeprecatedSince20, match='The `parse_raw` method is deprecated'): E pydantic.warnings.PydanticDeprecatedSince20: load_str_bytes is deprecated. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:293: PydanticDeprecatedSince20 ________________________ test_field_include_deprecation ________________________ def test_field_include_deprecation(): m = '`include` is deprecated and does nothing. It will be removed, use `exclude` instead' > with pytest.warns(PydanticDeprecatedSince20, match=m): E pydantic.warnings.PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'include'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:436: PydanticDeprecatedSince20 _______________________________ test_parse_file ________________________________ tmp_path = PosixPath('/usr/src/tmp/pytest-of-builder/pytest-0/test_parse_file0') def test_parse_file(tmp_path): path = tmp_path / 'test.json' path.write_text('{"x": 12}') > with pytest.warns( PydanticDeprecatedSince20, match='^The `parse_file` method is deprecated; load the data from file,' ): E pydantic.warnings.PydanticDeprecatedSince20: load_file is deprecated. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:647: PydanticDeprecatedSince20 ___________________________ test_copy_and_set_values ___________________________ def test_copy_and_set_values(): m = SimpleModel(x=1) > with pytest.warns( PydanticDeprecatedSince20, match='^The private method `_copy_and_set_values` will be removed and ' ): E pydantic.warnings.PydanticDeprecatedSince20: The private method `_copy_and_set_values` will be removed and should no longer be used. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:691: PydanticDeprecatedSince20 ________________________________ test_get_value ________________________________ def test_get_value(): m = SimpleModel(x=1) > with pytest.warns(PydanticDeprecatedSince20, match='^The private method `_get_value` will be removed and '): E pydantic.warnings.PydanticDeprecatedSince20: The private method `_get_value` will be removed and should no longer be used. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:701: PydanticDeprecatedSince20 ____________________________ test_deprecated_module ____________________________ tmp_path = PosixPath('/usr/src/tmp/pytest-of-builder/pytest-0/test_deprecated_module0') def test_deprecated_module(tmp_path: Path) -> None: class Model(BaseModel): x: int assert hasattr(parse_obj_as, '__deprecated__') with pytest.warns( PydanticDeprecatedSince20, match='parse_obj_as is deprecated. Use pydantic.TypeAdapter.validate_python instead.' ): parse_obj_as(Model, {'x': 1}) assert hasattr(schema_json_of, '__deprecated__') > with pytest.warns( PydanticDeprecatedSince20, match='schema_json_of is deprecated. Use pydantic.TypeAdapter.json_schema instead.' ): E pydantic.warnings.PydanticDeprecatedSince20: schema_of is deprecated. Use pydantic.TypeAdapter.json_schema instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_deprecated.py:726: PydanticDeprecatedSince20 _ test_callable_fallback_with_non_serializable_default[Cannot generate a JsonSchema for core_schema.CallableSchema \\[skipped-choice\\]] _ warning_match = 'Cannot generate a JsonSchema for core_schema.CallableSchema \\[skipped-choice\\]' @pytest.mark.parametrize( 'warning_match', ( r'Cannot generate a JsonSchema for core_schema.CallableSchema \[skipped-choice\]', r'Default value .* is not JSON serializable; excluding default from JSON schema \[non-serializable-default\]', ), ) def test_callable_fallback_with_non_serializable_default(warning_match): class Model(BaseModel): callback: Union[int, Callable[[int], int]] = lambda x: x # noqa E731 class MyGenerator(GenerateJsonSchema): ignored_warning_kinds = () > with pytest.warns(PydanticJsonSchemaWarning, match=warning_match): E pydantic.json_schema.PydanticJsonSchemaWarning: Default value .Model. at 0x7faa6bbe3ce0> is not JSON serializable; excluding default from JSON schema [non-serializable-default] tests/test_json_schema.py:1339: PydanticJsonSchemaWarning _ test_callable_fallback_with_non_serializable_default[Default value .* is not JSON serializable; excluding default from JSON schema \\[non-serializable-default\\]] _ warning_match = 'Default value .* is not JSON serializable; excluding default from JSON schema \\[non-serializable-default\\]' @pytest.mark.parametrize( 'warning_match', ( r'Cannot generate a JsonSchema for core_schema.CallableSchema \[skipped-choice\]', r'Default value .* is not JSON serializable; excluding default from JSON schema \[non-serializable-default\]', ), ) def test_callable_fallback_with_non_serializable_default(warning_match): class Model(BaseModel): callback: Union[int, Callable[[int], int]] = lambda x: x # noqa E731 class MyGenerator(GenerateJsonSchema): ignored_warning_kinds = () > with pytest.warns(PydanticJsonSchemaWarning, match=warning_match): E pydantic.json_schema.PydanticJsonSchemaWarning: Cannot generate a JsonSchema for core_schema.CallableSchema [skipped-choice] tests/test_json_schema.py:1339: PydanticJsonSchemaWarning ________________________________ test_use_bare _________________________________ class Model(BaseModel): a: str with pytest.warns(PydanticDeprecatedSince20, match=V1_VALIDATOR_DEPRECATION_MATCH): > @validator tests/test_validators.py:535: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __field = .Model.checker at 0x7faa6cc03e20> pre = False, each_item = False, always = False, check_fields = None def validator( __field: str, *fields: str, pre: bool = False, each_item: bool = False, always: bool = False, check_fields: bool | None = None, allow_reuse: bool = False, ) -> Callable[[_V1ValidatorType], _V1ValidatorType]: """Decorate methods on the class indicating that they should be used to validate fields. Args: __field (str): The first field the validator should be called on; this is separate from `fields` to ensure an error is raised if you don't pass at least one. *fields (str): Additional field(s) the validator should be called on. pre (bool, optional): Whether or not this validator should be called before the standard validators (else after). Defaults to False. each_item (bool, optional): For complex objects (sets, lists etc.) whether to validate individual elements rather than the whole object. Defaults to False. always (bool, optional): Whether this method and other validators should be called even if the value is missing. Defaults to False. check_fields (bool | None, optional): Whether to check that the fields actually exist on the model. Defaults to None. allow_reuse (bool, optional): Whether to track and raise an error if another validator refers to the decorated function. Defaults to False. Returns: Callable: A decorator that can be used to decorate a function to be used as a validator. """ if allow_reuse is True: # pragma: no cover warn(_ALLOW_REUSE_WARNING_MESSAGE, DeprecationWarning) fields = tuple((__field, *fields)) if isinstance(fields[0], FunctionType): > raise PydanticUserError( '`@validator` should be used with fields and keyword arguments, not bare. ' "E.g. usage should be `@validator('', ...)`", code='validator-no-fields', E pydantic.errors.PydanticUserError: `@validator` should be used with fields and keyword arguments, not bare. E.g. usage should be `@validator('', ...)` E E For further information visit https://errors.pydantic.dev/2.5/u/validator-no-fields pydantic/deprecated/class_validators.py:116: PydanticUserError During handling of the above exception, another exception occurred: def test_use_bare(): with pytest.raises(TypeError, match='`@validator` should be used with fields'): > class Model(BaseModel): tests/test_validators.py:530: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ class Model(BaseModel): a: str > with pytest.warns(PydanticDeprecatedSince20, match=V1_VALIDATOR_DEPRECATION_MATCH): E Failed: DID NOT WARN. No warnings of type (,) were emitted. E Emitted warnings: []. tests/test_validators.py:533: Failed ______________________________ test_use_no_fields ______________________________ class Model(BaseModel): a: str with pytest.warns(PydanticDeprecatedSince20, match=V1_VALIDATOR_DEPRECATION_MATCH): > @validator() E TypeError: validator() missing 1 required positional argument: '__field' tests/test_validators.py:559: TypeError During handling of the above exception, another exception occurred: def test_use_no_fields(): with pytest.raises(TypeError, match=re.escape("validator() missing 1 required positional argument: '__field'")): > class Model(BaseModel): tests/test_validators.py:554: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ class Model(BaseModel): a: str > with pytest.warns(PydanticDeprecatedSince20, match=V1_VALIDATOR_DEPRECATION_MATCH): E Failed: DID NOT WARN. No warnings of type (,) were emitted. E Emitted warnings: []. tests/test_validators.py:557: Failed _________________ test_validator_bad_fields_throws_configerror _________________ class Model(BaseModel): a: str b: str with pytest.warns(PydanticDeprecatedSince20, match=V1_VALIDATOR_DEPRECATION_MATCH): > @validator(['a', 'b']) tests/test_validators.py:590: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ __field = ['a', 'b'], pre = False, each_item = False, always = False check_fields = None def validator( __field: str, *fields: str, pre: bool = False, each_item: bool = False, always: bool = False, check_fields: bool | None = None, allow_reuse: bool = False, ) -> Callable[[_V1ValidatorType], _V1ValidatorType]: """Decorate methods on the class indicating that they should be used to validate fields. Args: __field (str): The first field the validator should be called on; this is separate from `fields` to ensure an error is raised if you don't pass at least one. *fields (str): Additional field(s) the validator should be called on. pre (bool, optional): Whether or not this validator should be called before the standard validators (else after). Defaults to False. each_item (bool, optional): For complex objects (sets, lists etc.) whether to validate individual elements rather than the whole object. Defaults to False. always (bool, optional): Whether this method and other validators should be called even if the value is missing. Defaults to False. check_fields (bool | None, optional): Whether to check that the fields actually exist on the model. Defaults to None. allow_reuse (bool, optional): Whether to track and raise an error if another validator refers to the decorated function. Defaults to False. Returns: Callable: A decorator that can be used to decorate a function to be used as a validator. """ if allow_reuse is True: # pragma: no cover warn(_ALLOW_REUSE_WARNING_MESSAGE, DeprecationWarning) fields = tuple((__field, *fields)) if isinstance(fields[0], FunctionType): raise PydanticUserError( '`@validator` should be used with fields and keyword arguments, not bare. ' "E.g. usage should be `@validator('', ...)`", code='validator-no-fields', ) elif not all(isinstance(field, str) for field in fields): > raise PydanticUserError( '`@validator` fields should be passed as separate string args. ' "E.g. usage should be `@validator('', '', ...)`", code='validator-invalid-fields', ) E pydantic.errors.PydanticUserError: `@validator` fields should be passed as separate string args. E.g. usage should be `@validator('', '', ...)` E E For further information visit https://errors.pydantic.dev/2.5/u/validator-invalid-fields pydantic/deprecated/class_validators.py:122: PydanticUserError During handling of the above exception, another exception occurred: def test_validator_bad_fields_throws_configerror(): """ Attempts to create a validator with fields set as a list of strings, rather than just multiple string args. Expects ConfigError to be raised. """ with pytest.raises(TypeError, match='`@validator` fields should be passed as separate string args.'): > class Model(BaseModel): tests/test_validators.py:584: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ class Model(BaseModel): a: str b: str > with pytest.warns(PydanticDeprecatedSince20, match=V1_VALIDATOR_DEPRECATION_MATCH): E Failed: DID NOT WARN. No warnings of type (,) were emitted. E Emitted warnings: []. tests/test_validators.py:588: Failed _____________________ test_assert_raises_validation_error ______________________ def test_assert_raises_validation_error(): class Model(BaseModel): a: str @field_validator('a') @classmethod def check_a(cls, v: Any): assert v == 'a', 'invalid a' return v Model(a='a') with pytest.raises(ValidationError) as exc_info: Model(a='snap') injected_by_pytest = "assert 'snap' == 'a'\n - a\n + snap" > assert exc_info.value.errors(include_url=False) == [ { 'ctx': {'error': HasRepr(repr(AssertionError("invalid a\nassert 'snap' == 'a'\n - a\n + snap")))}, 'input': 'snap', 'loc': ('a',), 'msg': f'Assertion failed, invalid a\n{injected_by_pytest}', 'type': 'assertion_error', } ] E assert [{'ctx': {'er...+ snap', ...}] == [{'ctx': {'er...+ snap', ...}] E E At index 0 diff: {'type': 'assertion_error', 'loc': ('a',), 'msg': "Assertion failed, invalid a\nassert 'snap' == 'a'\n \n - a\n + snap", 'input': 'snap', 'ctx': {'error': AssertionError("invalid a\nassert 'snap' == 'a'\n \n - a\n + snap")}} != {'ctx': {'error': HasRepr('AssertionError("invalid a\\nassert \'snap\' == \'a\'\\n - a\\n + snap")')}, 'input': 'snap', 'loc': ('a',), 'msg': "Assertion failed, invalid a\nassert 'snap' == 'a'\n - a\n + snap", 'type': 'assertion_error'} E Use -v to get more diff tests/test_validators.py:1309: AssertionError __________________ test_root_validator_allow_reuse_same_field __________________ def test_root_validator_allow_reuse_same_field(): > with pytest.warns(UserWarning, match='`root_val` overrides an existing Pydantic `@root_validator` decorator'): E pydantic.warnings.PydanticDeprecatedSince20: Pydantic V1 style `@root_validator` validators are deprecated. You should migrate to Pydantic V2 style `@model_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.5/migration/ tests/test_validators.py:2514: PydanticDeprecatedSince20 Summary of Failures ┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓ ┃ ┃ ┃ Function ┃ ┃ ┃ ┃ File ┃ Function ┃ Line ┃ Error Line ┃ Error ┃ ┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩ │ tests/test… │ TestsBaseC… │ 347 │ 348 │ PydanticDe… │ │ tests/test… │ TestsBaseC… │ 355 │ 362 │ PydanticDe… │ │ tests/test… │ test_simpl… │ 107 │ 109 │ PydanticDe… │ │ tests/test… │ test_deep_… │ 130 │ 133 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 145 │ 147 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 161 │ 163 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 172 │ 174 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 180 │ 194 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 203 │ 217 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 226 │ 240 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 244 │ 246 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 257 │ 262 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 272 │ 277 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 282 │ 284 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 356 │ 358 │ PydanticDe… │ │ tests/test… │ test_immut… │ 366 │ 373 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 396 │ 407 │ PydanticDe… │ │ tests/test… │ test_shall… │ 422 │ 429 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 450 │ 457 │ PydanticDe… │ │ tests/test… │ test_from_… │ 51 │ 91 │ PydanticDe… │ │ tests/test… │ test_from_… │ 129 │ 156 │ PydanticDe… │ │ tests/test… │ test_not_f… │ 165 │ 171 │ PydanticDe… │ │ tests/test… │ test_objec… │ 174 │ 193 │ PydanticDe… │ │ tests/test… │ test_prope… │ 201 │ 214 │ PydanticDe… │ │ tests/test… │ test_extra… │ 219 │ 229 │ PydanticDe… │ │ tests/test… │ test_extra… │ 219 │ 229 │ PydanticDe… │ │ tests/test… │ test_extra… │ 219 │ 229 │ PydanticDe… │ │ tests/test… │ test_root_… │ 234 │ 254 │ PydanticDe… │ │ tests/test… │ test_neste… │ 260 │ 271 │ PydanticDe… │ │ tests/test… │ test_parse… │ 277 │ 282 │ PydanticDe… │ │ tests/test… │ test_parse… │ 287 │ 293 │ PydanticDe… │ │ tests/test… │ test_field… │ 434 │ 436 │ PydanticDe… │ │ tests/test… │ test_parse… │ 644 │ 647 │ PydanticDe… │ │ tests/test… │ test_copy_… │ 689 │ 691 │ PydanticDe… │ │ tests/test… │ test_get_v… │ 699 │ 701 │ PydanticDe… │ │ tests/test… │ test_depre… │ 715 │ 726 │ PydanticDe… │ │ tests/test… │ test_calla… │ 1325 │ 1339 │ PydanticJs… │ │ │ generate a │ │ │ │ │ │ JsonSchema │ │ │ │ │ │ for │ │ │ │ │ │ core_schem… │ │ │ │ │ │ \\[skipped… │ │ │ │ │ tests/test… │ test_calla… │ 1325 │ 1339 │ PydanticJs… │ │ │ value .* is │ │ │ │ │ │ not JSON │ │ │ │ │ │ serializab… │ │ │ │ │ │ excluding │ │ │ │ │ │ default │ │ │ │ │ │ from JSON │ │ │ │ │ │ schema │ │ │ │ │ │ \\[non-ser… │ │ │ │ │ tests/test… │ test_use_b… │ 527 │ 530 │ Failed │ │ tests/test… │ test_use_n… │ 551 │ 554 │ Failed │ │ tests/test… │ test_valid… │ 577 │ 584 │ Failed │ │ tests/test… │ test_asser… │ 1294 │ 1309 │ AssertionE… │ │ tests/test… │ test_root_… │ 2513 │ 2514 │ PydanticDe… │ └───────────────┴───────────────┴───────────────┴──────────────┴───────────────┘ Results (12.79s): 43 failed 4119 passed 101 skipped 9 xfailed INFO : Command's result: FAILURE INFO : Command's error: Command '['python3', '-m', 'pytest', '--ignore=tests/test_docs.py', '--benchmark-skip']' returned non-zero exit status 1. error: Bad exit status from /usr/src/tmp/rpm-tmp.4255 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.4255 (%check) Command exited with non-zero status 1 16.46user 1.58system 0:18.03elapsed 100%CPU (0avgtext+0avgdata 157280maxresident)k 0inputs+0outputs (0major+292586minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-pydantic-2.5.3-alt1.src.rpm' failed. Command exited with non-zero status 1 4.63user 2.41system 0:35.55elapsed 19%CPU (0avgtext+0avgdata 128776maxresident)k 33488inputs+0outputs (0major+326255minor)pagefaults 0swaps