see https://hypothesis.readthedocs.io/en/latest/changes.html#v6-39-0
This release improves Hypothesis' handling of positional-only arguments,
which are now allowed :func:@st.composite <hypothesis.strategies.composite>
strategies.
On Python 3.8 and later, the first arguments to :func:~hypothesis.strategies.builds
and :func:~hypothesis.extra.django.from_model
are now natively positional-only.
In cases which were already errors, the TypeError
from incorrect usage will
therefore be raises immediately when the function is called, rather than when
the strategy object is used.
This release makes :func:~hypothesis.strategies.floats
error consistently when
your floating-point hardware has been configured to violate IEEE-754 for
:wikipedia:subnormal numbers <Subnormal_number>
, instead of
only when an internal assertion was tripped (:issue:3092
).
If this happens to you, passing allow_subnormal=False
will suppress the explicit
error. However, we strongly recommend fixing the root cause by disabling global-effect
unsafe-math compiler options instead, or at least consulting e.g. Simon Byrne's
Beware of fast-math <https://simonbyrne.github.io/notes/fastmath/>
__ explainer first.
This patch fixes a bug in stateful testing, where returning a single value
wrapped in :func:~hypothesis.stateful.multiple
would be printed such that
the assigned variable was a tuple rather than the single element
(:issue:3236
).
This patch fixes a warning under :pypi:pytest
7 relating to our
rich traceback display logic (:issue:3223
).
When distinguishing multiple errors, Hypothesis now looks at the inner
exceptions of :pep:654
ExceptionGroup
\ s.
This patch updates our vendored list of top-level domains <https://www.iana.org/domains/root/db>
__,
which is used by the provisional :func:~hypothesis.provisional.domains
strategy.
This patch fixes some deprecation warnings from :pypi:pytest
7.0,
along with some code formatting and docs updates.
sudo dnf upgrade --refresh --advisory=FEDORA-2022-2b32c63931
Please login to add feedback.
This update has been submitted for testing by salimma.
This update's test gating status has been changed to 'ignored'.
salimma edited this update.
This is very broken. https://github.com/HypothesisWorks/hypothesis/issues/3245
oh, thanks, I'll do a follow-up update once the fix is out
salimma edited this update.
churchyard edited this update.
New build(s):
Removed build(s):
Karma has been reset.
This update has been pushed to testing.
This update can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by bodhi.
This update has been pushed to stable.