Upgrading hypothesis 0.4 to 0.5
Unknown0.4.3 → 0.5.0
UnknownUpgrade verdict
DepDelta hasn't looked for this range's notes yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
class UniqueIdentifier(object) - added:
constructor UniqueIdentifier(identifier) - added:
variable not_set
- added:
export MissingSpecification
- added:
function descriptor_test_suite(descriptor, strategy_table=…, converter_table=…, simplify_is_unique=…, max_examples=…)
- added:
function load_entry_points()
- removed:
function multi_minimize(values, interesting, simplify, complexity)
- added:
class DynamicVariable(object) - added:
constructor DynamicVariable(default) - added:
method DynamicVariable.with_value(value) - added:
property DynamicVariable.value
- added:
method ExtMethod.typekey(arg)
- added:
function hypothesis_home_dir() - added:
function mkdir_p(path) - added:
function set_hypothesis_home_dir(directory) - added:
function storage_directory(name)
- removed:
function complex_equality(x, y, fuzzy=…) - removed:
function dict_equality(x, y, fuzzy=…) - removed:
function float_equality(x, y, fuzzy=…) - removed:
function generic_equality(x, y, fuzzy) - removed:
function nice_string(xs) - removed:
function primitive_equality(x, y, fuzzy) - removed:
function sequence_equality(x, y, fuzzy=…) - removed:
function set_equality(x, y, fuzzy=…) - removed:
variable equality - removed:
variable nice_string_method - added:
class Equality(ExtMethod) - added:
function binary_string(xs) - added:
function complex_equal(x, y, fuzzy=…) - added:
function dict_equal(x, y, fuzzy=…) - added:
function float_equal(x, y, fuzzy=…) - added:
function generic_equal(x, y, fuzzy) - added:
function int_string(xs) - added:
function primitive_equal(x, y, fuzzy) - added:
function sequence_equal(x, y, fuzzy=…) - added:
function set_equal(x, y, fuzzy=…) - added:
function test_string(xs) - added:
function text_string(xs) - added:
variable equal - added:
variable nice_string
- removed:
function hash_everything(l) - removed:
variable hash_everything_method - added:
variable hash_everything
- added:
function add_directory_to_path(d) - added:
function check_valid_identifier(identifier) - added:
function copy_argspec(name, argspec) - added:
function eval_directory() - added:
function proxies(target) - added:
function source_exec_as_module(source) - added:
function unbind_method(f) - added:
variable COPY_ARGSPEC_SCRIPT - added:
variable VALID_PYTHON_IDENTIFIER - added:
variable eval_cache
- added:
class UniformIntParameter(Parameter) - added:
constructor UniformIntParameter(lower_bound, upper_bound) - added:
method UniformIntParameter.draw(random)
- added:
function current_reporter() - added:
function default(value) - added:
function silent(value) - added:
function with_reporter(new_reporter) - added:
variable reporter
- added:
class SmallFloats(FloatStrategy) - added:
field BoolStrategy.size_lower_bound - added:
field BoolStrategy.size_upper_bound - added:
field JustStrategy.size_lower_bound - added:
field JustStrategy.size_upper_bound - added:
field SearchStrategy.size_lower_bound - added:
field SearchStrategy.size_upper_bound - added:
field SmallFloats.max_exponent - added:
field SmallFloats.parameter - added:
method BinaryStringStrategy.has_custom_copy() - added:
method FixedKeysDictStrategy.check_has_custom_copy() - added:
method FixedKeysDictStrategy.custom_copy(value) - added:
method JustStrategy.check_has_custom_copy() - added:
method JustStrategy.custom_copy(value) - added:
method ListStrategy.check_has_custom_copy() - added:
method ListStrategy.custom_copy(value) - added:
method MappedSearchStrategy.check_has_custom_copy() - added:
method OneOfStrategy.check_has_custom_copy() - added:
method OneOfStrategy.custom_copy(value) - added:
method SearchStrategy.check_has_custom_copy() - added:
method SearchStrategy.custom_copy(value) - added:
method SearchStrategy.has_custom_copy() - added:
method SmallFloats.produce(random, pv) - added:
method StringStrategy.has_custom_copy() - added:
method TupleStrategy.check_has_custom_copy() - added:
method TupleStrategy.custom_copy(value) - added:
variable Infinity
- removed:
variable USE_DEFAULT - changed:
constructor Settings(min_satisfying_examples=…, max_examples=…, max_skipped_examples=…, timeout=…, derandomize=…, database=…) → constructor Settings(min_satisfying_examples=…, max_examples=…, timeout=…, derandomize=…, database=…)
- changed:
function given(*generator_arguments, **kwargs) → function given(*generator_arguments, **generator_kwargs) - added:
variable HypothesisProvided
- removed:
constructor Timeout(hypothesis, satisfying_examples, run_time) - changed:
class Timeout(Unfalsifiable) → class Timeout(Unsatisfiable)