2018-09-19 13:35:36 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-hypothesis: updated to 3.71.10 3.71.10: This patch allows :func:~hypothesis.strategies.from_type to handle the empty \ tuple type, :obj:typing.Tuple[()] <python:typing.Tuple>. 3.71.9: This patch updates some internal comments for :pypi:mypy. There is no \ user-visible effect, even for Mypy users. 3.71.8: This patch fixes a rare bug that would cause a particular shrinker pass to raise \ an IndexError, if a shrink improvement changed the underlying data in an \ unexpected way. 3.71.7: This release fixes the broken cross-references in our docs, and adds a CI check \ so we don't add new ones. 3.71.6: This patch fixes two bugs (:issue:944 and :issue:1521), where messages about \ :func:@seed <hypothesis.seed> did not check the current verbosity setting, \ and the wrong settings were active while executing :ref:explicit examples \ <providing-explicit-examples>. 3.71.5: This patch fixes a DeprecationWarning added in Python 3.8 (:issue:1576). 3.71.4: This is a no-op release, which implements automatic DOI minting and code \ archival of Hypothesis via Zenodo. Thanks to CERN and the EU Horizon 2020 \ programme for providing this service! Check our :gh-file:CITATION file for details, or head right on over to \ doi.org/10.5281/zenodo.1412597 3.71.3: This release adds the test name to some deprecation warnings, for easier debugging. 3.71.2: This release makes Hypothesis's memory usage substantially smaller for tests \ with many examples, by bounding the number of past examples it keeps around. You will not see much difference unless you are running tests with \ :obj:~hypothesis.settings.max_examples set to well over 1000, but if you do have \ such tests then you should see memory usage mostly plateau where previously it \ would have grown linearly with time. 3.71.1: This patch adds internal comments to some tree traversals in the core engine. \ There is no user-visible change. 3.71.0: This release deprecates the coverage-guided testing functionality, as it has \ proven brittle and does not really pull its weight. We intend to replace it with something more useful in the future, but the \ feature in its current form does not seem to be worth the cost of using, and \ whatever replaces it will likely look very different. |
2018-09-03 09:39:34 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-hypothesis: updated to 3.70.0 3.70.0: This release adds a fullmatch argument to \ :func:~hypothesis.strategies.from_regex. When fullmatch=True, the whole example \ will match the regex pattern as for :func:python:re.fullmatch. 3.69.12: This release reverts the changes to logging handling in 3.69.11, which broke \ test that use the :pypi:pytest caplog fixture internally because all logging was \ disabled (:issue:1546). 3.69.11: This patch will hide all logging messages produced by test cases before the \ final, minimal, failing test case (:issue:356). 3.69.10: This patch fixes a bug that prevents coverage from reporting unexecuted Python \ files (:issue:1085). 3.69.9: This patch improves the packaging of the Python package by adding LICENSE.txt to \ the sdist (:issue:1311), clarifying the minimum supported versions of :pypi:pytz \ and :pypi:dateutil <python-dateutil> (:issue:1383), and adds keywords to \ the metadata (:issue:1520). 3.69.8: This is an internal change which replaces pickle with json to prevent possible \ security issues. 3.69.7: This patch ensures that :func:~hypothesis.note prints the note for every test \ case when the :obj:~hypothesis.settings.verbosity setting is Verbosity.verbose. \ At normal verbosity it only prints from the final test case. 3.69.6: This patch improves the testing of some internal caching. It should have no \ user-visible effect. 3.69.5: This change performs a small rename and refactoring in the core engine. There is \ no user-visible change. 3.69.4: This change improves the core engine's ability to avoid unnecessary work, by \ consulting its cache of previously-tried inputs in more cases. |
2018-08-27 08:17:33 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-hypothesis: updated to 3.69.3 3.69.3: This patch handles passing an empty :class:python:enum.Enum to \ :func:~hypothesis.strategies.from_type returns \ :func:~hypothesis.strategies.nothing, instead of raising an internal \ :class:python:AssertionError. 3.69.2: This patch fixes a small mistake in an internal comment. There is no \ user-visible change. 3.69.1: This change fixes a small bug in how the core engine consults its cache of \ previously-tried inputs. There is unlikely to be any user-visible change. 3.69.0: This release improves argument validation for stateful testing. If the target or targets of a :func:~hypothesis.stateful.rule are invalid, we \ now raise a useful validation error rather than an internal exception. Passing both the target and targets arguments is deprecated - append the target \ bundle to the targets tuple of bundles instead. Passing the name of a Bundle rather than the Bundle itself is also deprecated. |
2018-08-17 09:15:22 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-hypothesis: updated to 3.68.0 3.68.0: :func:~hypothesis.extra.numpy.arrays now checks that integer and float values \ drawn from elements and fill strategies can be safely cast to the dtype of the \ array, and emits a warning otherwise. Elements in the resulting array could previously violate constraints on the \ elements strategy due to floating-point overflow or truncation of integers to \ fit smaller types. 3.67.1: This release contains a tiny refactoring of the internals. There is no \ user-visible change. 3.67.0: This release adds a width argument to :func:~hypothesis.strategies.floats, to \ generate lower-precision floating point numbers for e.g. Numpy arrays. The generated examples are always instances of Python's native float type, which \ is 64bit, but passing width=32 will ensure that all values can be exactly \ represented as 32bit floats. This can be useful to avoid overflow (to +/- \ infinity), and for efficiency of generation and shrinking. Half-precision floats (width=16) are also supported, but require Numpy if you \ are running Python 3.5 or earlier. |
2018-07-03 09:47:45 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-hypothesis: updated to 3.65.0 3.65.0: This release deprecates the :obj:~hypothesis.settings.max_shrinks setting in \ favor of an internal heuristic. If you need to avoid shrinking examples, use the \ :obj:~hypothesis.settings.phases setting instead. (:issue:1235) 3.64.2: This release fixes a bug where an internal assertion error could sometimes be \ triggered while shrinking a failing test. 3.64.1: This patch fixes type-checking errors in our vendored pretty-printer, which were \ ignored by our mypy config but visible for anyone else (whoops). Thanks to Pi \ Delport for reporting :issue:1359 so promptly. 3.64.0: This release adds :ref:an interface <custom-function-execution> which can \ be used to insert a wrapper between the original test function and :func:@given \ <hypothesis.given> (:issue:1257). This will be particularly useful for \ test runner extensions such as :pypi:pytest-trio, but is not recommended for \ direct use by other users of Hypothesis. 3.63.0: This release adds a new mechanism to infer strategies for classes defined using \ :pypi:attrs, based on the the type, converter, or validator of each attribute. \ This inference is now built in to :func:~hypothesis.strategies.builds and \ :func:~hypothesis.strategies.from_type. On Python 2, :func:~hypothesis.strategies.from_type no longer generates \ instances of int when passed long, or vice-versa. 3.62.0: This release adds PEP 484 type hints to Hypothesis on a provisional basis, using \ the comment-based syntax for Python 2 compatibility. You can :ref:read more \ about our type hints here <our-type-hints>. It also adds the py.typed marker specified in PEP 561. After you pip install \ hypothesis, :pypi:mypy 0.590 or later will therefore type-check your use of our \ public interface! 3.61.0: This release deprecates the use of :class:~hypothesis.settings as a context \ manager, the use of which is somewhat ambiguous. Users should define settings with global state or with the :func:@settings(...) \ <hypothesis.settings> decorator. 3.60.1: Fixed a bug in generating an instance of a Django model from a strategy where \ the primary key is generated as part of the strategy. See :ref:details here \ <django-generating-primary-key>. 3.60.0: This release add initialize decorator for stateful testing (originally discussed \ in :issue:1216). initialize act as a special rule that is only called once, and \ all initialize rules are guaranteed to be called before any normal rule is \ called. |
2018-06-16 14:09:13 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-hypothesis: updated to 3.59.0 3.59.0: This release adds the :func:~hypothesis.strategies.emails strategy, which \ generates unicode strings representing an email address. 3.58.1: This improves the shrinker. It can now reorder examples: 3 1 2 becomes 1 2 3. 3.58.0: This adds a new extra :py:func:~hypothesis.extra.dateutil.timezones strategy \ that generates dateutil timezones. Depends on :pypi:python-dateutil. |
2018-06-06 21:26:09 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-hypothesis: updated to 3.57.0 3.57.0: Using an unordered collection with the :func:~hypothesis.strategies.permutations \ strategy has been deprecated because the order in which e.g. a set shrinks is \ arbitrary. This may cause different results between runs. 3.56.10: This release makes :obj:~hypothesis.settings.define_setting a private method, \ which has the effect of hiding it from the documentation. 3.56.9: This is another release with no functionality changes as part of changes to \ Hypothesis's new release tagging scheme. 3.56.8: This is a release with no functionality changes that moves Hypothesis over to a \ new release tagging scheme. 3.56.7: This release provides a performance improvement for most tests, but in \ particular users of sampled_from who don't have numpy installed should see a \ significant performance improvement. 3.56.6: This patch contains further internal work to support Mypy. There are no \ user-visible changes... yet. |
2018-05-06 11:06:42 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-hypothesis: updated to 3.56.5 3.56.5: This patch contains some internal refactoring to run :pypi:mypy in CI. There are \ no user-visible changes. 3.56.4: This release involves some very minor internal clean up and should have no user \ visible effect at all. 3.56.3: This release fixes a problem introduced in :ref:3.56.0 <v3.56.0> where \ setting the hypothesis home directory (through currently undocumented means) \ would no longer result in the default database location living in the new home \ directory. 3.56.2: This release fixes a problem introduced in :ref:3.56.0 <v3.56.0> where \ setting :obj:~hypothesis.settings.max_examples to 1 would result in tests \ failing with Unsatisfiable. This problem could also occur in other harder to \ trigger circumstances (e.g. by setting it to a low value, having a hard to \ satisfy assumption, and disabling health checks). 3.56.1: This release fixes a problem that was introduced in :ref:3.56.0 <v3.56.0>: \ Use of the :envvar:HYPOTHESIS_VERBOSITY_LEVEL environment variable was, rather \ than deprecated, actually broken due to being read before various setup the \ deprecation path needed was done. It now works correctly (and emits a \ deprecation warning). 3.56.0: This release deprecates several redundant or internally oriented \ :class:~hypothesis.settings, working towards an orthogonal set of configuration \ options that are widely useful without requiring any knowledge of our internals |
2018-04-05 14:43:27 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message: py-hypothesis: updated to 3.55.0 3.55.0: This release includes several improvements to the handling of the \ :obj:~hypothesis.settings.database setting. The :obj:~hypothesis.settings.database_file setting was a historical artefact, \ and you should just use :obj:~hypothesis.settings.database directly. The :envvar:HYPOTHESIS_DATABASE_FILE environment variable is deprecated, in \ favor of :meth:~hypothesis.settings.load_profile and the \ :obj:~hypothesis.settings.database setting. If you have not configured the example database at all and the default location \ is not usable (due to e.g. permissions issues), Hypothesis will fall back to an \ in-memory database. This is not persisted between sessions, but means that the \ defaults work on read-only filesystems. 3.54.0: This release improves the :func:~hypotheses.strategies.complex_numbers strategy, \ which now supports min_magnitude and max_magnitude arguments, along with \ allow_nan and allow_infinity like for :func:~hypotheses.strategies.floats. 3.53.0: This release removes support for Django 1.8, which reached end of life on 2018-04-01. |
2018-03-23 08:51:09 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: py-hypothesis: updated to 3.50.2 3.50.2: This has no user-visible changes except one slight formatting change to one \ docstring, to avoid a deprecation warning. 3.50.1: This patch fixes an internal error introduced in 3.48.0, where a check for the \ Django test runner would expose import-time errors in Django configuration. 3.50.0: This release improves validation of numeric bounds for some strategies. |