<86>Dec 19 04:00:34 userdel[2829677]: delete user 'rooter' <86>Dec 19 04:00:34 groupadd[2829707]: group added to /etc/group: name=rooter, GID=1292 <86>Dec 19 04:00:34 groupadd[2829707]: group added to /etc/gshadow: name=rooter <86>Dec 19 04:00:34 groupadd[2829707]: new group: name=rooter, GID=1292 <86>Dec 19 04:00:34 useradd[2829722]: new user: name=rooter, UID=1292, GID=1292, home=/root, shell=/bin/bash, from=none <86>Dec 19 04:00:34 userdel[2829741]: delete user 'builder' <86>Dec 19 04:00:34 userdel[2829741]: removed group 'builder' owned by 'builder' <86>Dec 19 04:00:34 groupadd[2829793]: group added to /etc/group: name=builder, GID=1293 <86>Dec 19 04:00:34 groupadd[2829793]: new group: name=builder, GID=1293 <86>Dec 19 04:00:34 useradd[2829813]: new user: name=builder, UID=1293, GID=1293, home=/usr/src, shell=/bin/bash, from=none <13>Dec 19 04:00:39 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Dec 19 04:00:39 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Dec 19 04:00:39 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>Dec 19 04:00:39 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Dec 19 04:00:39 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 19 04:00:39 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Dec 19 04:00:39 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 19 04:00:39 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 19 04:00:40 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 19 04:00:40 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 19 04:00:40 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 19 04:00:40 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 19 04:00:40 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 19 04:00:40 rpmi: python3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Dec 19 04:00:41 rpmi: python3-base-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Dec 19 04:00:41 rpmi: python3-module-py3dephell-0.3.1-alt1 sisyphus+365261.200.1.1 1734463433 installed <13>Dec 19 04:00:41 rpmi: tests-for-installed-python3-pkgs-0.1.26-alt2 sisyphus+365350.100.1.1 1734517486 installed <13>Dec 19 04:00:41 rpmi: rpm-build-python3-0.1.26-alt2 sisyphus+365350.100.1.1 1734517486 installed <13>Dec 19 04:00:45 rpmi: python3-module-attrs-24.2.0-alt2 sisyphus+355603.200.1.1 1724160494 installed <13>Dec 19 04:00:45 rpmi: python3-module-typing_extensions-4.12.2-alt1 sisyphus+351501.100.1.2 1719296652 installed <13>Dec 19 04:00:45 rpmi: python3-module-idna-3.10-alt1 sisyphus+358681.100.1.1 1727701241 installed <13>Dec 19 04:00:45 rpmi: python3-module-packaging-24.2-alt1 sisyphus+362183.100.1.1 1731315992 installed <13>Dec 19 04:00:45 rpmi: python3-module-zope.interface-7.2-alt1 sisyphus+363572.100.1.1 1732797441 installed <13>Dec 19 04:00:45 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>Dec 19 04:00:45 rpmi: python3-module-more-itertools-10.5.0-alt1 sisyphus+357221.100.1.1 1725964420 installed <13>Dec 19 04:00:45 rpmi: libtcl-8.6.13-alt1 sisyphus+310696.100.1.1 1669548266 installed <13>Dec 19 04:00:45 rpmi: python3-module-jaraco.functools-4.1.0-alt1 sisyphus+358564.100.1.1 1727528718 installed <13>Dec 19 04:00:45 rpmi: python3-module-pathspec-0.12.1-alt1 sisyphus+341971.100.1.1 1709553025 installed <13>Dec 19 04:00:45 rpmi: python3-module-mypy_extensions-1.0.0-alt1 sisyphus+316350.100.2.1 1678357948 installed <13>Dec 19 04:00:45 rpmi: python3-module-multidict-6.1.0-alt1 sisyphus+358658.100.1.1 1727692657 installed <13>Dec 19 04:00:45 rpmi: python3-module-click-8.1.7-alt1 sisyphus+327424.100.2.1 1695395098 installed <13>Dec 19 04:00:45 rpmi: python3-module-platformdirs-4.3.6-alt1 sisyphus+357787.200.1.1 1726664692 installed <13>Dec 19 04:00:45 rpmi: python3-module-sortedcontainers-2.4.0-alt1 sisyphus+272042.100.1.1 1621262424 installed <13>Dec 19 04:00:45 rpmi: python3-module-frozenlist-1.5.0-alt1 sisyphus+362047.100.1.1 1731079173 installed <13>Dec 19 04:00:45 rpmi: libopenblas-0.3.28-alt1 sisyphus+356644.100.1.1 1725289674 installed <13>Dec 19 04:00:45 rpmi: libcares-1.34.3-alt1 sisyphus+364759.100.1.2 1733934963 installed <13>Dec 19 04:00:45 rpmi: python3-module-incremental-22.10.0-alt1 sisyphus+312706.100.1.1 1672404273 installed <13>Dec 19 04:00:45 rpmi: python3-module-mypy-1.13.0-alt2 sisyphus+360737.300.1.1 1730313675 installed <13>Dec 19 04:00:45 rpmi: tcl-8.6.13-alt1 sisyphus+310696.100.1.1 1669548266 installed <13>Dec 19 04:00:45 rpmi: python3-module-hyperlink-21.0.0-alt1.1 sisyphus+304836.100.1.1 1659710964 installed <13>Dec 19 04:00:46 rpmi: python3-module-pydantic-core-2.27.1-alt1 sisyphus+361954.200.1.1 1734187874 installed <13>Dec 19 04:00:46 rpmi: python3-module-outcome-1.3.0-alt1 sisyphus+332382.100.1.1 1697882349 installed <13>Dec 19 04:00:46 rpmi: python3-module-pyasn1-0.6.0-alt1 sisyphus+343691.100.1.1 1711530038 installed <13>Dec 19 04:00:46 rpmi: python3-module-pytz-1:2024.1-alt1 sisyphus+353671.100.1.2 1722000143 installed <13>Dec 19 04:00:46 rpmi: python3-module-lark-1.2.2-alt1 sisyphus+358322.100.1.1 1727258177 installed <13>Dec 19 04:00:46 rpmi: python3-module-trove-classifiers-2024.10.21.16-alt1 sisyphus+360447.100.1.1 1729610285 installed <13>Dec 19 04:00:46 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Dec 19 04:00:46 rpmi: python3-module-pytest-8.3.4-alt1 sisyphus+363889.100.1.1 1733152874 installed <13>Dec 19 04:00:46 rpmi: python3-module-sqlparse-0.5.2-alt1 sisyphus+362576.100.1.1 1731657315 installed <13>Dec 19 04:00:46 rpmi: python3-module-markupsafe-1:3.0.2-alt1 sisyphus+360209.100.1.1 1729323052 installed <13>Dec 19 04:00:46 rpmi: python3-module-jinja2-3.1.4-alt1 sisyphus+348267.100.1.1 1715939549 installed <13>Dec 19 04:00:46 rpmi: python3-module-six-1.17.0-alt1 sisyphus+364177.100.1.1 1733425205 installed <13>Dec 19 04:00:46 rpmi: python3-module-dateutil-2.8.3-alt0.git0586f4a sisyphus+338928.600.2.1 1706746480 installed <13>Dec 19 04:00:46 rpmi: python3-module-bson-4.10.1-alt1 sisyphus+358819.100.1.1 1727869387 installed <13>Dec 19 04:00:46 rpmi: python3-module-asgiref-3.7.2-alt1 sisyphus+328419.100.1.1 1693492242 installed <13>Dec 19 04:00:46 rpmi: python3-module-annotated-types-0.7.0-alt1 sisyphus+349932.100.1.1 1717043663 installed <13>Dec 19 04:00:46 rpmi: python3-module-urllib3-2:2.2.3-alt1 sisyphus+357427.100.2.1 1726567364 installed <13>Dec 19 04:00:46 rpmi: python3-module-charset-normalizer-3.2.0-alt1 sisyphus+347396.200.2.1 1714733155 installed <13>Dec 19 04:00:46 rpmi: python3-module-requests-2.32.3-alt1 sisyphus+349946.100.1.1 1717059877 installed <13>Dec 19 04:00:46 rpmi: python3-module-propcache-0.2.0-alt1 sisyphus+362002.100.1.1 1731060165 installed <13>Dec 19 04:00:46 rpmi: python3-module-yarl-1.17.1-alt1 sisyphus+362027.100.1.1 1731075379 installed <13>Dec 19 04:00:46 rpmi: python3-module-priority-2.0.0-alt3 sisyphus+338701.100.1.2 1705988383 installed <13>Dec 19 04:00:46 rpmi: python3-module-hpack-4.0.0-alt1 sisyphus+270376.200.1.1 1618956626 installed <13>Dec 19 04:00:46 rpmi: python3-module-hyperframe-6.0.1-alt1 sisyphus+270376.300.2.1 1618957001 installed <13>Dec 19 04:00:46 rpmi: python3-module-h2-4.1.0-alt1 sisyphus+325714.100.2.2 1690478873 installed <13>Dec 19 04:00:46 rpmi: python3-module-constantly-15.1.0-alt7 sisyphus+338906.100.1.1 1706107088 installed <13>Dec 19 04:00:46 rpmi: python3-module-appdirs-1.4.4-alt2 sisyphus+359005.100.1.1 1728036426 installed <13>Dec 19 04:00:46 rpmi: python3-module-certifi-2024.8.30-alt1 sisyphus+356919.100.1.1 1725546651 installed <13>Dec 19 04:00:46 rpmi: python3-module-wheel-0.45.1-alt1 sisyphus+363326.100.2.1 1732609968 installed <13>Dec 19 04:00:46 rpmi: python3-module-jaraco.context-6.0.1-alt1 sisyphus+357809.300.1.1 1726769204 installed <13>Dec 19 04:00:46 rpmi: python3-module-autocommand-2.2.2-alt1.1 sisyphus+339714.100.1.1 1706968174 installed <13>Dec 19 04:00:46 rpmi: python3-module-jaraco.text-4.0.0-alt1 sisyphus+353877.400.2.1 1722250727 installed <13>Dec 19 04:00:46 rpmi: python3-module-jaraco.collections-5.1.0-alt1 sisyphus+357809.200.1.1 1726769173 installed <13>Dec 19 04:00:46 rpmi: python3-module-pkg_resources-1:75.6.0-alt1 sisyphus+363072.100.1.1 1732185054 installed <13>Dec 19 04:00:46 rpmi: python3-module-openid-3.2.0-alt1 sisyphus+278049.100.2.1 1625998936 installed <13>Dec 19 04:00:46 rpmi: python3-module-z3c-3.0.0-alt4 sisyphus+284857.200.1.1 1631109149 installed <13>Dec 19 04:00:46 rpmi: python3-module-zc-1.0.0-alt7 sisyphus+284857.100.1.1 1631109117 installed <13>Dec 19 04:00:46 rpmi: python3-module-zope-3.3.0-alt9 sisyphus+281937.200.4.1 1628175900 installed <13>Dec 19 04:00:46 rpmi: python3-module-zope.event-5.0-alt1.1 sisyphus+325755.140.2.1 1690991538 installed <13>Dec 19 04:00:46 rpmi: python3-module-psutil-5.9.8-alt1 sisyphus+341001.100.1.1 1708284056 installed <13>Dec 19 04:00:46 rpmi: python3-module-objgraph-3.6.2-alt1 sisyphus+359468.100.1.1 1728573508 installed <13>Dec 19 04:00:46 rpmi: python3-module-greenlet-3.1.1-alt1 sisyphus+358881.100.1.1 1727933137 installed <13>Dec 19 04:00:46 rpmi: python3-module-sniffio-1.3.1-alt1 sisyphus+341424.100.1.1 1708941879 installed <13>Dec 19 04:00:46 rpmi: python3-module-astor-0.8.1-alt1.1 sisyphus+315877.100.1.1 1677481862 installed <13>Dec 19 04:00:46 rpmi: python3-module-pycparser-2.21-alt1.1 sisyphus+309935.7300.4.1 1668527005 installed <13>Dec 19 04:00:46 rpmi: python3-module-cffi-1.17.1-alt1 sisyphus+357396.100.1.1 1726156476 installed <13>Dec 19 04:00:46 rpmi: python3-module-cryptography-43.0.0-alt1 sisyphus+353417.100.1.1 1721731007 installed <13>Dec 19 04:00:46 rpmi: python3-module-openssl-24.2.1-alt1 sisyphus+353417.200.1.1 1721731036 installed <13>Dec 19 04:00:47 rpmi: python3-module-redis-py-4.5.5-alt1.1 sisyphus+332415.100.1.1 1697904078 installed <13>Dec 19 04:00:47 rpmi: python3-module-service_identity-24.2.0-alt1 sisyphus+362235.100.1.1 1731336596 installed <13>Dec 19 04:00:47 rpmi: python3-module-trio-0.27.0-alt1 sisyphus+360354.100.1.1 1729536849 installed <13>Dec 19 04:00:47 rpmi: python3-module-dns-1:2.6.1-alt1 sisyphus+341811.20.3.1 1709382170 installed <13>Dec 19 04:00:47 rpmi: python3-module-pycares-4.4.0-alt1 sisyphus+347421.100.1.1 1714743573 installed <13>Dec 19 04:00:47 rpmi: python3-module-aiohappyeyeballs-2.4.3-alt1 sisyphus+362038.100.1.1 1731077332 installed <13>Dec 19 04:00:47 rpmi: python3-module-Cheetah-3.4.0-alt1 sisyphus+364093.100.1.1 1733348862 installed <13>Dec 19 04:00:47 rpmi: python3-module-paste-3.10.1-alt1 sisyphus+364772.70.5.1 1733996555 installed <13>Dec 19 04:00:47 rpmi: python3-module-PasteDeploy-1:3.1-alt1 sisyphus+343658.100.1.1 1711471990 installed <13>Dec 19 04:00:47 rpmi: python3-module-PasteScript-1:3.6.0-alt1 sisyphus+364772.100.5.1 1733996584 installed <13>Dec 19 04:00:47 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094928 installed <13>Dec 19 04:00:47 rpmi: python3-module-yaml-6.0.2-alt1 sisyphus+356896.100.1.1 1725541112 installed <13>Dec 19 04:00:47 rpmi: python3-module-libcst-1.5.1-alt1 sisyphus+362905.100.1.1 1732009985 installed <13>Dec 19 04:00:47 rpmi: libuv-1.49.1-alt1 sisyphus+364651.40.2.1 1733856345 installed <13>Dec 19 04:00:47 rpmi: libsqlite3-3.47.1-alt1 sisyphus+365248.200.3.1 1734527620 installed <13>Dec 19 04:00:47 rpmi: python3-modules-sqlite3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Dec 19 04:00:47 rpmi: libpython3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Dec 19 04:00:47 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Dec 19 04:00:47 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Dec 19 04:00:48 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed <13>Dec 19 04:00:49 rpmi: python3-dev-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Dec 19 04:00:49 rpmi: libmaxminddb-1.11.0-alt1 sisyphus+355820.100.1.1 1724384612 installed <13>Dec 19 04:00:49 rpmi: python3-module-MaxMindDB-2.6.2-alt1 sisyphus+351880.100.1.1 1719817162 installed <13>Dec 19 04:00:49 rpmi: openldap-common-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 19 04:00:49 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Dec 19 04:00:49 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819640 installed <13>Dec 19 04:00:49 rpmi: libxblas-1.0.248-alt2 sisyphus+285045.40.2.1 1631388330 installed <13>Dec 19 04:00:49 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Dec 19 04:00:49 rpmi: libusb-1.0.27-alt1 sisyphus+347412.100.1.1 1714739651 installed <13>Dec 19 04:00:49 rpmi: libhidapi-0.12.0-alt1_1 sisyphus+303213.100.1.1 1657034192 installed <13>Dec 19 04:00:49 rpmi: python3-module-cython-hidapi-0.14.0-alt1.1 sisyphus+333513.54340.73.1 1704651867 installed <13>Dec 19 04:00:49 rpmi: python3-module-serial-3.5-alt3 sisyphus+360600.100.2.1 1729786231 installed <13>Dec 19 04:00:49 rpmi: libquadmath0-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 19 04:00:49 rpmi: libgfortran5-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 19 04:00:49 rpmi: liblapack-1:3.8.0-alt7 sisyphus+340675.300.1.1 1707908338 installed <13>Dec 19 04:00:49 rpmi: python3-module-numpy-1:1.26.5-alt1 sisyphus+352832.100.1.1 1720965091 installed <13>Dec 19 04:00:49 rpmi: libev4-4.33-alt3 sisyphus+334335.340.4.1 1699912675 installed <13>Dec 19 04:00:50 rpmi: python3-module-gevent-24.10.3-alt1 sisyphus+361451.100.1.1 1730467200 installed <13>Dec 19 04:00:50 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <86>Dec 19 04:00:50 groupadd[2858855]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 19 04:00:50 groupadd[2858855]: group added to /etc/gshadow: name=_keytab <86>Dec 19 04:00:50 groupadd[2858855]: new group: name=_keytab, GID=999 <13>Dec 19 04:00:50 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735141 installed <86>Dec 19 04:00:50 groupadd[2858862]: group added to /etc/group: name=sasl, GID=998 <86>Dec 19 04:00:50 groupadd[2858862]: group added to /etc/gshadow: name=sasl <86>Dec 19 04:00:50 groupadd[2858862]: new group: name=sasl, GID=998 <13>Dec 19 04:00:50 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>Dec 19 04:00:50 rpmi: libldap2-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 19 04:00:50 rpmi: libpq5-17.2-alt1 sisyphus+362974.100.1.1 1732098488 installed <13>Dec 19 04:00:50 rpmi: python3-module-psycopg2-2.9.10-alt1 sisyphus+361099.100.1.1 1730221764 installed <13>Dec 19 04:00:50 rpmi: python3-module-eventlet-0.38.2-alt1 sisyphus+365048.100.1.1 1734193970 installed <13>Dec 19 04:00:50 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Dec 19 04:00:50 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 19 04:00:50 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 19 04:00:50 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Dec 19 04:00:50 rpmi: libharfbuzz-10.1.0-alt1 sisyphus+361773.100.1.1 1730824042 installed <13>Dec 19 04:00:50 rpmi: libfreetype-2.13.3-alt1 sisyphus+355656.100.1.1 1724221064 installed <13>Dec 19 04:00:50 rpmi: libfontconfig1-2.15.0-alt1 sisyphus+355771.100.2.3 1724337298 installed <13>Dec 19 04:00:50 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441061 installed <13>Dec 19 04:00:50 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Dec 19 04:00:50 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Dec 19 04:00:50 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 19 04:00:50 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 19 04:00:50 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>Dec 19 04:00:50 rpmi: libXft-2.3.8-alt1 sisyphus+331490.400.1.1 1697023269 installed <13>Dec 19 04:00:50 rpmi: libtk-8.6.13-alt1 sisyphus+310696.200.1.1 1669548530 installed <13>Dec 19 04:00:50 rpmi: tk-8.6.13-alt1 sisyphus+310696.200.1.1 1669548530 installed <13>Dec 19 04:00:50 rpmi: tcl-tix-8.4.3-alt4 sisyphus+277292.300.2.1 1625442550 installed <13>Dec 19 04:00:50 rpmi: python3-modules-tkinter-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Dec 19 04:00:50 rpmi: python3-module-automat-24.8.1-alt1 sisyphus+355768.100.2.1 1724411664 installed <13>Dec 19 04:00:50 rpmi: python3-module-twisted-logger-24.7.0-alt1 sisyphus+360814.100.1.1 1729934750 installed <13>Dec 19 04:00:50 rpmi: python3-module-twisted-web-24.7.0-alt1 sisyphus+360814.100.1.1 1729934750 installed <13>Dec 19 04:00:50 rpmi: python3-module-twisted-words-24.7.0-alt1 sisyphus+360814.100.1.1 1729934750 installed <13>Dec 19 04:00:51 rpmi: python3-module-twisted-core-24.7.0-alt1 sisyphus+360814.100.1.1 1729934750 installed <13>Dec 19 04:00:51 rpmi: python3-module-twisted-names-24.7.0-alt1 sisyphus+360814.100.1.1 1729934750 installed <13>Dec 19 04:00:51 rpmi: python3-module-tornado-6.4.2-alt1 sisyphus+363445.100.1.1 1732635491 installed <13>Dec 19 04:00:51 rpmi: python3-module-gunicorn-23.0.0-alt1 sisyphus+362920.200.1.1 1732021917 installed <13>Dec 19 04:00:51 rpmi: python3-module-aiohttp-3.10.10-alt1 sisyphus+362035.100.1.3 1731079086 installed <13>Dec 19 04:00:51 rpmi: python3-module-GeoIP2-4.8.1-alt1 sisyphus+362946.100.1.1 1732032825 installed <13>Dec 19 04:00:51 rpmi: python3-module-django-dbbackend-postgresql-5.0.9-alt1 sisyphus+361957.1100.6.1 1731593715 installed <13>Dec 19 04:00:52 rpmi: python3-module-django-5.0.9-alt1 sisyphus+361957.1100.6.1 1731593715 installed <13>Dec 19 04:00:52 rpmi: python3-module-black-24.10.0-alt1 sisyphus+359225.100.1.1 1728377528 installed <13>Dec 19 04:00:52 rpmi: python3-module-hypothesis-6.122.3-alt1 sisyphus+361954.100.1.1 1734187685 installed <13>Dec 19 04:00:52 rpmi: python3-module-setuptools-1:75.6.0-alt1 sisyphus+363072.100.1.1 1732185054 installed <13>Dec 19 04:00:52 rpmi: python3-module-aiosqlite-0.20.0-alt1 sisyphus+351226.100.1.1 1718897797 installed <13>Dec 19 04:00:52 rpmi: python3-module-sqlalchemy-2.0.36-alt1 sisyphus+362435.100.1.1 1731492345 installed <13>Dec 19 04:00:52 rpmi: python3-module-email-validator-2.2.0-alt1 sisyphus+315675.200.2.1 1719996040 installed <13>Dec 19 04:00:52 rpmi: python3-module-pymongo-4.10.1-alt1 sisyphus+358819.100.1.1 1727869387 installed <13>Dec 19 04:00:52 rpmi: python3-module-pydantic-2.10.3-alt1 sisyphus+361954.300.1.1 1734187932 installed <13>Dec 19 04:00:53 rpmi: python3-module-faker-33.1.0-alt1 sisyphus+363544.100.1.1 1732784625 installed <13>Dec 19 04:00:53 rpmi: python3-module-pytest-asyncio-0.25.0-alt1 sisyphus+364895.100.1.1 1734080132 installed <13>Dec 19 04:00:53 rpmi: python3-module-hatchling-1.27.0-alt1 sisyphus+365115.100.2.1 1734340769 installed <13>Dec 19 04:00:53 rpmi: python3-module-msgspec-0.18.6-alt1 sisyphus+352905.576.13.1 1722262067 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-polyfactory-2.16.2-alt1.nosrc.rpm (w1.gzdio) <13>Dec 19 04:00:56 rpmi: python3-module-pyproject-installer-0.5.5-alt1 sisyphus+362541.100.1.1 1731610714 installed Installing python3-module-polyfactory-2.16.2-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.54095 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf polyfactory-2.16.2 + echo 'Source #0 (polyfactory-2.16.2.tar):' Source #0 (polyfactory-2.16.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/polyfactory-2.16.2.tar + cd polyfactory-2.16.2 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.54095 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd polyfactory-2.16.2 + 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/polyfactory-2.16.2 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/polyfactory-2.16.2/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/polyfactory-2.16.2/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/polyfactory-2.16.2/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} INFO : pyproject_installer.build_cmd._build : Built wheel: polyfactory-2.16.2-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.4879 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-polyfactory-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-polyfactory-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd polyfactory-2.16.2 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/python3-module-polyfactory-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/polyfactory-2.16.2/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: polyfactory-2.16.2-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/python3-module-polyfactory-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-polyfactory-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: polyfactory-2.16.2.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: polyfactory-2.16.2.dist-info/licenses/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: polyfactory-2.16.2.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-polyfactory-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-polyfactory-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-polyfactory-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-polyfactory-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-polyfactory-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-polyfactory-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/python3-module-polyfactory-buildroot Bytecompiling python3 modules in /usr/src/tmp/python3-module-polyfactory-buildroot using /usr/bin/python3 compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/attrs_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/base.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/beanie_odm_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/dataclass_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/msgspec_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/odmantic_odm_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/pydantic_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/sqlalchemy_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/typed_dict_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/deprecation.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/helpers.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/model_coverage.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/predicates.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/types.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/complex_types.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_collections.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_dates.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_numbers.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_path.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_strings.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_url.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_uuid.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/primitives.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/regex.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/__metadata__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/collection_extender.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/constants.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/decorators.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/exceptions.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/field_meta.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/fields.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/persistence.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/pytest_plugin.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-polyfactory-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/attrs_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/base.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/beanie_odm_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/dataclass_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/msgspec_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/odmantic_odm_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/pydantic_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/sqlalchemy_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/typed_dict_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/deprecation.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/helpers.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/model_coverage.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/predicates.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/types.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/complex_types.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_collections.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_dates.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_numbers.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_path.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_strings.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_url.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_uuid.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/primitives.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/regex.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/__metadata__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/collection_extender.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/constants.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/decorators.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/exceptions.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/field_meta.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/fields.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/persistence.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/pytest_plugin.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-polyfactory-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/attrs_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/base.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/beanie_odm_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/dataclass_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/msgspec_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/odmantic_odm_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/pydantic_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/sqlalchemy_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/factories/typed_dict_factory.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/deprecation.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/helpers.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/model_coverage.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/predicates.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/utils/types.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/complex_types.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_collections.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_dates.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_numbers.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_path.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_strings.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_url.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/constrained_uuid.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/primitives.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/value_generators/regex.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/__init__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/__metadata__.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/collection_extender.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/constants.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/decorators.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/exceptions.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/field_meta.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/fields.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/persistence.py compile /usr/src/tmp/python3-module-polyfactory-buildroot/usr/lib/python3/site-packages/polyfactory/pytest_plugin.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/polyfactory/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/__metadata__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/__metadata__.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/collection_extender.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/collection_extender.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/collection_extender.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/collection_extender.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/constants.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/constants.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/constants.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/constants.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/decorators.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/decorators.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/exceptions.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/exceptions.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/field_meta.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/field_meta.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/fields.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/fields.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/persistence.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/persistence.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/__pycache__/pytest_plugin.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/__pycache__/pytest_plugin.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/attrs_factory.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/attrs_factory.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/base.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/base.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/beanie_odm_factory.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/beanie_odm_factory.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/dataclass_factory.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/dataclass_factory.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/msgspec_factory.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/msgspec_factory.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/odmantic_odm_factory.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/odmantic_odm_factory.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/pydantic_factory.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/pydantic_factory.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/sqlalchemy_factory.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/sqlalchemy_factory.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/typed_dict_factory.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/factories/__pycache__/typed_dict_factory.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/deprecation.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/deprecation.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/helpers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/helpers.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/model_coverage.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/model_coverage.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/predicates.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/predicates.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/types.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/types.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/types.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/polyfactory/utils/__pycache__/types.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/complex_types.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/complex_types.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_collections.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_collections.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_dates.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_dates.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_numbers.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_numbers.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_path.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_path.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_path.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_path.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_strings.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_strings.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_url.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_url.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_url.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_url.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_uuid.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/constrained_uuid.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/primitives.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/primitives.cpython-312.pyc' './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/regex.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/polyfactory/value_generators/__pycache__/regex.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.21767 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd polyfactory-2.16.2 + py.test-3 -v -k 'not test_handle_constrained_date[ge-le] and not test_handle_constrained_date[gt-lt] and not test_handle_constrained_date[ge-lt] and not test_handle_constrained_date[gt-le]' /usr/lib/python3/site-packages/pytest_asyncio/plugin.py:207: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset. The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session" warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET)) ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('/usr/src/RPM/BUILD/polyfactory-2.16.2/.hypothesis/examples')) rootdir: /usr/src/RPM/BUILD/polyfactory-2.16.2 configfile: pyproject.toml plugins: hypothesis-6.122.3, Faker-33.1.0, asyncio-0.25.0 asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None collecting ... collected 764 items / 4 deselected / 2 skipped / 760 selected docs/examples/configuration/test_example_1.py::test_random_seed PASSED [ 0%] docs/examples/configuration/test_example_2.py::test_setting_random PASSED [ 0%] docs/examples/configuration/test_example_3.py::test_setting_faker PASSED [ 0%] docs/examples/configuration/test_example_4.py::test_sync_persistence_build PASSED [ 0%] docs/examples/configuration/test_example_4.py::test_sync_persistence_batch PASSED [ 0%] docs/examples/configuration/test_example_4.py::test_async_persistence_build PASSED [ 0%] docs/examples/configuration/test_example_4.py::test_async_persistence_batch PASSED [ 0%] docs/examples/configuration/test_example_5.py::test_default_pet_factory PASSED [ 1%] docs/examples/configuration/test_example_6.py::test_randomized_collection_length PASSED [ 1%] docs/examples/configuration/test_example_7.py::test_optional_type_ignored PASSED [ 1%] docs/examples/configuration/test_example_8.py::test_check_factory_fields PASSED [ 1%] docs/examples/configuration/test_example_9.py::test_use_default PASSED [ 1%] docs/examples/declaring_factories/test_example_1.py::test_is_person PASSED [ 1%] docs/examples/declaring_factories/test_example_2.py::test_is_person PASSED [ 1%] docs/examples/declaring_factories/test_example_3.py::test_is_person PASSED [ 1%] docs/examples/declaring_factories/test_example_4.py::test_is_person PASSED [ 2%] docs/examples/declaring_factories/test_example_5.py::test_dynamic_factory_generation PASSED [ 2%] docs/examples/declaring_factories/test_example_6.py::test_imperative_factory_creation PASSED [ 2%] docs/examples/declaring_factories/test_example_7.py::test_person_factory PASSED [ 2%] docs/examples/declaring_factories/test_example_8.py::test_imperative_sub_factory_creation PASSED [ 2%] docs/examples/decorators/test_example_1.py::test_post_generated PASSED [ 2%] docs/examples/fields/test_example_1.py::test_is_pet_instance PASSED [ 2%] docs/examples/fields/test_example_2.py::test_pet_choices PASSED [ 3%] docs/examples/fields/test_example_3.py::test_pet_choices PASSED [ 3%] docs/examples/fields/test_example_4.py::test_pet_choices PASSED [ 3%] docs/examples/fields/test_example_5.py::test_id_is_ignored PASSED [ 3%] docs/examples/fields/test_example_6.py::test_id_is_required PASSED [ 3%] docs/examples/fields/test_example_7.py::test_post_generated PASSED [ 3%] docs/examples/fields/test_example_8.py::test_subfactory PASSED [ 3%] docs/examples/fixtures/test_example_1.py::test_person_factory PASSED [ 3%] docs/examples/fixtures/test_example_2.py::test_person_factory PASSED [ 4%] docs/examples/fixtures/test_example_3.py::test_person_factory PASSED [ 4%] docs/examples/fixtures/test_example_4.py::test_fixture_field PASSED [ 4%] docs/examples/handling_custom_types/test_example_1.py::test_custom_secret_creation PASSED [ 4%] docs/examples/handling_custom_types/test_example_2.py::test_custom_dataclass_base_factory PASSED [ 4%] docs/examples/library_factories/sqlalchemy_factory/test_example_1.py::test_sqla_factory PASSED [ 4%] docs/examples/library_factories/sqlalchemy_factory/test_example_2.py::test_sqla_factory_without_relationship PASSED [ 4%] docs/examples/library_factories/sqlalchemy_factory/test_example_2.py::test_sqla_factory PASSED [ 5%] docs/examples/library_factories/sqlalchemy_factory/test_example_3.py::test_sqla_factory_persistence PASSED [ 5%] docs/examples/library_factories/sqlalchemy_factory/test_example_4.py::test_custom_sqla_factory PASSED [ 5%] docs/examples/model_coverage/test_example_1.py::test_profile_coverage PASSED [ 5%] docs/examples/model_coverage/test_example_2.py::test_social_group_coverage PASSED [ 5%] tests/constraints/test_byte_constraints.py::test_handle_constrained_bytes_with_min_length_and_max_length PASSED [ 5%] tests/constraints/test_byte_constraints.py::test_handle_constrained_bytes_with_min_length PASSED [ 5%] tests/constraints/test_byte_constraints.py::test_handle_constrained_bytes_with_max_length PASSED [ 5%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_without_constraints PASSED [ 6%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_length_validation PASSED [ 6%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_max_digits PASSED [ 6%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_decimal_places PASSED [ 6%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_max_digits_and_decimal_places PASSED [ 6%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_ge PASSED [ 6%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_gt PASSED [ 6%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_le PASSED [ 6%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_lt PASSED [ 7%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_multiple_of PASSED [ 7%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_multiple_of_with_lt PASSED [ 7%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_multiple_of_with_le PASSED [ 7%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_multiple_of_with_ge PASSED [ 7%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_multiple_of_with_gt PASSED [ 7%] tests/constraints/test_decimal_constraints.py::test_handle_constrained_decimal_handles_multiple_of_with_ge_and_le PASSED [ 7%] tests/constraints/test_decimal_constraints.py::test_max_digits_and_decimal_places PASSED [ 8%] tests/constraints/test_decimal_constraints.py::test_handle_decimal_length PASSED [ 8%] tests/constraints/test_decimal_constraints.py::test_zero_to_one_range PASSED [ 8%] tests/constraints/test_float_constraints.py::test_handle_constrained_float_without_constraints PASSED [ 8%] tests/constraints/test_float_constraints.py::test_handle_constrained_float_handles_ge PASSED [ 8%] tests/constraints/test_float_constraints.py::test_handle_constrained_float_handles_gt PASSED [ 8%] tests/constraints/test_float_constraints.py::test_handle_constrained_float_handles_le PASSED [ 8%] tests/constraints/test_float_constraints.py::test_handle_constrained_float_handles_lt PASSED [ 8%] tests/constraints/test_float_constraints.py::test_handle_constrained_float_handles_multiple_of PASSED [ 9%] tests/constraints/test_float_constraints.py::test_handle_constrained_float_handles_multiple_of_with_lt PASSED [ 9%] tests/constraints/test_float_constraints.py::test_handle_constrained_float_handles_multiple_of_with_le PASSED [ 9%] tests/constraints/test_float_constraints.py::test_handle_constrained_float_handles_multiple_of_with_ge PASSED [ 9%] tests/constraints/test_float_constraints.py::test_handle_constrained_float_handles_multiple_of_with_gt PASSED [ 9%] tests/constraints/test_float_constraints.py::test_handle_constrained_float_handles_multiple_of_with_ge_and_le SKIPPED [ 9%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_min_items_and_max_items PASSED [ 9%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_max_items PASSED [ 10%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_min_items PASSED [ 10%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[ByteSize] PASSED [ 10%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated0] PASSED [ 10%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated1] PASSED [ 10%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated2] PASSED [ 10%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated3] PASSED [ 10%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated4] PASSED [ 10%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated5] PASSED [ 11%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated6] PASSED [ 11%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated7] PASSED [ 11%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated8] PASSED [ 11%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated9] PASSED [ 11%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated10] PASSED [ 11%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[EmailStr] PASSED [ 11%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[NameEmail] PASSED [ 11%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Json] PASSED [ 12%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[PaymentCardNumber] PASSED [ 12%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[AnyUrl] PASSED [ 12%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[AnyHttpUrl] PASSED [ 12%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[HttpUrl] PASSED [ 12%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[SecretBytes] PASSED [ 12%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[SecretStr] PASSED [ 12%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[IPvAnyAddress] PASSED [ 13%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[IPvAnyInterface] PASSED [ 13%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[IPvAnyNetwork] PASSED [ 13%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[PastDate] PASSED [ 13%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[FutureDate] PASSED [ 13%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[PyObject] PASSED [ 13%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[AmqpDsn] PASSED [ 13%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[KafkaDsn] PASSED [ 13%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[PostgresDsn] PASSED [ 14%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[RedisDsn] PASSED [ 14%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[FilePath] PASSED [ 14%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[DirectoryPath] PASSED [ 14%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[UUID1] PASSED [ 14%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[UUID3] PASSED [ 14%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[UUID4] PASSED [ 14%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[UUID5] PASSED [ 15%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Color] PASSED [ 15%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[PastDatetime] PASSED [ 15%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[FutureDatetime] PASSED [ 15%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[AwareDatetime] PASSED [ 15%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[NaiveDatetime] PASSED [ 15%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Any] PASSED [ 15%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[object] PASSED [ 15%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[float] PASSED [ 16%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[int] PASSED [ 16%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[bool] PASSED [ 16%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[str] PASSED [ 16%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[bytes] PASSED [ 16%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[dict] PASSED [ 16%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[tuple] PASSED [ 16%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[list] PASSED [ 16%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[set] PASSED [ 17%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[frozenset] PASSED [ 17%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[deque] PASSED [ 17%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Path] PASSED [ 17%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Decimal] PASSED [ 17%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[UUID] PASSED [ 17%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[datetime] PASSED [ 17%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[date] PASSED [ 18%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[time] PASSED [ 18%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[timedelta] PASSED [ 18%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[IPv4Address] PASSED [ 18%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[IPv4Interface] PASSED [ 18%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[IPv4Network] PASSED [ 18%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[IPv6Address] PASSED [ 18%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[IPv6Interface] PASSED [ 18%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[IPv6Network] PASSED [ 19%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Callable0] PASSED [ 19%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Callable1] PASSED [ 19%] tests/constraints/test_frozen_set_constraints.py::test_handle_constrained_set_with_different_types[Counter] PASSED [ 19%] tests/constraints/test_get_field_value_constraints.py::test_numbers[int] PASSED [ 19%] tests/constraints/test_get_field_value_constraints.py::test_numbers[float] PASSED [ 19%] tests/constraints/test_get_field_value_constraints.py::test_numbers[Decimal] PASSED [ 19%] tests/constraints/test_get_field_value_constraints.py::test_str_and_bytes[str] PASSED [ 20%] tests/constraints/test_get_field_value_constraints.py::test_str_and_bytes[bytes] PASSED [ 20%] tests/constraints/test_get_field_value_constraints.py::test_collections[List] PASSED [ 20%] tests/constraints/test_get_field_value_constraints.py::test_collections[Set] PASSED [ 20%] tests/constraints/test_get_field_value_constraints.py::test_collections[Tuple] PASSED [ 20%] tests/constraints/test_get_field_value_constraints.py::test_collections[FrozenSet] PASSED [ 20%] tests/constraints/test_get_field_value_constraints.py::test_date PASSED [ 20%] tests/constraints/test_get_field_value_constraints.py::test_constraints_parsing PASSED [ 20%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_without_constraints PASSED [ 21%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_handles_ge PASSED [ 21%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_handles_gt PASSED [ 21%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_handles_le PASSED [ 21%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_handles_lt PASSED [ 21%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_handles_ge_with_le PASSED [ 21%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_handles_multiple_of PASSED [ 21%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_handles_multiple_of_with_lt PASSED [ 21%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_handles_multiple_of_with_le PASSED [ 22%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_handles_multiple_of_with_ge PASSED [ 22%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_handles_multiple_of_with_gt PASSED [ 22%] tests/constraints/test_int_constraints.py::test_handle_constrained_int_handles_multiple_of_with_ge_and_le PASSED [ 22%] tests/constraints/test_int_constraints.py::test_constraint_randomness PASSED [ 22%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_min_items_and_max_items PASSED [ 22%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_max_items PASSED [ 22%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_min_items PASSED [ 23%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[ByteSize] PASSED [ 23%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Annotated0] PASSED [ 23%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Annotated1] PASSED [ 23%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Annotated2] PASSED [ 23%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Annotated3] PASSED [ 23%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Annotated4] PASSED [ 23%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Annotated5] PASSED [ 23%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Annotated6] PASSED [ 24%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Annotated7] PASSED [ 24%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Annotated8] PASSED [ 24%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Annotated9] PASSED [ 24%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Annotated10] PASSED [ 24%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[EmailStr] PASSED [ 24%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[NameEmail] PASSED [ 24%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Json] PASSED [ 25%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[PaymentCardNumber] PASSED [ 25%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[AnyUrl] PASSED [ 25%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[AnyHttpUrl] PASSED [ 25%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[HttpUrl] PASSED [ 25%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[SecretBytes] PASSED [ 25%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[SecretStr] PASSED [ 25%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[IPvAnyAddress] PASSED [ 25%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[IPvAnyInterface] PASSED [ 26%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[IPvAnyNetwork] PASSED [ 26%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[PastDate] PASSED [ 26%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[FutureDate] PASSED [ 26%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[PyObject] PASSED [ 26%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[AmqpDsn] PASSED [ 26%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[KafkaDsn] PASSED [ 26%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[PostgresDsn] PASSED [ 26%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[RedisDsn] PASSED [ 27%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[FilePath] PASSED [ 27%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[DirectoryPath] PASSED [ 27%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[UUID1] PASSED [ 27%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[UUID3] PASSED [ 27%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[UUID4] PASSED [ 27%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[UUID5] PASSED [ 27%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Color] PASSED [ 28%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[PastDatetime] PASSED [ 28%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[FutureDatetime] PASSED [ 28%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[AwareDatetime] PASSED [ 28%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[NaiveDatetime] PASSED [ 28%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Any] PASSED [ 28%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[object] PASSED [ 28%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[float] PASSED [ 28%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[int] PASSED [ 29%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[bool] PASSED [ 29%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[str] PASSED [ 29%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[bytes] PASSED [ 29%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[dict] PASSED [ 29%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[tuple] PASSED [ 29%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[list] PASSED [ 29%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[set] PASSED [ 30%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[frozenset] PASSED [ 30%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[deque] PASSED [ 30%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Path] PASSED [ 30%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Decimal] PASSED [ 30%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[UUID] PASSED [ 30%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[datetime] PASSED [ 30%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[date] PASSED [ 30%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[time] PASSED [ 31%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[timedelta] PASSED [ 31%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[IPv4Address] PASSED [ 31%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[IPv4Interface] PASSED [ 31%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[IPv4Network] PASSED [ 31%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[IPv6Address] PASSED [ 31%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[IPv6Interface] PASSED [ 31%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[IPv6Network] PASSED [ 31%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Callable0] PASSED [ 32%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Callable1] PASSED [ 32%] tests/constraints/test_list_constraints.py::test_handle_constrained_list_with_different_types[Counter] PASSED [ 32%] tests/constraints/test_list_constraints.py::test_handle_unique_items PASSED [ 32%] tests/constraints/test_mapping_constraints.py::test_handle_constrained_mapping_with_min_items_and_max_items PASSED [ 32%] tests/constraints/test_mapping_constraints.py::test_handle_constrained_mapping_with_constrained_key_and_value PASSED [ 32%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_min_items_and_max_items PASSED [ 32%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_max_items PASSED [ 33%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_min_items PASSED [ 33%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[ByteSize] PASSED [ 33%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated0] PASSED [ 33%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated1] PASSED [ 33%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated2] PASSED [ 33%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated3] PASSED [ 33%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated4] PASSED [ 33%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated5] PASSED [ 34%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated6] PASSED [ 34%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated7] PASSED [ 34%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated8] PASSED [ 34%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated9] PASSED [ 34%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Annotated10] PASSED [ 34%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[EmailStr] PASSED [ 34%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[NameEmail] PASSED [ 35%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Json] PASSED [ 35%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[PaymentCardNumber] PASSED [ 35%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[AnyUrl] PASSED [ 35%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[AnyHttpUrl] PASSED [ 35%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[HttpUrl] PASSED [ 35%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[SecretBytes] PASSED [ 35%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[SecretStr] PASSED [ 35%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[IPvAnyAddress] PASSED [ 36%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[IPvAnyInterface] PASSED [ 36%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[IPvAnyNetwork] PASSED [ 36%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[PastDate] PASSED [ 36%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[FutureDate] PASSED [ 36%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[PyObject] PASSED [ 36%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[AmqpDsn] PASSED [ 36%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[KafkaDsn] PASSED [ 36%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[PostgresDsn] PASSED [ 37%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[RedisDsn] PASSED [ 37%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[FilePath] PASSED [ 37%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[DirectoryPath] PASSED [ 37%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[UUID1] PASSED [ 37%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[UUID3] PASSED [ 37%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[UUID4] PASSED [ 37%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[UUID5] PASSED [ 38%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Color] PASSED [ 38%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[PastDatetime] PASSED [ 38%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[FutureDatetime] PASSED [ 38%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[AwareDatetime] PASSED [ 38%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[NaiveDatetime] PASSED [ 38%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Any] PASSED [ 38%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[object] PASSED [ 38%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[float] PASSED [ 39%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[int] PASSED [ 39%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[bool] PASSED [ 39%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[str] PASSED [ 39%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[bytes] PASSED [ 39%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[dict] PASSED [ 39%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[tuple] PASSED [ 39%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[list] PASSED [ 40%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[set] PASSED [ 40%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[frozenset] PASSED [ 40%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[deque] PASSED [ 40%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Path] PASSED [ 40%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Decimal] PASSED [ 40%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[UUID] PASSED [ 40%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[datetime] PASSED [ 40%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[date] PASSED [ 41%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[time] PASSED [ 41%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[timedelta] PASSED [ 41%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[IPv4Address] PASSED [ 41%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[IPv4Interface] PASSED [ 41%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[IPv4Network] PASSED [ 41%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[IPv6Address] PASSED [ 41%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[IPv6Interface] PASSED [ 41%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[IPv6Network] PASSED [ 42%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Callable0] PASSED [ 42%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Callable1] PASSED [ 42%] tests/constraints/test_set_constraints.py::test_handle_constrained_set_with_different_types[Counter] PASSED [ 42%] tests/constraints/test_string_constraints.py::test_handle_constrained_string_with_min_length_and_max_length_and_regex PASSED [ 42%] tests/constraints/test_string_constraints.py::test_handle_constrained_string_with_min_length_and_max_length PASSED [ 42%] tests/constraints/test_string_constraints.py::test_handle_constrained_string_with_min_length PASSED [ 42%] tests/constraints/test_string_constraints.py::test_handle_constrained_string_with_max_length PASSED [ 43%] tests/constraints/test_string_constraints.py::test_pattern PASSED [ 43%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_invalid_model[Base] PASSED [ 43%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_invalid_model[NonSQLAchemyClass] PASSED [ 43%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_python_type_handling PASSED [ 43%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_properties PASSED [ 43%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[TupleType] PASSED [ 43%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[JSON0] PASSED [ 43%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[YEAR] PASSED [ 44%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[JSON1] PASSED [ 44%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[CIDR] PASSED [ 44%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[DATERANGE] PASSED [ 44%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[INET] PASSED [ 44%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[INT4RANGE] PASSED [ 44%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[INT8RANGE] PASSED [ 44%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[MACADDR] PASSED [ 45%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[NUMRANGE] PASSED [ 45%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[TSRANGE] PASSED [ 45%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[TSTZRANGE] PASSED [ 45%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[HSTORE] PASSED [ 45%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[JSON2] PASSED [ 45%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[JSONB] PASSED [ 45%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[JSON3] PASSED [ 45%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_type_handlers[JSON4] PASSED [ 46%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_optional_field PASSED [ 46%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_set_primary_key[True] PASSED [ 46%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_set_primary_key[False] PASSED [ 46%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_set_foreign_keys[True] PASSED [ 46%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_set_foreign_keys[False] PASSED [ 46%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_relationship_resolution PASSED [ 46%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_relationship_list_resolution PASSED [ 46%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqla_factory_create PASSED [ 47%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_invalid_peristence_config_raises PASSED [ 47%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sync_persistence[0] PASSED [ 47%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sync_persistence[1] PASSED [ 47%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_async_persistence[0] PASSED [ 47%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_async_persistence[1] PASSED [ 47%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_async_server_default_refresh[0] PASSED [ 47%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_async_server_default_refresh[1] PASSED [ 48%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_alias PASSED [ 48%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_custom_type_from_type_decorator[UUID] PASSED [ 48%] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_custom_type_from_type_decorator[None] PASSED [ 48%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_python_type_handling_v2 PASSED [ 48%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqla_dialect_types PASSED [ 48%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[TupleType] PASSED [ 48%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[JSON0] PASSED [ 48%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[YEAR] PASSED [ 49%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[JSON1] PASSED [ 49%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[CIDR] PASSED [ 49%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[DATERANGE] PASSED [ 49%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[INET] PASSED [ 49%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[INT4RANGE] PASSED [ 49%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[INT8RANGE] PASSED [ 49%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[MACADDR] PASSED [ 50%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[NUMRANGE] PASSED [ 50%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[TSRANGE] PASSED [ 50%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[TSTZRANGE] PASSED [ 50%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[HSTORE] PASSED [ 50%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[JSON2] PASSED [ 50%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[JSONB] PASSED [ 50%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[JSON3] PASSED [ 50%] tests/sqlalchemy_factory/test_sqlalchemy_factory_v2.py::test_sqlalchemy_type_handlers_v2[JSON4] PASSED [ 51%] tests/test_attrs_factory.py::test_is_supported_type PASSED [ 51%] tests/test_attrs_factory.py::test_is_supported_type_without_struct PASSED [ 51%] tests/test_attrs_factory.py::test_with_basic_types_annotated PASSED [ 51%] tests/test_attrs_factory.py::test_with_basic_types_attrs_field PASSED [ 51%] tests/test_attrs_factory.py::test_with_nested_attr_model PASSED [ 51%] tests/test_attrs_factory.py::test_with_private_fields PASSED [ 51%] tests/test_attrs_factory.py::test_with_aliased_fields PASSED [ 51%] tests/test_attrs_factory.py::test_with_generics PASSED [ 52%] tests/test_attrs_factory.py::test_with_inheritance PASSED [ 52%] tests/test_attrs_factory.py::test_with_stringified_annotations PASSED [ 52%] tests/test_attrs_factory.py::test_with_init_false PASSED [ 52%] tests/test_attrs_factory.py::test_use_default_with_callable_default PASSED [ 52%] tests/test_attrs_factory.py::test_use_default_with_non_callable_default PASSED [ 52%] tests/test_attrs_factory.py::test_union_types PASSED [ 52%] tests/test_attrs_factory.py::test_collection_unions_with_models PASSED [ 53%] tests/test_attrs_factory.py::test_optional_type[True] PASSED [ 53%] tests/test_attrs_factory.py::test_optional_type[False] PASSED [ 53%] tests/test_auto_registration.py::test_auto_register_model_factory PASSED [ 53%] tests/test_auto_registration.py::test_auto_register_model_factory_using_create_factory PASSED [ 53%] tests/test_auto_registration.py::test_dataclass_model_factory_auto_registration PASSED [ 53%] tests/test_auto_registration.py::test_typeddict_model_factory_auto_registration PASSED [ 53%] tests/test_base_factories.py::test_multiple_base_factories PASSED [ 53%] tests/test_base_factories.py::test_multiple_base_pydantic_factories[False] PASSED [ 54%] tests/test_base_factories.py::test_multiple_base_pydantic_factories[True] PASSED [ 54%] tests/test_base_factories.py::test_create_factory_without_model_reuse_current_factory_model PASSED [ 54%] tests/test_base_factories.py::test_create_factory_from_base_factory_without_providing_a_model_raises_error PASSED [ 54%] tests/test_build.py::test_merges_defaults_with_kwargs PASSED [ 54%] tests/test_build.py::test_respects_none_overrides PASSED [ 54%] tests/test_build.py::test_uses_faker_to_set_values_when_none_available_on_class PASSED [ 54%] tests/test_build.py::test_builds_batch PASSED [ 55%] tests/test_build.py::test_build_model_with_fields_named_like_factory_fields PASSED [ 55%] tests/test_collection_extender.py::test_tuple_extender[0] PASSED [ 55%] tests/test_collection_extender.py::test_tuple_extender[1] PASSED [ 55%] tests/test_collection_extender.py::test_tuple_extender[3] PASSED [ 55%] tests/test_collection_extender.py::test_tuple_extender__constant_length[0] PASSED [ 55%] tests/test_collection_extender.py::test_tuple_extender__constant_length[1] PASSED [ 55%] tests/test_collection_extender.py::test_tuple_extender__constant_length[3] PASSED [ 55%] tests/test_collection_extender.py::test_tuple_extender__not_typed[0] PASSED [ 56%] tests/test_collection_extender.py::test_tuple_extender__not_typed[1] PASSED [ 56%] tests/test_collection_extender.py::test_tuple_extender__not_typed[3] PASSED [ 56%] tests/test_collection_extender.py::test_list_extender[0] PASSED [ 56%] tests/test_collection_extender.py::test_list_extender[1] PASSED [ 56%] tests/test_collection_extender.py::test_list_extender[3] PASSED [ 56%] tests/test_collection_extender.py::test_set_extender[0] PASSED [ 56%] tests/test_collection_extender.py::test_set_extender[1] PASSED [ 56%] tests/test_collection_extender.py::test_set_extender[3] PASSED [ 57%] tests/test_collection_extender.py::test_frozen_set_extender[0] PASSED [ 57%] tests/test_collection_extender.py::test_frozen_set_extender[1] PASSED [ 57%] tests/test_collection_extender.py::test_frozen_set_extender[3] PASSED [ 57%] tests/test_collection_extender.py::test_dict_extender[0] PASSED [ 57%] tests/test_collection_extender.py::test_dict_extender[1] PASSED [ 57%] tests/test_collection_extender.py::test_dict_extender[3] PASSED [ 57%] tests/test_collection_length.py::test_collection_length_with_list[10-15-List] PASSED [ 58%] tests/test_collection_length.py::test_collection_length_with_list[10-15-Set] PASSED [ 58%] tests/test_collection_length.py::test_collection_length_with_list[20-25-List] PASSED [ 58%] tests/test_collection_length.py::test_collection_length_with_list[20-25-Set] PASSED [ 58%] tests/test_collection_length.py::test_collection_length_with_list[30-40-List] PASSED [ 58%] tests/test_collection_length.py::test_collection_length_with_list[30-40-Set] PASSED [ 58%] tests/test_collection_length.py::test_collection_length_with_list[40-50-List] PASSED [ 58%] tests/test_collection_length.py::test_collection_length_with_list[40-50-Set] PASSED [ 58%] tests/test_collection_length.py::test_collection_length_with_set_collision PASSED [ 59%] tests/test_collection_length.py::test_collection_length_with_tuple[10-15] PASSED [ 59%] tests/test_collection_length.py::test_collection_length_with_tuple[20-25] PASSED [ 59%] tests/test_collection_length.py::test_collection_length_with_tuple[30-40] PASSED [ 59%] tests/test_collection_length.py::test_collection_length_with_tuple[40-50] PASSED [ 59%] tests/test_collection_length.py::test_collection_length_with_dict[10-15] PASSED [ 59%] tests/test_collection_length.py::test_collection_length_with_dict[20-25] PASSED [ 59%] tests/test_collection_length.py::test_collection_length_with_dict[30-40] PASSED [ 60%] tests/test_collection_length.py::test_collection_length_with_dict[40-50] PASSED [ 60%] tests/test_collection_length.py::test_collection_length_with_optional_not_allowed[10-15] PASSED [ 60%] tests/test_collection_length.py::test_collection_length_with_optional_not_allowed[20-25] PASSED [ 60%] tests/test_collection_length.py::test_collection_length_with_optional_not_allowed[30-40] PASSED [ 60%] tests/test_collection_length.py::test_collection_length_with_optional_not_allowed[40-50] PASSED [ 60%] tests/test_collection_length.py::test_collection_length_with_optional_allowed[10-15] PASSED [ 60%] tests/test_collection_length.py::test_collection_length_with_optional_allowed[20-25] PASSED [ 60%] tests/test_collection_length.py::test_collection_length_with_optional_allowed[30-40] PASSED [ 61%] tests/test_collection_length.py::test_collection_length_with_optional_allowed[40-50] PASSED [ 61%] tests/test_complex_types.py::test_handles_complex_typing PASSED [ 61%] tests/test_complex_types.py::test_handles_complex_typing_with_embedded_models PASSED [ 61%] tests/test_complex_types.py::test_raises_for_user_defined_types PASSED [ 61%] tests/test_complex_types.py::test_randomizes_optional_returns PASSED [ 61%] tests/test_complex_types.py::test_complex_typing_with_enum PASSED [ 61%] tests/test_complex_types.py::test_union_literal PASSED [ 61%] tests/test_complex_types.py::test_non_collection_generic PASSED [ 62%] tests/test_complex_types.py::test_sequence_dict PASSED [ 62%] tests/test_data_parsing.py::test_enum_parsing PASSED [ 62%] tests/test_data_parsing.py::test_callback_parsing PASSED [ 62%] tests/test_data_parsing.py::test_literal_parsing PASSED [ 62%] tests/test_data_parsing.py::test_embedded_models_parsing PASSED [ 62%] tests/test_data_parsing.py::test_embedded_factories_parsing PASSED [ 62%] tests/test_data_parsing.py::test_class_parsing PASSED [ 63%] tests/test_data_parsing.py::test_optional_url_field_parsed_correctly[AnyUrl] PASSED [ 63%] tests/test_data_parsing.py::test_optional_url_field_parsed_correctly[HttpUrl] PASSED [ 63%] tests/test_data_parsing.py::test_optional_url_field_parsed_correctly[KafkaDsn] FAILED [ 63%] tests/test_data_parsing.py::test_optional_url_field_parsed_correctly[PostgresDsn] FAILED [ 63%] tests/test_data_parsing.py::test_optional_url_field_parsed_correctly[RedisDsn] FAILED [ 63%] tests/test_data_parsing.py::test_optional_url_field_parsed_correctly[AmqpDsn] FAILED [ 63%] tests/test_data_parsing.py::test_optional_url_field_parsed_correctly[AnyHttpUrl] PASSED [ 63%] tests/test_dataclass_factory.py::test_factory_vanilla_dc PASSED [ 64%] tests/test_dataclass_factory.py::test_factory_pydantic_dc PASSED [ 64%] tests/test_dataclass_factory.py::test_vanilla_dc_with_embedded_model PASSED [ 64%] tests/test_dataclass_factory.py::test_pydantic_dc_with_embedded_model PASSED [ 64%] tests/test_dataclass_factory.py::test_model_with_embedded_dataclasses PASSED [ 64%] tests/test_dataclass_factory.py::test_complex_embedded_dataclass PASSED [ 64%] tests/test_dataclass_factory.py::test_tuple_ellipsis_in_vanilla_dc PASSED [ 64%] tests/test_dataclass_factory.py::test_dataclass_factory_with_future_annotations PASSED [ 65%] tests/test_dataclass_factory.py::test_dataclass_with_forward_reference PASSED [ 65%] tests/test_dataclass_factory.py::test_dataclass_with_init_false PASSED [ 65%] tests/test_dataclass_factory.py::test_use_default_with_callable_default PASSED [ 65%] tests/test_dataclass_factory.py::test_use_default_with_non_callable_default PASSED [ 65%] tests/test_dataclass_factory.py::test_union_types PASSED [ 65%] tests/test_dataclass_factory.py::test_collection_unions_with_models PASSED [ 65%] tests/test_dataclass_factory.py::test_optional_type[True] PASSED [ 65%] tests/test_dataclass_factory.py::test_optional_type[False] PASSED [ 66%] tests/test_dicts.py::test_passing_nested_dict PASSED [ 66%] tests/test_dicts.py::test_dict_with_union_random_types SKIPPED (inde...) [ 66%] tests/test_factory_configuration.py::test_setting_set_as_default_factory_for_type_on_base_factory PASSED [ 66%] tests/test_factory_configuration.py::test_inheriting_config PASSED [ 66%] tests/test_factory_fields.py::test_use PASSED [ 66%] tests/test_factory_fields.py::test_sub_factory PASSED [ 66%] tests/test_factory_fields.py::test_build_kwarg PASSED [ 66%] tests/test_factory_fields.py::test_ignored PASSED [ 67%] tests/test_factory_fields.py::test_post_generation PASSED [ 67%] tests/test_factory_fields.py::test_post_generation_classmethod PASSED [ 67%] tests/test_factory_fields.py::test_non_existing_model_fields_does_not_raise_by_default[factory_field0] PASSED [ 67%] tests/test_factory_fields.py::test_non_existing_model_fields_does_not_raise_by_default[factory_field1] PASSED [ 67%] tests/test_factory_fields.py::test_non_existing_model_fields_does_not_raise_by_default[factory_field2] PASSED [ 67%] tests/test_factory_fields.py::test_non_existing_model_fields_does_not_raise_by_default[factory_field3] PASSED [ 67%] tests/test_factory_fields.py::test_non_existing_model_fields_raises_with__check__model__[factory_field0] PASSED [ 68%] tests/test_factory_fields.py::test_non_existing_model_fields_raises_with__check__model__[factory_field1] PASSED [ 68%] tests/test_factory_fields.py::test_non_existing_model_fields_raises_with__check__model__[factory_field2] PASSED [ 68%] tests/test_factory_fields.py::test_non_existing_model_fields_raises_with__check__model__[factory_field3] PASSED [ 68%] tests/test_factory_fields.py::test_mutable_defaults PASSED [ 68%] tests/test_factory_subclassing.py::test_factory_raises_config_error_for_unsupported_model_with_supported_factory PASSED [ 68%] tests/test_factory_subclassing.py::test_factory_raises_config_error_for_unsupported_model PASSED [ 68%] tests/test_factory_subclassing.py::test_inherit_concrete_factory PASSED [ 68%] tests/test_factory_subclassing.py::test_inherit_base_factory PASSED [ 69%] tests/test_faker_customization.py::test_allows_user_to_define_faker_instance PASSED [ 69%] tests/test_generics.py::test_generic_factory_one_response PASSED [ 69%] tests/test_generics.py::test_generic_factory_two_response PASSED [ 69%] tests/test_generics.py::test_generic_factory_three_response PASSED [ 69%] tests/test_generics.py::test_generic_factory_union_response PASSED [ 69%] tests/test_msgspec_factory.py::test_is_supported_type PASSED [ 69%] tests/test_msgspec_factory.py::test_is_supported_type_without_struct PASSED [ 70%] tests/test_msgspec_factory.py::test_with_basic_types_without_constraints PASSED [ 70%] tests/test_msgspec_factory.py::test_other_basic_types PASSED [ 70%] tests/test_msgspec_factory.py::test_with_nested_struct PASSED [ 70%] tests/test_msgspec_factory.py::test_with_new_type PASSED [ 70%] tests/test_msgspec_factory.py::test_msgspec_types PASSED [ 70%] tests/test_msgspec_factory.py::test_with_constraints PASSED [ 70%] tests/test_msgspec_factory.py::test_dict_constraints PASSED [ 70%] tests/test_msgspec_factory.py::test_datetime_constraints[datetime] PASSED [ 71%] tests/test_msgspec_factory.py::test_datetime_constraints[time] PASSED [ 71%] tests/test_msgspec_factory.py::test_inheritence PASSED [ 71%] tests/test_msgspec_factory.py::test_inheritence_with_generics PASSED [ 71%] tests/test_msgspec_factory.py::test_sequence_with_constrained_item_types PASSED [ 71%] tests/test_msgspec_factory.py::test_mapping_with_constrained_item_types PASSED [ 71%] tests/test_msgspec_factory.py::test_use_default_with_callable_default PASSED [ 71%] tests/test_msgspec_factory.py::test_use_default_with_non_callable_default PASSED [ 71%] tests/test_msgspec_factory.py::test_union_types PASSED [ 72%] tests/test_msgspec_factory.py::test_collection_unions_with_models PASSED [ 72%] tests/test_msgspec_factory.py::test_constrained_union_types PASSED [ 72%] tests/test_msgspec_factory.py::test_optional_type[True] PASSED [ 72%] tests/test_msgspec_factory.py::test_optional_type[False] PASSED [ 72%] tests/test_msgspec_factory.py::test_annotated_children PASSED [ 72%] tests/test_new_types.py::test_new_types PASSED [ 72%] tests/test_new_types.py::test_complex_new_types PASSED [ 73%] tests/test_new_types.py::test_constrained_new_types SKIPPED (https:/...) [ 73%] tests/test_new_types.py::test_type_alias PASSED [ 73%] tests/test_number_generation.py::test_generate_constrained_number[100-2-8] PASSED [ 73%] tests/test_number_generation.py::test_generate_constrained_number[-100--187--10] PASSED [ 73%] tests/test_number_generation.py::test_generate_constrained_number[7.55-0.13-0.0123] PASSED [ 73%] tests/test_number_generation.py::test_passes_pydantic_multiple_validator_handles_zero_multiplier PASSED [ 73%] tests/test_optional_model_field_inference.py::test_modeL_inference_ok[AttrsFactory-AttrsBase] PASSED [ 73%] tests/test_optional_model_field_inference.py::test_modeL_inference_ok[ModelFactory-ModelBase] PASSED [ 74%] tests/test_optional_model_field_inference.py::test_modeL_inference_ok[MsgspecFactory-MsgspecBase] PASSED [ 74%] tests/test_optional_model_field_inference.py::test_modeL_inference_ok[SQLAlchemyFactory-SQLAlchemyBase] PASSED [ 74%] tests/test_optional_model_field_inference.py::test_modeL_inference_ok[TypedDictFactory-TypedDictBase] PASSED [ 74%] tests/test_optional_model_field_inference.py::test_odmantic_model_inference_ok SKIPPED [ 74%] tests/test_optional_model_field_inference.py::test_beanie_model_inference_ok SKIPPED [ 74%] tests/test_optional_model_field_inference.py::test_model_without_generic_type_inference_error[AttrsFactory] PASSED [ 74%] tests/test_optional_model_field_inference.py::test_model_without_generic_type_inference_error[ModelFactory] PASSED [ 75%] tests/test_optional_model_field_inference.py::test_model_without_generic_type_inference_error[MsgspecFactory] PASSED [ 75%] tests/test_optional_model_field_inference.py::test_model_without_generic_type_inference_error[SQLAlchemyFactory] PASSED [ 75%] tests/test_optional_model_field_inference.py::test_model_without_generic_type_inference_error[TypedDictFactory] PASSED [ 75%] tests/test_optional_model_field_inference.py::test_model_type_error[AttrsFactory] PASSED [ 75%] tests/test_optional_model_field_inference.py::test_model_type_error[ModelFactory] PASSED [ 75%] tests/test_optional_model_field_inference.py::test_model_type_error[MsgspecFactory] PASSED [ 75%] tests/test_optional_model_field_inference.py::test_model_type_error[SQLAlchemyFactory] PASSED [ 75%] tests/test_optional_model_field_inference.py::test_model_type_error[TypedDictFactory] PASSED [ 76%] tests/test_optional_model_field_inference.py::test_model_multiple_inheritance_cannot_infer_error PASSED [ 76%] tests/test_optional_model_field_inference.py::test_generic_model_is_not_an_error PASSED [ 76%] tests/test_options_validation.py::test_validates_model_is_set_on_definition_of_factory PASSED [ 76%] tests/test_options_validation.py::test_validates_connection_in_create_sync PASSED [ 76%] tests/test_options_validation.py::test_validates_connection_in_create_batch_sync PASSED [ 76%] tests/test_options_validation.py::test_validates_connection_in_create_async PASSED [ 76%] tests/test_options_validation.py::test_validates_connection_in_create_batch_async PASSED [ 76%] tests/test_passing_build_args_to_child_factories.py::test_factory_child_model_list PASSED [ 77%] tests/test_passing_build_args_to_child_factories.py::test_factory_child_pydantic_model PASSED [ 77%] tests/test_passing_build_args_to_child_factories.py::test_factory_child_none PASSED [ 77%] tests/test_passing_build_args_to_child_factories.py::test_factory_with_partial_fields PASSED [ 77%] tests/test_passing_build_args_to_child_factories.py::test_factory_with_nested_dict PASSED [ 77%] tests/test_passing_build_args_to_child_factories.py::test_factory_with_partial_kwargs_deep_in_tree PASSED [ 77%] tests/test_passing_build_args_to_child_factories.py::test_factory_with_nested_optional_field_overrides_in_dict PASSED [ 77%] tests/test_persistence_handlers.py::test_sync_persistence_handler_is_set_and_called_with_instance PASSED [ 78%] tests/test_persistence_handlers.py::test_sync_persistence_handler_is_set_and_called_with_class PASSED [ 78%] tests/test_persistence_handlers.py::test_async_persistence_handler_is_set_and_called_with_instance PASSED [ 78%] tests/test_persistence_handlers.py::test_async_persistence_handler_is_set_and_called_with_class PASSED [ 78%] tests/test_provider_map.py::test_provider_map PASSED [ 78%] tests/test_provider_map.py::test_provider_map_with_any PASSED [ 78%] tests/test_provider_map.py::test_provider_map_with_typevar PASSED [ 78%] tests/test_pydantic_factory.py::test_const SKIPPED (pydantic v1 only...) [ 78%] tests/test_pydantic_factory.py::test_optional_with_constraints PASSED [ 79%] tests/test_pydantic_factory.py::test_list_unions PASSED [ 79%] tests/test_pydantic_factory.py::test_json_type PASSED [ 79%] tests/test_pydantic_factory.py::test_nested_json_type PASSED [ 79%] tests/test_pydantic_factory.py::test_sequence_with_annotated_item_types PASSED [ 79%] tests/test_pydantic_factory.py::test_mapping_with_annotated_item_types PASSED [ 79%] tests/test_pydantic_factory.py::test_use_default_with_callable_default PASSED [ 79%] tests/test_pydantic_factory.py::test_use_default_with_non_callable_default PASSED [ 80%] tests/test_pydantic_factory.py::test_factory_nested_model_collection_coverage PASSED [ 80%] tests/test_pydantic_factory.py::test_factory_nested_model_collection_construct_coverage PASSED [ 80%] tests/test_pydantic_factory.py::test_factory_use_construct PASSED [ 80%] tests/test_pydantic_factory.py::test_factory_use_construct_coverage PASSED [ 80%] tests/test_pydantic_factory.py::test_factory_use_construct_nested PASSED [ 80%] tests/test_pydantic_factory.py::test_factory_use_construct_validator PASSED [ 80%] tests/test_pydantic_factory.py::test_factory_use_construct_nested_sequence[Tuple] PASSED [ 80%] tests/test_pydantic_factory.py::test_factory_use_construct_nested_sequence[List] PASSED [ 81%] tests/test_pydantic_factory.py::test_factory_use_construct_nested_set[FrozenSet] PASSED [ 81%] tests/test_pydantic_factory.py::test_factory_use_construct_nested_set[Set] PASSED [ 81%] tests/test_pydantic_factory.py::test_mapping_with_annotated_nested_model PASSED [ 81%] tests/test_pydantic_factory.py::test_factory_use_construct_nested_constraint_list_v1 SKIPPED [ 81%] tests/test_pydantic_factory.py::test_factory_use_construct_nested_constraint_list_v2 PASSED [ 81%] tests/test_pydantic_factory.py::test_build_instance_by_field_alias_with_allow_population_by_field_name_flag_pydantic_v1 SKIPPED [ 81%] tests/test_pydantic_factory.py::test_build_instance_by_field_alias_with_populate_by_name_flag_pydantic_v2 PASSED [ 81%] tests/test_pydantic_factory.py::test_build_instance_by_field_name_with_allow_population_by_field_name_flag PASSED [ 82%] tests/test_pydantic_factory.py::test_alias_parsing PASSED [ 82%] tests/test_pydantic_factory.py::test_type_property_parsing FAILED [ 82%] tests/test_pydantic_factory.py::test_optional_url_field_parsed_correctly[AnyUrl] PASSED [ 82%] tests/test_pydantic_factory.py::test_optional_url_field_parsed_correctly[HttpUrl] PASSED [ 82%] tests/test_pydantic_factory.py::test_optional_url_field_parsed_correctly[KafkaDsn] FAILED [ 82%] tests/test_pydantic_factory.py::test_optional_url_field_parsed_correctly[PostgresDsn] FAILED [ 82%] tests/test_pydantic_factory.py::test_optional_url_field_parsed_correctly[RedisDsn] FAILED [ 83%] tests/test_pydantic_factory.py::test_optional_url_field_parsed_correctly[AmqpDsn] FAILED [ 83%] tests/test_pydantic_factory.py::test_optional_url_field_parsed_correctly[AnyHttpUrl] PASSED [ 83%] tests/test_pydantic_factory.py::test_handles_complex_typing_with_custom_root_type SKIPPED [ 83%] tests/test_pydantic_factory.py::test_union_types PASSED [ 83%] tests/test_pydantic_factory.py::test_collection_unions_with_models PASSED [ 83%] tests/test_pydantic_factory.py::test_constrained_union_types PASSED [ 83%] tests/test_pydantic_factory.py::test_optional_type[True] PASSED [ 83%] tests/test_pydantic_factory.py::test_optional_type[False] PASSED [ 84%] tests/test_pydantic_factory.py::test_discriminated_unions PASSED [ 84%] tests/test_pydantic_factory.py::test_predicated_fields PASSED [ 84%] tests/test_pydantic_factory.py::test_tuple_with_annotated_constraints PASSED [ 84%] tests/test_pydantic_factory.py::test_optional_tuple_with_annotated_constraints PASSED [ 84%] tests/test_pydantic_factory.py::test_legacy_tuple_with_annotated_constraints PASSED [ 84%] tests/test_pydantic_factory.py::test_legacy_optional_tuple_with_annotated_constraints PASSED [ 84%] tests/test_pydantic_factory.py::test_constrained_attribute_parsing_pydantic_v1 SKIPPED [ 85%] tests/test_pydantic_factory.py::test_complex_constrained_attribute_parsing_pydantic_v1 SKIPPED [ 85%] tests/test_pydantic_factory.py::test_nested_constrained_attribute_handling_pydantic_1 SKIPPED [ 85%] tests/test_pydantic_factory.py::test_nested_constrained_attribute_handling_pydantic_2 PASSED [ 85%] tests/test_pydantic_factory.py::test_constrained_attribute_parsing_pydantic_v2 PASSED [ 85%] tests/test_pydantic_factory.py::test_complex_constrained_attribute_parsing_pydantic_v2 PASSED [ 85%] tests/test_pydantic_factory.py::test_annotated_children PASSED [ 85%] tests/test_pydantic_v1_v2.py::test_is_supported_type[BaseModel0] PASSED [ 85%] tests/test_pydantic_v1_v2.py::test_is_supported_type[BaseModel1] PASSED [ 86%] tests/test_pydantic_v1_v2.py::test_build[BaseModel0] PASSED [ 86%] tests/test_pydantic_v1_v2.py::test_build[BaseModel1] PASSED [ 86%] tests/test_pydantic_v1_v2.py::test_build_v1_with_contrained_fields PASSED [ 86%] tests/test_pydantic_v1_v2.py::test_build_v2_with_contrained_fields PASSED [ 86%] tests/test_pytest_plugin.py::test_fixture_register_decorator PASSED [ 86%] tests/test_pytest_plugin.py::test_custom_naming_fixture_register_decorator PASSED [ 86%] tests/test_pytest_plugin.py::test_register_with_function_error PASSED [ 86%] tests/test_pytest_plugin.py::test_register_with_class_not_model_factory_error PASSED [ 87%] tests/test_pytest_plugin.py::test_using_a_fixture_as_field_value PASSED [ 87%] tests/test_pytest_plugin.py::test_using_non_fixture_with_the_fixture_field_raises PASSED [ 87%] tests/test_random_configuration.py::test_setting_random[0] PASSED [ 87%] tests/test_random_configuration.py::test_setting_random[1] PASSED [ 87%] tests/test_random_configuration.py::test_setting_random[2] PASSED [ 87%] tests/test_random_configuration.py::test_setting_random_seed_on_random[0] PASSED [ 87%] tests/test_random_configuration.py::test_setting_random_seed_on_random[1] PASSED [ 88%] tests/test_random_configuration.py::test_setting_random_seed_on_random[2] PASSED [ 88%] tests/test_random_configuration.py::test_setting_random_seed_on_faker[0] PASSED [ 88%] tests/test_random_configuration.py::test_setting_random_seed_on_faker[1] PASSED [ 88%] tests/test_random_configuration.py::test_setting_random_seed_on_faker[2] PASSED [ 88%] tests/test_random_configuration.py::test_setting_random_seed_on_multiple_factories PASSED [ 88%] tests/test_random_configuration.py::test_no_override_of_faker PASSED [ 88%] tests/test_random_configuration.py::test_faker_locale_preserved[ar_AA] PASSED [ 88%] tests/test_random_configuration.py::test_faker_locale_preserved[ar_AE] PASSED [ 89%] tests/test_random_configuration.py::test_faker_locale_preserved[ar_BH] PASSED [ 89%] tests/test_random_configuration.py::test_faker_locale_preserved[locale3] PASSED [ 89%] tests/test_random_seed.py::test_random_seed PASSED [ 89%] tests/test_random_seed.py::test_deterministic_optionals_seeding PASSED [ 89%] tests/test_random_seed.py::test_deterministic_constrained_strings PASSED [ 89%] tests/test_recursive_models.py::test_recusive_model PASSED [ 89%] tests/test_recursive_models.py::test_recursive_pydantic_models[True] PASSED [ 90%] tests/test_recursive_models.py::test_recursive_pydantic_models[False] PASSED [ 90%] tests/test_recursive_models.py::test_recusive_list_model PASSED [ 90%] tests/test_regex_factory.py::test_single_dot PASSED [ 90%] tests/test_regex_factory.py::test_dot PASSED [ 90%] tests/test_regex_factory.py::test_date PASSED [ 90%] tests/test_regex_factory.py::test_up_to_closing_tag PASSED [ 90%] tests/test_regex_factory.py::test_ipv4 PASSED [ 90%] tests/test_regex_factory.py::test_year_1900_2099 PASSED [ 91%] tests/test_regex_factory.py::test_positive_or_negative_number PASSED [ 91%] tests/test_regex_factory.py::test_positive_integers PASSED [ 91%] tests/test_regex_factory.py::test_email_complicated PASSED [ 91%] tests/test_regex_factory.py::test_email PASSED [ 91%] tests/test_regex_factory.py::test_alpha PASSED [ 91%] tests/test_regex_factory.py::test_zero_or_more_anything_non_greedy PASSED [ 91%] tests/test_regex_factory.py::test_literals PASSED [ 91%] tests/test_regex_factory.py::test_digit PASSED [ 92%] tests/test_regex_factory.py::test_nondigits PASSED [ 92%] tests/test_regex_factory.py::test_literal_with_repeat PASSED [ 92%] tests/test_regex_factory.py::test_literal_with_range_repeat PASSED [ 92%] tests/test_regex_factory.py::test_word PASSED [ 92%] tests/test_regex_factory.py::test_nonword PASSED [ 92%] tests/test_regex_factory.py::test_or PASSED [ 92%] tests/test_regex_factory.py::test_or_with_subpattern PASSED [ 93%] tests/test_regex_factory.py::test_range PASSED [ 93%] tests/test_regex_factory.py::test_character_group PASSED [ 93%] tests/test_regex_factory.py::test_caret PASSED [ 93%] tests/test_regex_factory.py::test_dollarsign PASSED [ 93%] tests/test_regex_factory.py::test_not_literal PASSED [ 93%] tests/test_regex_factory.py::test_negation_group PASSED [ 93%] tests/test_regex_factory.py::test_lookahead PASSED [ 93%] tests/test_regex_factory.py::test_lookbehind PASSED [ 94%] tests/test_regex_factory.py::test_backreference PASSED [ 94%] tests/test_regex_factory.py::test_zero_or_more_greedy PASSED [ 94%] tests/test_regex_factory.py::test_zero_or_more_non_greedy PASSED [ 94%] tests/test_regex_factory.py::test_incoherent_limit_and_qualifier[0] PASSED [ 94%] tests/test_regex_factory.py::test_incoherent_limit_and_qualifier[1] PASSED [ 94%] tests/test_regex_factory.py::test_incoherent_limit_and_qualifier[2] PASSED [ 94%] tests/test_regex_factory.py::test_incoherent_limit_and_qualifier[3] PASSED [ 95%] tests/test_regex_factory.py::test_incoherent_limit_and_qualifier[4] PASSED [ 95%] tests/test_regex_factory.py::test_regex_factory_object_seeding[777] PASSED [ 95%] tests/test_regex_factory.py::test_regex_factory_object_seeding[1234] PASSED [ 95%] tests/test_regex_factory.py::test_regex_factory_object_seeding[369] PASSED [ 95%] tests/test_regex_factory.py::test_regex_factory_object_seeding[8031] PASSED [ 95%] tests/test_regex_factory.py::test_regex_factory_random_instance PASSED [ 95%] tests/test_type_coverage_generation.py::test_coverage_count PASSED [ 95%] tests/test_type_coverage_generation.py::test_coverage_tuple PASSED [ 96%] tests/test_type_coverage_generation.py::test_coverage_collection[Set] PASSED [ 96%] tests/test_type_coverage_generation.py::test_coverage_collection[List] PASSED [ 96%] tests/test_type_coverage_generation.py::test_coverage_collection[FrozenSet] PASSED [ 96%] tests/test_type_coverage_generation.py::test_coverage_literal PASSED [ 96%] tests/test_type_coverage_generation.py::test_coverage_dict PASSED [ 96%] tests/test_type_coverage_generation.py::test_coverage_recursive SKIPPED [ 96%] tests/test_type_coverage_generation.py::test_coverage_typed_dict PASSED [ 96%] tests/test_type_coverage_generation.py::test_coverage_typed_dict_field PASSED [ 97%] tests/test_type_coverage_generation.py::test_coverage_values_unique PASSED [ 97%] tests/test_type_coverage_generation.py::test_coverage_post_generated PASSED [ 97%] tests/test_type_coverage_generation.py::test_coverage_parameter_exception PASSED [ 97%] tests/test_type_coverage_generation.py::test_coverage_optional_field PASSED [ 97%] tests/test_type_coverage_generation.py::test_coverage_optional_list PASSED [ 97%] tests/test_type_coverage_generation.py::test_optional_lists PASSED [ 97%] tests/test_type_coverage_generation.py::test_tuple_types PASSED [ 98%] tests/test_type_coverage_generation.py::test_hetero_tuple_types PASSED [ 98%] tests/test_type_coverage_generation.py::test_optional_list_uuid PASSED [ 98%] tests/test_type_coverage_generation.py::test_optional_set_uuid PASSED [ 98%] tests/test_type_coverage_generation.py::test_optional_mixed_collecions PASSED [ 98%] tests/test_typeddict_factory.py::test_factory_with_typeddict PASSED [ 98%] tests/test_typeddict_factory.py::test_factory_model_with_typeddict_attribute_value PASSED [ 98%] tests/test_typeddict_factory.py::test_typeddict_with_required_and_non_required_fields PASSED [ 98%] tests/test_utils.py::test_is_union PASSED [ 99%] tests/test_utils.py::test_is_new_type PASSED [ 99%] tests/test_utils.py::test_unwrap_new_type_is_needed PASSED [ 99%] tests/test_utils.py::test_is_multiply_of_multiple_of_in_range_extreme_cases PASSED [ 99%] tests/test_utils.py::test_is_multiply_of_multiple_of_in_range_for_floats PASSED [ 99%] tests/test_utils.py::test_is_multiply_of_multiple_of_in_range_for_int PASSED [ 99%] tests/test_utils.py::test_is_multiply_of_multiple_of_in_range_for_decimals SKIPPED [ 99%] tests/utils/test_deprecation.py::test_parameter_deprecation PASSED [100%] =================================== FAILURES =================================== ______________ test_optional_url_field_parsed_correctly[KafkaDsn] ______________ type_ = @pytest.mark.parametrize( "type_", [AnyUrl, HttpUrl, KafkaDsn, PostgresDsn, RedisDsn, AmqpDsn, AnyHttpUrl], ) def test_optional_url_field_parsed_correctly(type_: TypeAlias) -> None: class MyModel(BaseModel): url: Optional[type_] class MyFactory(ModelFactory[MyModel]): __model__ = MyModel > while not (url := MyFactory.build().url): tests/test_data_parsing.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ polyfactory/factories/pydantic_factory.py:473: in build processed_kwargs = cls.process_kwargs(**kwargs) polyfactory/factories/base.py:994: in process_kwargs field_result = cls.get_field_value( polyfactory/factories/base.py:720: in get_field_value return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = .MyFactory'> field_meta = field_build_parameters = None build_context = {'factory_use_construct': False, 'seen_models': {.MyModel'>}} @classmethod def get_field_value( # noqa: C901, PLR0911, PLR0912 cls, field_meta: FieldMeta, field_build_parameters: Any | None = None, build_context: BuildContext | None = None, ) -> Any: """Return a field value on the subclass if existing, otherwise returns a mock value. :param field_meta: FieldMeta instance. :param field_build_parameters: Any build parameters passed to the factory as kwarg values. :param build_context: BuildContext data for current build. :returns: An arbitrary value. """ build_context = cls._get_build_context(build_context) if cls.is_ignored_type(field_meta.annotation): return None if field_build_parameters is None and cls.should_set_none_value(field_meta=field_meta): return None unwrapped_annotation = unwrap_annotation(field_meta.annotation, random=cls.__random__) if is_literal(annotation=unwrapped_annotation) and (literal_args := get_args(unwrapped_annotation)): return cls.__random__.choice(literal_args) if isinstance(unwrapped_annotation, EnumMeta): return cls.__random__.choice(list(unwrapped_annotation)) if field_meta.constraints: return cls.get_constrained_field_value( annotation=unwrapped_annotation, field_meta=field_meta, field_build_parameters=field_build_parameters, build_context=build_context, ) if is_union(field_meta.annotation) and field_meta.children: seen_models = build_context["seen_models"] children = [child for child in field_meta.children if child.annotation not in seen_models] # `None` is removed from the children when creating FieldMeta so when `children` # is empty, it must mean that the field meta is an optional type. if children: return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) if BaseFactory.is_factory_type(annotation=unwrapped_annotation): if not field_build_parameters and unwrapped_annotation in build_context["seen_models"]: return None if is_optional(field_meta.annotation) else Null return cls._get_or_create_factory(model=unwrapped_annotation).build( _build_context=build_context, **(field_build_parameters if isinstance(field_build_parameters, Mapping) else {}), ) if BaseFactory.is_batch_factory_type(annotation=unwrapped_annotation): factory = cls._get_or_create_factory(model=field_meta.type_args[0]) if isinstance(field_build_parameters, Sequence): return [ factory.build(_build_context=build_context, **field_parameters) for field_parameters in field_build_parameters ] if field_meta.type_args[0] in build_context["seen_models"]: return [] if not cls.__randomize_collection_length__: return [factory.build(_build_context=build_context)] batch_size = cls.__random__.randint(cls.__min_collection_length__, cls.__max_collection_length__) return factory.batch(size=batch_size, _build_context=build_context) if (origin := get_type_origin(unwrapped_annotation)) and is_safe_subclass(origin, Collection): if cls.__randomize_collection_length__: collection_type = get_collection_type(unwrapped_annotation) if collection_type != dict: return handle_constrained_collection( collection_type=collection_type, # type: ignore[type-var] factory=cls, item_type=Any, field_meta=field_meta.children[0] if field_meta.children else field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_constrained_mapping( factory=cls, field_meta=field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_collection_type( field_meta, origin, cls, field_build_parameters=field_build_parameters, build_context=build_context ) if provider := cls.get_provider_map().get(unwrapped_annotation): return provider() if isinstance(unwrapped_annotation, TypeVar): return create_random_string(cls.__random__, min_length=1, max_length=10) if callable(unwrapped_annotation): # if value is a callable we can try to naively call it. # this will work for callables that do not require any parameters passed with suppress(Exception): return unwrapped_annotation() msg = f"Unsupported type: {unwrapped_annotation!r}\n\nEither extend the providers map or add a factory function for this type." > raise ParameterException( msg, ) E polyfactory.exceptions.ParameterException: Unsupported type: E E Either extend the providers map or add a factory function for this type. polyfactory/factories/base.py:788: ParameterException ____________ test_optional_url_field_parsed_correctly[PostgresDsn] _____________ type_ = @pytest.mark.parametrize( "type_", [AnyUrl, HttpUrl, KafkaDsn, PostgresDsn, RedisDsn, AmqpDsn, AnyHttpUrl], ) def test_optional_url_field_parsed_correctly(type_: TypeAlias) -> None: class MyModel(BaseModel): url: Optional[type_] class MyFactory(ModelFactory[MyModel]): __model__ = MyModel > while not (url := MyFactory.build().url): tests/test_data_parsing.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ polyfactory/factories/pydantic_factory.py:473: in build processed_kwargs = cls.process_kwargs(**kwargs) polyfactory/factories/base.py:994: in process_kwargs field_result = cls.get_field_value( polyfactory/factories/base.py:720: in get_field_value return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = .MyFactory'> field_meta = field_build_parameters = None build_context = {'factory_use_construct': False, 'seen_models': {.MyModel'>}} @classmethod def get_field_value( # noqa: C901, PLR0911, PLR0912 cls, field_meta: FieldMeta, field_build_parameters: Any | None = None, build_context: BuildContext | None = None, ) -> Any: """Return a field value on the subclass if existing, otherwise returns a mock value. :param field_meta: FieldMeta instance. :param field_build_parameters: Any build parameters passed to the factory as kwarg values. :param build_context: BuildContext data for current build. :returns: An arbitrary value. """ build_context = cls._get_build_context(build_context) if cls.is_ignored_type(field_meta.annotation): return None if field_build_parameters is None and cls.should_set_none_value(field_meta=field_meta): return None unwrapped_annotation = unwrap_annotation(field_meta.annotation, random=cls.__random__) if is_literal(annotation=unwrapped_annotation) and (literal_args := get_args(unwrapped_annotation)): return cls.__random__.choice(literal_args) if isinstance(unwrapped_annotation, EnumMeta): return cls.__random__.choice(list(unwrapped_annotation)) if field_meta.constraints: return cls.get_constrained_field_value( annotation=unwrapped_annotation, field_meta=field_meta, field_build_parameters=field_build_parameters, build_context=build_context, ) if is_union(field_meta.annotation) and field_meta.children: seen_models = build_context["seen_models"] children = [child for child in field_meta.children if child.annotation not in seen_models] # `None` is removed from the children when creating FieldMeta so when `children` # is empty, it must mean that the field meta is an optional type. if children: return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) if BaseFactory.is_factory_type(annotation=unwrapped_annotation): if not field_build_parameters and unwrapped_annotation in build_context["seen_models"]: return None if is_optional(field_meta.annotation) else Null return cls._get_or_create_factory(model=unwrapped_annotation).build( _build_context=build_context, **(field_build_parameters if isinstance(field_build_parameters, Mapping) else {}), ) if BaseFactory.is_batch_factory_type(annotation=unwrapped_annotation): factory = cls._get_or_create_factory(model=field_meta.type_args[0]) if isinstance(field_build_parameters, Sequence): return [ factory.build(_build_context=build_context, **field_parameters) for field_parameters in field_build_parameters ] if field_meta.type_args[0] in build_context["seen_models"]: return [] if not cls.__randomize_collection_length__: return [factory.build(_build_context=build_context)] batch_size = cls.__random__.randint(cls.__min_collection_length__, cls.__max_collection_length__) return factory.batch(size=batch_size, _build_context=build_context) if (origin := get_type_origin(unwrapped_annotation)) and is_safe_subclass(origin, Collection): if cls.__randomize_collection_length__: collection_type = get_collection_type(unwrapped_annotation) if collection_type != dict: return handle_constrained_collection( collection_type=collection_type, # type: ignore[type-var] factory=cls, item_type=Any, field_meta=field_meta.children[0] if field_meta.children else field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_constrained_mapping( factory=cls, field_meta=field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_collection_type( field_meta, origin, cls, field_build_parameters=field_build_parameters, build_context=build_context ) if provider := cls.get_provider_map().get(unwrapped_annotation): return provider() if isinstance(unwrapped_annotation, TypeVar): return create_random_string(cls.__random__, min_length=1, max_length=10) if callable(unwrapped_annotation): # if value is a callable we can try to naively call it. # this will work for callables that do not require any parameters passed with suppress(Exception): return unwrapped_annotation() msg = f"Unsupported type: {unwrapped_annotation!r}\n\nEither extend the providers map or add a factory function for this type." > raise ParameterException( msg, ) E polyfactory.exceptions.ParameterException: Unsupported type: E E Either extend the providers map or add a factory function for this type. polyfactory/factories/base.py:788: ParameterException ______________ test_optional_url_field_parsed_correctly[RedisDsn] ______________ type_ = @pytest.mark.parametrize( "type_", [AnyUrl, HttpUrl, KafkaDsn, PostgresDsn, RedisDsn, AmqpDsn, AnyHttpUrl], ) def test_optional_url_field_parsed_correctly(type_: TypeAlias) -> None: class MyModel(BaseModel): url: Optional[type_] class MyFactory(ModelFactory[MyModel]): __model__ = MyModel > while not (url := MyFactory.build().url): tests/test_data_parsing.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ polyfactory/factories/pydantic_factory.py:473: in build processed_kwargs = cls.process_kwargs(**kwargs) polyfactory/factories/base.py:994: in process_kwargs field_result = cls.get_field_value( polyfactory/factories/base.py:720: in get_field_value return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = .MyFactory'> field_meta = field_build_parameters = None build_context = {'factory_use_construct': False, 'seen_models': {.MyModel'>}} @classmethod def get_field_value( # noqa: C901, PLR0911, PLR0912 cls, field_meta: FieldMeta, field_build_parameters: Any | None = None, build_context: BuildContext | None = None, ) -> Any: """Return a field value on the subclass if existing, otherwise returns a mock value. :param field_meta: FieldMeta instance. :param field_build_parameters: Any build parameters passed to the factory as kwarg values. :param build_context: BuildContext data for current build. :returns: An arbitrary value. """ build_context = cls._get_build_context(build_context) if cls.is_ignored_type(field_meta.annotation): return None if field_build_parameters is None and cls.should_set_none_value(field_meta=field_meta): return None unwrapped_annotation = unwrap_annotation(field_meta.annotation, random=cls.__random__) if is_literal(annotation=unwrapped_annotation) and (literal_args := get_args(unwrapped_annotation)): return cls.__random__.choice(literal_args) if isinstance(unwrapped_annotation, EnumMeta): return cls.__random__.choice(list(unwrapped_annotation)) if field_meta.constraints: return cls.get_constrained_field_value( annotation=unwrapped_annotation, field_meta=field_meta, field_build_parameters=field_build_parameters, build_context=build_context, ) if is_union(field_meta.annotation) and field_meta.children: seen_models = build_context["seen_models"] children = [child for child in field_meta.children if child.annotation not in seen_models] # `None` is removed from the children when creating FieldMeta so when `children` # is empty, it must mean that the field meta is an optional type. if children: return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) if BaseFactory.is_factory_type(annotation=unwrapped_annotation): if not field_build_parameters and unwrapped_annotation in build_context["seen_models"]: return None if is_optional(field_meta.annotation) else Null return cls._get_or_create_factory(model=unwrapped_annotation).build( _build_context=build_context, **(field_build_parameters if isinstance(field_build_parameters, Mapping) else {}), ) if BaseFactory.is_batch_factory_type(annotation=unwrapped_annotation): factory = cls._get_or_create_factory(model=field_meta.type_args[0]) if isinstance(field_build_parameters, Sequence): return [ factory.build(_build_context=build_context, **field_parameters) for field_parameters in field_build_parameters ] if field_meta.type_args[0] in build_context["seen_models"]: return [] if not cls.__randomize_collection_length__: return [factory.build(_build_context=build_context)] batch_size = cls.__random__.randint(cls.__min_collection_length__, cls.__max_collection_length__) return factory.batch(size=batch_size, _build_context=build_context) if (origin := get_type_origin(unwrapped_annotation)) and is_safe_subclass(origin, Collection): if cls.__randomize_collection_length__: collection_type = get_collection_type(unwrapped_annotation) if collection_type != dict: return handle_constrained_collection( collection_type=collection_type, # type: ignore[type-var] factory=cls, item_type=Any, field_meta=field_meta.children[0] if field_meta.children else field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_constrained_mapping( factory=cls, field_meta=field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_collection_type( field_meta, origin, cls, field_build_parameters=field_build_parameters, build_context=build_context ) if provider := cls.get_provider_map().get(unwrapped_annotation): return provider() if isinstance(unwrapped_annotation, TypeVar): return create_random_string(cls.__random__, min_length=1, max_length=10) if callable(unwrapped_annotation): # if value is a callable we can try to naively call it. # this will work for callables that do not require any parameters passed with suppress(Exception): return unwrapped_annotation() msg = f"Unsupported type: {unwrapped_annotation!r}\n\nEither extend the providers map or add a factory function for this type." > raise ParameterException( msg, ) E polyfactory.exceptions.ParameterException: Unsupported type: E E Either extend the providers map or add a factory function for this type. polyfactory/factories/base.py:788: ParameterException ______________ test_optional_url_field_parsed_correctly[AmqpDsn] _______________ type_ = @pytest.mark.parametrize( "type_", [AnyUrl, HttpUrl, KafkaDsn, PostgresDsn, RedisDsn, AmqpDsn, AnyHttpUrl], ) def test_optional_url_field_parsed_correctly(type_: TypeAlias) -> None: class MyModel(BaseModel): url: Optional[type_] class MyFactory(ModelFactory[MyModel]): __model__ = MyModel > while not (url := MyFactory.build().url): tests/test_data_parsing.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ polyfactory/factories/pydantic_factory.py:473: in build processed_kwargs = cls.process_kwargs(**kwargs) polyfactory/factories/base.py:994: in process_kwargs field_result = cls.get_field_value( polyfactory/factories/base.py:720: in get_field_value return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = .MyFactory'> field_meta = field_build_parameters = None build_context = {'factory_use_construct': False, 'seen_models': {.MyModel'>}} @classmethod def get_field_value( # noqa: C901, PLR0911, PLR0912 cls, field_meta: FieldMeta, field_build_parameters: Any | None = None, build_context: BuildContext | None = None, ) -> Any: """Return a field value on the subclass if existing, otherwise returns a mock value. :param field_meta: FieldMeta instance. :param field_build_parameters: Any build parameters passed to the factory as kwarg values. :param build_context: BuildContext data for current build. :returns: An arbitrary value. """ build_context = cls._get_build_context(build_context) if cls.is_ignored_type(field_meta.annotation): return None if field_build_parameters is None and cls.should_set_none_value(field_meta=field_meta): return None unwrapped_annotation = unwrap_annotation(field_meta.annotation, random=cls.__random__) if is_literal(annotation=unwrapped_annotation) and (literal_args := get_args(unwrapped_annotation)): return cls.__random__.choice(literal_args) if isinstance(unwrapped_annotation, EnumMeta): return cls.__random__.choice(list(unwrapped_annotation)) if field_meta.constraints: return cls.get_constrained_field_value( annotation=unwrapped_annotation, field_meta=field_meta, field_build_parameters=field_build_parameters, build_context=build_context, ) if is_union(field_meta.annotation) and field_meta.children: seen_models = build_context["seen_models"] children = [child for child in field_meta.children if child.annotation not in seen_models] # `None` is removed from the children when creating FieldMeta so when `children` # is empty, it must mean that the field meta is an optional type. if children: return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) if BaseFactory.is_factory_type(annotation=unwrapped_annotation): if not field_build_parameters and unwrapped_annotation in build_context["seen_models"]: return None if is_optional(field_meta.annotation) else Null return cls._get_or_create_factory(model=unwrapped_annotation).build( _build_context=build_context, **(field_build_parameters if isinstance(field_build_parameters, Mapping) else {}), ) if BaseFactory.is_batch_factory_type(annotation=unwrapped_annotation): factory = cls._get_or_create_factory(model=field_meta.type_args[0]) if isinstance(field_build_parameters, Sequence): return [ factory.build(_build_context=build_context, **field_parameters) for field_parameters in field_build_parameters ] if field_meta.type_args[0] in build_context["seen_models"]: return [] if not cls.__randomize_collection_length__: return [factory.build(_build_context=build_context)] batch_size = cls.__random__.randint(cls.__min_collection_length__, cls.__max_collection_length__) return factory.batch(size=batch_size, _build_context=build_context) if (origin := get_type_origin(unwrapped_annotation)) and is_safe_subclass(origin, Collection): if cls.__randomize_collection_length__: collection_type = get_collection_type(unwrapped_annotation) if collection_type != dict: return handle_constrained_collection( collection_type=collection_type, # type: ignore[type-var] factory=cls, item_type=Any, field_meta=field_meta.children[0] if field_meta.children else field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_constrained_mapping( factory=cls, field_meta=field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_collection_type( field_meta, origin, cls, field_build_parameters=field_build_parameters, build_context=build_context ) if provider := cls.get_provider_map().get(unwrapped_annotation): return provider() if isinstance(unwrapped_annotation, TypeVar): return create_random_string(cls.__random__, min_length=1, max_length=10) if callable(unwrapped_annotation): # if value is a callable we can try to naively call it. # this will work for callables that do not require any parameters passed with suppress(Exception): return unwrapped_annotation() msg = f"Unsupported type: {unwrapped_annotation!r}\n\nEither extend the providers map or add a factory function for this type." > raise ParameterException( msg, ) E polyfactory.exceptions.ParameterException: Unsupported type: E E Either extend the providers map or add a factory function for this type. polyfactory/factories/base.py:788: ParameterException __________________________ test_type_property_parsing __________________________ def test_type_property_parsing() -> None: class Base(BaseModel): if IS_PYDANTIC_V2: MongoDsn_pydantic_type: pydantic.networks.MongoDsn MariaDBDsn_pydantic_type: pydantic.networks.MariaDBDsn CockroachDsn_pydantic_type: pydantic.networks.CockroachDsn MySQLDsn_pydantic_type: pydantic.networks.MySQLDsn PastDatetime_pydantic_type: pydantic.PastDatetime FutureDatetime_pydantic_type: pydantic.FutureDatetime AwareDatetime_pydantic_type: pydantic.AwareDatetime NaiveDatetime_pydantic_type: pydantic.NaiveDatetime else: PyObject_pydantic_type: pydantic.types.PyObject Color_pydantic_type: pydantic.color.Color class MyModel(Base): object_field: object float_field: float int_field: int bool_field: bool str_field: str bytes_field: bytes # built-in objects dict_field: dict tuple_field: tuple list_field: list set_field: set frozenset_field: frozenset deque_field: deque # standard library objects Path_field: Path Decimal_field: Decimal UUID_field: UUID # datetime datetime_field: datetime date_field: date time_field: time timedelta_field: timedelta # ip addresses IPv4Address_field: IPv4Address IPv4Interface_field: IPv4Interface IPv4Network_field: IPv4Network IPv6Address_field: IPv6Address IPv6Interface_field: IPv6Interface IPv6Network_field: IPv6Network # types Callable_field: Callable # pydantic specific ByteSize_pydantic_type: ByteSize PositiveInt_pydantic_type: PositiveInt FilePath_pydantic_type: FilePath NegativeFloat_pydantic_type: NegativeFloat NegativeInt_pydantic_type: NegativeInt PositiveFloat_pydantic_type: PositiveFloat NonPositiveFloat_pydantic_type: NonPositiveFloat NonNegativeInt_pydantic_type: NonNegativeInt StrictInt_pydantic_type: StrictInt StrictBool_pydantic_type: StrictBool StrictBytes_pydantic_type: StrictBytes StrictFloat_pydantic_type: StrictFloat StrictStr_pydantic_type: StrictStr DirectoryPath_pydantic_type: DirectoryPath EmailStr_pydantic_type: EmailStr NameEmail_pydantic_type: NameEmail Json_pydantic_type: Json AnyUrl_pydantic_type: AnyUrl AnyHttpUrl_pydantic_type: AnyHttpUrl HttpUrl_pydantic_type: HttpUrl PostgresDsn_pydantic_type: PostgresDsn RedisDsn_pydantic_type: RedisDsn UUID1_pydantic_type: UUID1 UUID3_pydantic_type: UUID3 UUID4_pydantic_type: UUID4 UUID5_pydantic_type: UUID5 SecretBytes_pydantic_type: SecretBytes SecretStr_pydantic_type: SecretStr IPvAnyAddress_pydantic_type: IPvAnyAddress IPvAnyInterface_pydantic_type: IPvAnyInterface IPvAnyNetwork_pydantic_type: IPvAnyNetwork AmqpDsn_pydantic_type: AmqpDsn KafkaDsn_pydantic_type: KafkaDsn PastDate_pydantic_type: PastDate FutureDate_pydantic_type: FutureDate Counter_pydantic_type: Counter class MyFactory(ModelFactory): __model__ = MyModel > result = MyFactory.build() tests/test_pydantic_factory.py:577: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ polyfactory/factories/pydantic_factory.py:473: in build processed_kwargs = cls.process_kwargs(**kwargs) polyfactory/factories/base.py:994: in process_kwargs field_result = cls.get_field_value( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = .MyFactory'> field_meta = field_build_parameters = None build_context = {'factory_use_construct': False, 'seen_models': {.MyModel'>}} @classmethod def get_field_value( # noqa: C901, PLR0911, PLR0912 cls, field_meta: FieldMeta, field_build_parameters: Any | None = None, build_context: BuildContext | None = None, ) -> Any: """Return a field value on the subclass if existing, otherwise returns a mock value. :param field_meta: FieldMeta instance. :param field_build_parameters: Any build parameters passed to the factory as kwarg values. :param build_context: BuildContext data for current build. :returns: An arbitrary value. """ build_context = cls._get_build_context(build_context) if cls.is_ignored_type(field_meta.annotation): return None if field_build_parameters is None and cls.should_set_none_value(field_meta=field_meta): return None unwrapped_annotation = unwrap_annotation(field_meta.annotation, random=cls.__random__) if is_literal(annotation=unwrapped_annotation) and (literal_args := get_args(unwrapped_annotation)): return cls.__random__.choice(literal_args) if isinstance(unwrapped_annotation, EnumMeta): return cls.__random__.choice(list(unwrapped_annotation)) if field_meta.constraints: return cls.get_constrained_field_value( annotation=unwrapped_annotation, field_meta=field_meta, field_build_parameters=field_build_parameters, build_context=build_context, ) if is_union(field_meta.annotation) and field_meta.children: seen_models = build_context["seen_models"] children = [child for child in field_meta.children if child.annotation not in seen_models] # `None` is removed from the children when creating FieldMeta so when `children` # is empty, it must mean that the field meta is an optional type. if children: return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) if BaseFactory.is_factory_type(annotation=unwrapped_annotation): if not field_build_parameters and unwrapped_annotation in build_context["seen_models"]: return None if is_optional(field_meta.annotation) else Null return cls._get_or_create_factory(model=unwrapped_annotation).build( _build_context=build_context, **(field_build_parameters if isinstance(field_build_parameters, Mapping) else {}), ) if BaseFactory.is_batch_factory_type(annotation=unwrapped_annotation): factory = cls._get_or_create_factory(model=field_meta.type_args[0]) if isinstance(field_build_parameters, Sequence): return [ factory.build(_build_context=build_context, **field_parameters) for field_parameters in field_build_parameters ] if field_meta.type_args[0] in build_context["seen_models"]: return [] if not cls.__randomize_collection_length__: return [factory.build(_build_context=build_context)] batch_size = cls.__random__.randint(cls.__min_collection_length__, cls.__max_collection_length__) return factory.batch(size=batch_size, _build_context=build_context) if (origin := get_type_origin(unwrapped_annotation)) and is_safe_subclass(origin, Collection): if cls.__randomize_collection_length__: collection_type = get_collection_type(unwrapped_annotation) if collection_type != dict: return handle_constrained_collection( collection_type=collection_type, # type: ignore[type-var] factory=cls, item_type=Any, field_meta=field_meta.children[0] if field_meta.children else field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_constrained_mapping( factory=cls, field_meta=field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_collection_type( field_meta, origin, cls, field_build_parameters=field_build_parameters, build_context=build_context ) if provider := cls.get_provider_map().get(unwrapped_annotation): return provider() if isinstance(unwrapped_annotation, TypeVar): return create_random_string(cls.__random__, min_length=1, max_length=10) if callable(unwrapped_annotation): # if value is a callable we can try to naively call it. # this will work for callables that do not require any parameters passed with suppress(Exception): return unwrapped_annotation() msg = f"Unsupported type: {unwrapped_annotation!r}\n\nEither extend the providers map or add a factory function for this type." > raise ParameterException( msg, ) E polyfactory.exceptions.ParameterException: Unsupported type: E E Either extend the providers map or add a factory function for this type. polyfactory/factories/base.py:788: ParameterException ______________ test_optional_url_field_parsed_correctly[KafkaDsn] ______________ type_ = @pytest.mark.parametrize( "type_", [AnyUrl, HttpUrl, KafkaDsn, PostgresDsn, RedisDsn, AmqpDsn, AnyHttpUrl], ) def test_optional_url_field_parsed_correctly(type_: TypeAlias) -> None: class MyModel(BaseModel): url: Optional[type_] class MyFactory(ModelFactory[MyModel]): __model__ = MyModel > while not (url := MyFactory.build().url): tests/test_pydantic_factory.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ polyfactory/factories/pydantic_factory.py:473: in build processed_kwargs = cls.process_kwargs(**kwargs) polyfactory/factories/base.py:994: in process_kwargs field_result = cls.get_field_value( polyfactory/factories/base.py:720: in get_field_value return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = .MyFactory'> field_meta = field_build_parameters = None build_context = {'factory_use_construct': False, 'seen_models': {.MyModel'>}} @classmethod def get_field_value( # noqa: C901, PLR0911, PLR0912 cls, field_meta: FieldMeta, field_build_parameters: Any | None = None, build_context: BuildContext | None = None, ) -> Any: """Return a field value on the subclass if existing, otherwise returns a mock value. :param field_meta: FieldMeta instance. :param field_build_parameters: Any build parameters passed to the factory as kwarg values. :param build_context: BuildContext data for current build. :returns: An arbitrary value. """ build_context = cls._get_build_context(build_context) if cls.is_ignored_type(field_meta.annotation): return None if field_build_parameters is None and cls.should_set_none_value(field_meta=field_meta): return None unwrapped_annotation = unwrap_annotation(field_meta.annotation, random=cls.__random__) if is_literal(annotation=unwrapped_annotation) and (literal_args := get_args(unwrapped_annotation)): return cls.__random__.choice(literal_args) if isinstance(unwrapped_annotation, EnumMeta): return cls.__random__.choice(list(unwrapped_annotation)) if field_meta.constraints: return cls.get_constrained_field_value( annotation=unwrapped_annotation, field_meta=field_meta, field_build_parameters=field_build_parameters, build_context=build_context, ) if is_union(field_meta.annotation) and field_meta.children: seen_models = build_context["seen_models"] children = [child for child in field_meta.children if child.annotation not in seen_models] # `None` is removed from the children when creating FieldMeta so when `children` # is empty, it must mean that the field meta is an optional type. if children: return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) if BaseFactory.is_factory_type(annotation=unwrapped_annotation): if not field_build_parameters and unwrapped_annotation in build_context["seen_models"]: return None if is_optional(field_meta.annotation) else Null return cls._get_or_create_factory(model=unwrapped_annotation).build( _build_context=build_context, **(field_build_parameters if isinstance(field_build_parameters, Mapping) else {}), ) if BaseFactory.is_batch_factory_type(annotation=unwrapped_annotation): factory = cls._get_or_create_factory(model=field_meta.type_args[0]) if isinstance(field_build_parameters, Sequence): return [ factory.build(_build_context=build_context, **field_parameters) for field_parameters in field_build_parameters ] if field_meta.type_args[0] in build_context["seen_models"]: return [] if not cls.__randomize_collection_length__: return [factory.build(_build_context=build_context)] batch_size = cls.__random__.randint(cls.__min_collection_length__, cls.__max_collection_length__) return factory.batch(size=batch_size, _build_context=build_context) if (origin := get_type_origin(unwrapped_annotation)) and is_safe_subclass(origin, Collection): if cls.__randomize_collection_length__: collection_type = get_collection_type(unwrapped_annotation) if collection_type != dict: return handle_constrained_collection( collection_type=collection_type, # type: ignore[type-var] factory=cls, item_type=Any, field_meta=field_meta.children[0] if field_meta.children else field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_constrained_mapping( factory=cls, field_meta=field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_collection_type( field_meta, origin, cls, field_build_parameters=field_build_parameters, build_context=build_context ) if provider := cls.get_provider_map().get(unwrapped_annotation): return provider() if isinstance(unwrapped_annotation, TypeVar): return create_random_string(cls.__random__, min_length=1, max_length=10) if callable(unwrapped_annotation): # if value is a callable we can try to naively call it. # this will work for callables that do not require any parameters passed with suppress(Exception): return unwrapped_annotation() msg = f"Unsupported type: {unwrapped_annotation!r}\n\nEither extend the providers map or add a factory function for this type." > raise ParameterException( msg, ) E polyfactory.exceptions.ParameterException: Unsupported type: E E Either extend the providers map or add a factory function for this type. polyfactory/factories/base.py:788: ParameterException ____________ test_optional_url_field_parsed_correctly[PostgresDsn] _____________ type_ = @pytest.mark.parametrize( "type_", [AnyUrl, HttpUrl, KafkaDsn, PostgresDsn, RedisDsn, AmqpDsn, AnyHttpUrl], ) def test_optional_url_field_parsed_correctly(type_: TypeAlias) -> None: class MyModel(BaseModel): url: Optional[type_] class MyFactory(ModelFactory[MyModel]): __model__ = MyModel > while not (url := MyFactory.build().url): tests/test_pydantic_factory.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ polyfactory/factories/pydantic_factory.py:473: in build processed_kwargs = cls.process_kwargs(**kwargs) polyfactory/factories/base.py:994: in process_kwargs field_result = cls.get_field_value( polyfactory/factories/base.py:720: in get_field_value return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = .MyFactory'> field_meta = field_build_parameters = None build_context = {'factory_use_construct': False, 'seen_models': {.MyModel'>}} @classmethod def get_field_value( # noqa: C901, PLR0911, PLR0912 cls, field_meta: FieldMeta, field_build_parameters: Any | None = None, build_context: BuildContext | None = None, ) -> Any: """Return a field value on the subclass if existing, otherwise returns a mock value. :param field_meta: FieldMeta instance. :param field_build_parameters: Any build parameters passed to the factory as kwarg values. :param build_context: BuildContext data for current build. :returns: An arbitrary value. """ build_context = cls._get_build_context(build_context) if cls.is_ignored_type(field_meta.annotation): return None if field_build_parameters is None and cls.should_set_none_value(field_meta=field_meta): return None unwrapped_annotation = unwrap_annotation(field_meta.annotation, random=cls.__random__) if is_literal(annotation=unwrapped_annotation) and (literal_args := get_args(unwrapped_annotation)): return cls.__random__.choice(literal_args) if isinstance(unwrapped_annotation, EnumMeta): return cls.__random__.choice(list(unwrapped_annotation)) if field_meta.constraints: return cls.get_constrained_field_value( annotation=unwrapped_annotation, field_meta=field_meta, field_build_parameters=field_build_parameters, build_context=build_context, ) if is_union(field_meta.annotation) and field_meta.children: seen_models = build_context["seen_models"] children = [child for child in field_meta.children if child.annotation not in seen_models] # `None` is removed from the children when creating FieldMeta so when `children` # is empty, it must mean that the field meta is an optional type. if children: return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) if BaseFactory.is_factory_type(annotation=unwrapped_annotation): if not field_build_parameters and unwrapped_annotation in build_context["seen_models"]: return None if is_optional(field_meta.annotation) else Null return cls._get_or_create_factory(model=unwrapped_annotation).build( _build_context=build_context, **(field_build_parameters if isinstance(field_build_parameters, Mapping) else {}), ) if BaseFactory.is_batch_factory_type(annotation=unwrapped_annotation): factory = cls._get_or_create_factory(model=field_meta.type_args[0]) if isinstance(field_build_parameters, Sequence): return [ factory.build(_build_context=build_context, **field_parameters) for field_parameters in field_build_parameters ] if field_meta.type_args[0] in build_context["seen_models"]: return [] if not cls.__randomize_collection_length__: return [factory.build(_build_context=build_context)] batch_size = cls.__random__.randint(cls.__min_collection_length__, cls.__max_collection_length__) return factory.batch(size=batch_size, _build_context=build_context) if (origin := get_type_origin(unwrapped_annotation)) and is_safe_subclass(origin, Collection): if cls.__randomize_collection_length__: collection_type = get_collection_type(unwrapped_annotation) if collection_type != dict: return handle_constrained_collection( collection_type=collection_type, # type: ignore[type-var] factory=cls, item_type=Any, field_meta=field_meta.children[0] if field_meta.children else field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_constrained_mapping( factory=cls, field_meta=field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_collection_type( field_meta, origin, cls, field_build_parameters=field_build_parameters, build_context=build_context ) if provider := cls.get_provider_map().get(unwrapped_annotation): return provider() if isinstance(unwrapped_annotation, TypeVar): return create_random_string(cls.__random__, min_length=1, max_length=10) if callable(unwrapped_annotation): # if value is a callable we can try to naively call it. # this will work for callables that do not require any parameters passed with suppress(Exception): return unwrapped_annotation() msg = f"Unsupported type: {unwrapped_annotation!r}\n\nEither extend the providers map or add a factory function for this type." > raise ParameterException( msg, ) E polyfactory.exceptions.ParameterException: Unsupported type: E E Either extend the providers map or add a factory function for this type. polyfactory/factories/base.py:788: ParameterException ______________ test_optional_url_field_parsed_correctly[RedisDsn] ______________ type_ = @pytest.mark.parametrize( "type_", [AnyUrl, HttpUrl, KafkaDsn, PostgresDsn, RedisDsn, AmqpDsn, AnyHttpUrl], ) def test_optional_url_field_parsed_correctly(type_: TypeAlias) -> None: class MyModel(BaseModel): url: Optional[type_] class MyFactory(ModelFactory[MyModel]): __model__ = MyModel > while not (url := MyFactory.build().url): tests/test_pydantic_factory.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ polyfactory/factories/pydantic_factory.py:473: in build processed_kwargs = cls.process_kwargs(**kwargs) polyfactory/factories/base.py:994: in process_kwargs field_result = cls.get_field_value( polyfactory/factories/base.py:720: in get_field_value return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = .MyFactory'> field_meta = field_build_parameters = None build_context = {'factory_use_construct': False, 'seen_models': {.MyModel'>}} @classmethod def get_field_value( # noqa: C901, PLR0911, PLR0912 cls, field_meta: FieldMeta, field_build_parameters: Any | None = None, build_context: BuildContext | None = None, ) -> Any: """Return a field value on the subclass if existing, otherwise returns a mock value. :param field_meta: FieldMeta instance. :param field_build_parameters: Any build parameters passed to the factory as kwarg values. :param build_context: BuildContext data for current build. :returns: An arbitrary value. """ build_context = cls._get_build_context(build_context) if cls.is_ignored_type(field_meta.annotation): return None if field_build_parameters is None and cls.should_set_none_value(field_meta=field_meta): return None unwrapped_annotation = unwrap_annotation(field_meta.annotation, random=cls.__random__) if is_literal(annotation=unwrapped_annotation) and (literal_args := get_args(unwrapped_annotation)): return cls.__random__.choice(literal_args) if isinstance(unwrapped_annotation, EnumMeta): return cls.__random__.choice(list(unwrapped_annotation)) if field_meta.constraints: return cls.get_constrained_field_value( annotation=unwrapped_annotation, field_meta=field_meta, field_build_parameters=field_build_parameters, build_context=build_context, ) if is_union(field_meta.annotation) and field_meta.children: seen_models = build_context["seen_models"] children = [child for child in field_meta.children if child.annotation not in seen_models] # `None` is removed from the children when creating FieldMeta so when `children` # is empty, it must mean that the field meta is an optional type. if children: return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) if BaseFactory.is_factory_type(annotation=unwrapped_annotation): if not field_build_parameters and unwrapped_annotation in build_context["seen_models"]: return None if is_optional(field_meta.annotation) else Null return cls._get_or_create_factory(model=unwrapped_annotation).build( _build_context=build_context, **(field_build_parameters if isinstance(field_build_parameters, Mapping) else {}), ) if BaseFactory.is_batch_factory_type(annotation=unwrapped_annotation): factory = cls._get_or_create_factory(model=field_meta.type_args[0]) if isinstance(field_build_parameters, Sequence): return [ factory.build(_build_context=build_context, **field_parameters) for field_parameters in field_build_parameters ] if field_meta.type_args[0] in build_context["seen_models"]: return [] if not cls.__randomize_collection_length__: return [factory.build(_build_context=build_context)] batch_size = cls.__random__.randint(cls.__min_collection_length__, cls.__max_collection_length__) return factory.batch(size=batch_size, _build_context=build_context) if (origin := get_type_origin(unwrapped_annotation)) and is_safe_subclass(origin, Collection): if cls.__randomize_collection_length__: collection_type = get_collection_type(unwrapped_annotation) if collection_type != dict: return handle_constrained_collection( collection_type=collection_type, # type: ignore[type-var] factory=cls, item_type=Any, field_meta=field_meta.children[0] if field_meta.children else field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_constrained_mapping( factory=cls, field_meta=field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_collection_type( field_meta, origin, cls, field_build_parameters=field_build_parameters, build_context=build_context ) if provider := cls.get_provider_map().get(unwrapped_annotation): return provider() if isinstance(unwrapped_annotation, TypeVar): return create_random_string(cls.__random__, min_length=1, max_length=10) if callable(unwrapped_annotation): # if value is a callable we can try to naively call it. # this will work for callables that do not require any parameters passed with suppress(Exception): return unwrapped_annotation() msg = f"Unsupported type: {unwrapped_annotation!r}\n\nEither extend the providers map or add a factory function for this type." > raise ParameterException( msg, ) E polyfactory.exceptions.ParameterException: Unsupported type: E E Either extend the providers map or add a factory function for this type. polyfactory/factories/base.py:788: ParameterException ______________ test_optional_url_field_parsed_correctly[AmqpDsn] _______________ type_ = @pytest.mark.parametrize( "type_", [AnyUrl, HttpUrl, KafkaDsn, PostgresDsn, RedisDsn, AmqpDsn, AnyHttpUrl], ) def test_optional_url_field_parsed_correctly(type_: TypeAlias) -> None: class MyModel(BaseModel): url: Optional[type_] class MyFactory(ModelFactory[MyModel]): __model__ = MyModel > while not (url := MyFactory.build().url): tests/test_pydantic_factory.py:598: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ polyfactory/factories/pydantic_factory.py:473: in build processed_kwargs = cls.process_kwargs(**kwargs) polyfactory/factories/base.py:994: in process_kwargs field_result = cls.get_field_value( polyfactory/factories/base.py:720: in get_field_value return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = .MyFactory'> field_meta = field_build_parameters = None build_context = {'factory_use_construct': False, 'seen_models': {.MyModel'>}} @classmethod def get_field_value( # noqa: C901, PLR0911, PLR0912 cls, field_meta: FieldMeta, field_build_parameters: Any | None = None, build_context: BuildContext | None = None, ) -> Any: """Return a field value on the subclass if existing, otherwise returns a mock value. :param field_meta: FieldMeta instance. :param field_build_parameters: Any build parameters passed to the factory as kwarg values. :param build_context: BuildContext data for current build. :returns: An arbitrary value. """ build_context = cls._get_build_context(build_context) if cls.is_ignored_type(field_meta.annotation): return None if field_build_parameters is None and cls.should_set_none_value(field_meta=field_meta): return None unwrapped_annotation = unwrap_annotation(field_meta.annotation, random=cls.__random__) if is_literal(annotation=unwrapped_annotation) and (literal_args := get_args(unwrapped_annotation)): return cls.__random__.choice(literal_args) if isinstance(unwrapped_annotation, EnumMeta): return cls.__random__.choice(list(unwrapped_annotation)) if field_meta.constraints: return cls.get_constrained_field_value( annotation=unwrapped_annotation, field_meta=field_meta, field_build_parameters=field_build_parameters, build_context=build_context, ) if is_union(field_meta.annotation) and field_meta.children: seen_models = build_context["seen_models"] children = [child for child in field_meta.children if child.annotation not in seen_models] # `None` is removed from the children when creating FieldMeta so when `children` # is empty, it must mean that the field meta is an optional type. if children: return cls.get_field_value(cls.__random__.choice(children), field_build_parameters, build_context) if BaseFactory.is_factory_type(annotation=unwrapped_annotation): if not field_build_parameters and unwrapped_annotation in build_context["seen_models"]: return None if is_optional(field_meta.annotation) else Null return cls._get_or_create_factory(model=unwrapped_annotation).build( _build_context=build_context, **(field_build_parameters if isinstance(field_build_parameters, Mapping) else {}), ) if BaseFactory.is_batch_factory_type(annotation=unwrapped_annotation): factory = cls._get_or_create_factory(model=field_meta.type_args[0]) if isinstance(field_build_parameters, Sequence): return [ factory.build(_build_context=build_context, **field_parameters) for field_parameters in field_build_parameters ] if field_meta.type_args[0] in build_context["seen_models"]: return [] if not cls.__randomize_collection_length__: return [factory.build(_build_context=build_context)] batch_size = cls.__random__.randint(cls.__min_collection_length__, cls.__max_collection_length__) return factory.batch(size=batch_size, _build_context=build_context) if (origin := get_type_origin(unwrapped_annotation)) and is_safe_subclass(origin, Collection): if cls.__randomize_collection_length__: collection_type = get_collection_type(unwrapped_annotation) if collection_type != dict: return handle_constrained_collection( collection_type=collection_type, # type: ignore[type-var] factory=cls, item_type=Any, field_meta=field_meta.children[0] if field_meta.children else field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_constrained_mapping( factory=cls, field_meta=field_meta, min_items=cls.__min_collection_length__, max_items=cls.__max_collection_length__, field_build_parameters=field_build_parameters, build_context=build_context, ) return handle_collection_type( field_meta, origin, cls, field_build_parameters=field_build_parameters, build_context=build_context ) if provider := cls.get_provider_map().get(unwrapped_annotation): return provider() if isinstance(unwrapped_annotation, TypeVar): return create_random_string(cls.__random__, min_length=1, max_length=10) if callable(unwrapped_annotation): # if value is a callable we can try to naively call it. # this will work for callables that do not require any parameters passed with suppress(Exception): return unwrapped_annotation() msg = f"Unsupported type: {unwrapped_annotation!r}\n\nEither extend the providers map or add a factory function for this type." > raise ParameterException( msg, ) E polyfactory.exceptions.ParameterException: Unsupported type: E E Either extend the providers map or add a factory function for this type. polyfactory/factories/base.py:788: ParameterException =============================== warnings summary =============================== ../../../../lib/python3/site-packages/pydantic/_migration.py:283 ../../../../lib/python3/site-packages/pydantic/_migration.py:283 /usr/lib/python3/site-packages/pydantic/_migration.py:283: UserWarning: `pydantic.generics:GenericModel` has been moved to `pydantic.BaseModel`. warnings.warn(f'`{import_path}` has been moved to `{new_location}`.') tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_custom_type_from_type_decorator[UUID] tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py::test_sqlalchemy_custom_type_from_type_decorator[None] /usr/src/RPM/BUILD/polyfactory-2.16.2/tests/sqlalchemy_factory/test_sqlalchemy_factory_common.py:436: SAWarning: This declarative base already contains a class with the same class name and module name as test_sqlalchemy_factory_common.Model, and will be replaced in the string-lookup table. class Model(Base): tests/test_base_factories.py::test_multiple_base_pydantic_factories[False] tests/test_base_factories.py::test_multiple_base_pydantic_factories[True] tests/test_complex_types.py::test_raises_for_user_defined_types tests/test_data_parsing.py::test_class_parsing tests/test_data_parsing.py::test_class_parsing tests/test_factory_fields.py::test_use tests/test_pydantic_factory.py::test_build_instance_by_field_name_with_allow_population_by_field_name_flag /usr/lib/python3/site-packages/pydantic/_internal/_config.py:295: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/ warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning) tests/test_data_parsing.py::test_class_parsing /usr/src/RPM/BUILD/polyfactory-2.16.2/tests/test_data_parsing.py:111: 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.10/migration/ class Config(BaseConfig): tests/test_data_parsing.py::test_class_parsing tests/test_data_parsing.py::test_class_parsing /usr/lib/python3/site-packages/pydantic/deprecated/config.py:50: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/ warnings.warn(_config.DEPRECATION_MESSAGE, DeprecationWarning) tests/test_data_parsing.py::test_class_parsing /usr/src/RPM/BUILD/polyfactory-2.16.2/tests/test_data_parsing.py:138: 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.10/migration/ class Config(BaseConfig): tests/test_dicts.py::test_passing_nested_dict /usr/src/RPM/BUILD/polyfactory-2.16.2/tests/test_dicts.py:26: PydanticDeprecatedSince20: The `dict` method is deprecated; use `model_dump` instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/ assert obj.dict() == {"my_mapping_obj": {"baz": {"val": "bar"}}, "my_mapping_str": {"foo": "bar"}} tests/test_pydantic_factory.py::test_factory_nested_model_collection_construct_coverage /usr/src/RPM/BUILD/polyfactory-2.16.2/tests/test_pydantic_factory.py:231: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_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.10/migration/ @validator("foo") tests/test_pydantic_factory.py::test_factory_use_construct_coverage /usr/src/RPM/BUILD/polyfactory-2.16.2/tests/test_pydantic_factory.py:263: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_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.10/migration/ @validator("invalid") tests/test_pydantic_factory.py::test_factory_use_construct_validator /usr/src/RPM/BUILD/polyfactory-2.16.2/tests/test_pydantic_factory.py:299: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_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.10/migration/ @validator("invalid") tests/test_pydantic_factory.py::test_factory_use_construct_nested_set[FrozenSet] tests/test_pydantic_factory.py::test_factory_use_construct_nested_set[Set] /usr/src/RPM/BUILD/polyfactory-2.16.2/tests/test_pydantic_factory.py:337: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_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.10/migration/ @validator("invalid", allow_reuse=True) tests/test_pydantic_factory.py::test_factory_use_construct_nested_set[FrozenSet] tests/test_pydantic_factory.py::test_factory_use_construct_nested_set[Set] /usr/lib/python3/site-packages/pydantic/deprecated/class_validators.py:121: PydanticDeprecatedSince20: `allow_reuse` is deprecated and will be ignored; it should no longer be necessary. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/ warn(_ALLOW_REUSE_WARNING_MESSAGE, DeprecationWarning) tests/test_pydantic_factory.py::test_build_instance_by_field_name_with_allow_population_by_field_name_flag /usr/lib/python3/site-packages/pydantic/_internal/_config.py:345: UserWarning: Valid config keys have changed in V2: * 'allow_population_by_field_name' has been renamed to 'populate_by_name' warnings.warn(message, UserWarning) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_data_parsing.py::test_optional_url_field_parsed_correctly[KafkaDsn] FAILED tests/test_data_parsing.py::test_optional_url_field_parsed_correctly[PostgresDsn] FAILED tests/test_data_parsing.py::test_optional_url_field_parsed_correctly[RedisDsn] FAILED tests/test_data_parsing.py::test_optional_url_field_parsed_correctly[AmqpDsn] FAILED tests/test_pydantic_factory.py::test_type_property_parsing - polyfacto... FAILED tests/test_pydantic_factory.py::test_optional_url_field_parsed_correctly[KafkaDsn] FAILED tests/test_pydantic_factory.py::test_optional_url_field_parsed_correctly[PostgresDsn] FAILED tests/test_pydantic_factory.py::test_optional_url_field_parsed_correctly[RedisDsn] FAILED tests/test_pydantic_factory.py::test_optional_url_field_parsed_correctly[AmqpDsn] ==== 9 failed, 737 passed, 16 skipped, 4 deselected, 24 warnings in 14.41s ===== error: Bad exit status from /usr/src/tmp/rpm-tmp.21767 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.21767 (%check) Command exited with non-zero status 1 15.40user 1.09system 0:17.68elapsed 93%CPU (0avgtext+0avgdata 130584maxresident)k 0inputs+0outputs (0major+153727minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-polyfactory-2.16.2-alt1.src.rpm' failed. Command exited with non-zero status 1 7.92user 3.30system 0:45.77elapsed 24%CPU (0avgtext+0avgdata 139020maxresident)k 68248inputs+0outputs (0major+358687minor)pagefaults 0swaps