Bug: build
fails if max_length
constraint set with scientific notation
#621
Labels
bug
Something isn't working
Description
I set
max_length
to1e3
and thebuild
method fails.The bug seems to have been introduced when python>=3.12.
URL to code causing the issue
No response
MCVE
Steps to reproduce
Screenshots
No response
Logs
Release Version
polyfactory: 2.18.1
python: 3.13.1
Platform
Note
While we are open for sponsoring on GitHub Sponsors and
OpenCollective, we also utilize Polar.sh to engage in pledge-based sponsorship.
Check out all issues funded or available for funding on our Polar.sh dashboard
The text was updated successfully, but these errors were encountered: