Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled weekly dependency update for week 39 #160

Closed
wants to merge 8 commits into from

Conversation

pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Sep 25, 2017

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

asn1crypto 0.22.0 » 0.23.0 PyPI | Changelog | Repo
hypothesis 3.23.2 » 3.30.2 PyPI | Changelog | Repo
pyasn1-modules 0.1.1 » 0.1.4 PyPI | Changelog | Repo
pyasn1 0.3.3 » 0.3.6 PyPI | Changelog | Repo
pyopenssl 17.2.0 » 17.3.0 PyPI | Changelog | Homepage | Docs
six 1.10.0 » 1.11.0 PyPI | Changelog | Homepage | Docs
twisted[tls] 17.5.0 » 17.9.0 PyPI | Changelog | Homepage | Bugtracker
zope.interface 4.4.2 » 4.4.3 PyPI | Changelog | Repo

Changelogs

asn1crypto 0.22.0 -> 0.23.0

0.23.0

  • Backwards compatibility break: the tag_type, explicit_tag and
    explicit_class attributes on core.Asn1Value no longer exist and were
    replaced by the implicit and explicit attributes. Field param dicts
    may use the new explicit and implicit keys, or the old tag_type and
    tag keys. The attribute changes will likely to have little to no impact
    since they were primarily an implementation detail.
  • Teletex strings used inside of X.509 certificates are now interpreted
    using Windows-1252 (a superset of ISO-8859-1). This enables compatibility
    with certificates generated by OpenSSL. Strict parsing of Teletex strings
    can be retained by using the x509.strict_teletex() context manager.
  • Added support for nested explicit tagging, supporting values that are
    defined with explicit tagging and then added as a field of another
    structure using explicit tagging.
  • Fixed a UnicodeDecodeError when trying to find the (optional) dependency
    OpenSSL on Python 2
  • Fixed next_update field of crl.TbsCertList to be optional
  • Added the x509.Certificate.sha256_fingerprint property
  • x509.Certificate.ocsp_urls and x509.DistributionPoint.url will now
    return https://, ldap:// and ldaps:// URLs in addition to http://.
  • Added CMS Attribute Protection definitions from RFC 6211
  • Added OIDs from RFC 6962

hypothesis 3.23.2 -> 3.30.2

3.30.2


This release changes Hypothesis's caching approach for functions in
hypothesis.strategies. Previously it would have cached extremely
aggressively and cache entries would never be evicted. Now it adopts a
least-frequently used, least recently used key invalidation policy, and is
somewhat more conservative about which strategies it caches.

This should cause some workloads (anything that creates strategies based on
dynamic values, e.g. using flatmap or composite) to see a significantly lower
memory usage.


3.30.1


This release fixes a bug where when running with use_coverage=True inside an
existing running instance of coverage, Hypothesis would frequently put files
that the coveragerc excluded in the report for the enclosing coverage.


3.30.0


This release introduces two new features:

  • pytest users can specify a seed to use for given based tests by passing
    the --hypothesis-seed command line argument.
  • When a test fails, either with a health check failure or a falsifying example,
    Hypothesis will print out a seed that led to that failure, if the test is not
    already running with a fixed seed. You can then recreate that failure using either
    the seed decorator or (if you are running pytest) with --hypothesis-seed.

This work was funded by Smarkets <https://smarkets.com/>_.


3.29.0


This release makes Hypothesis coverage aware. Hypothesis now runs all test
bodies under coverage, and uses this information to guide its testing.

The :attr:~hypothesis.settings.use_coverage setting can be used to disable
this behaviour if you want to test code that is sensitive to coverage being
enabled (either because of performance or interaction with the trace function).

The main benefits of this feature are:

  • Hypothesis now observes when examples it discovers cover particular lines
    or branches and stores them in the database for later.
  • Hypothesis will make some use of this information to guide its exploration of
    the search space and improve the examples it finds (this is currently used
    only very lightly and will likely improve significantly in future releases).

This also has the following side-effects:

  • Hypothesis now has an install time dependency on the coverage package.
  • Tests that are already running Hypothesis under coverage will likely get
    faster.
  • Tests that are not running under coverage now run their test bodies under
    coverage by default.

This feature is only partially supported under pypy. It is significantly slower
than on CPython and is turned off by default as a result, but it should still
work correctly if you want to use it.


3.28.3


This release is an internal change that affects how Hypothesis handles
calculating certain properties of strategies.

The primary effect of this is that it fixes a bug where use of
:func:~hypothesis.deferred could sometimes trigger an internal assertion
error. However the fix for this bug involved some moderately deep changes to
how Hypothesis handles certain constructs so you may notice some additional
knock-on effects.

In particular the way Hypothesis handles drawing data from strategies that
cannot generate any values has changed to bail out sooner than it previously
did. This may speed up certain tests, but it is unlikely to make much of a
difference in practice for tests that were not already failing with
Unsatisfiable.


3.28.2


This is a patch release that fixes a bug in the hypothesis.extra.pandas documentation where it incorrectly referred to column instead of columns.


3.28.1


This is a refactoring release. It moves a number of internal uses
of nametuple over to using attrs based classes, and removes a couple
of internal namedtuple classes that were no longer in use.

It should have no user visible impact.


3.28.0


This release adds support for testing pandas via the :ref:hypothesis.extra.pandas <hypothesis-pandas>
module.

It also adds a dependency on attrs.

This work was funded by Stripe <https://stripe.com/>_.


3.27.1


This release fixes some formatting and broken cross-references in the
documentation, which includes editing docstrings - and thus a patch release.


3.27.0


This release introduces a :attr:~hypothesis.settings.deadline
setting to Hypothesis.

When set this turns slow tests into errors. By default it is unset but will
warn if you exceed 200ms, which will become the default value in a future
release.

This work was funded by Smarkets <https://smarkets.com/>_.


3.26.0


Hypothesis now emits deprecation warnings if you are using the legacy
SQLite example database format, or the tool for merging them. These were
already documented as deprecated, so this doesn't change their deprecation
status, only that we warn about it.


3.25.1


This release fixes a bug with generating numpy datetime and timedelta types:
When inferring the strategy from the dtype, datetime and timedelta dtypes with
sub-second precision would always produce examples with one second resolution.
Inferring a strategy from a time dtype will now always produce example with the
same precision.


3.25.0


This release changes how Hypothesis shrinks and replays examples to take into
account that it can encounter new bugs while shrinking the bug it originally
found. Previously it would end up replacing the originally found bug with the
new bug and show you only that one. Now it is (often) able to recognise when
two bugs are distinct and when it finds more than one will show both.


3.24.2


This release removes the (purely internal and no longer useful)
strategy_test_suite function and the corresponding strategytests module.


3.24.1


This release improves the reduction of examples involving floating point
numbers to produce more human readable examples.

It also has some general purpose changes to the way the minimizer works
internally, which may see some improvement in quality and slow down of test
case reduction in cases that have nothing to do with floating point numbers.


3.24.0


Hypothesis now emits deprecation warnings if you use example() inside a
test function or strategy definition (this was never intended to be supported,
but is sufficiently widespread that it warrants a deprecation path).


3.23.3


This is a bugfix release for :func:~hypothesis.strategies.decimals
with the places argument.

  • No longer fails health checks (:issue:725, due to internal filtering)
  • Specifying a min_value and max_value without any decimals with
    places places between them gives a more useful error message.
  • Works for any valid arguments, regardless of the decimal precision context.

pyopenssl 17.2.0 -> 17.3.0

17.3.0


Backward-incompatible changes:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  • Dropped support for Python 3.3.
    677 <https://github.com/pyca/pyopenssl/pull/677>_
  • Removed the deprecated OpenSSL.rand module.
    This is being done ahead of our normal deprecation schedule due to its lack of use and the fact that it was becoming a maintenance burden.
    os.urandom() should be used instead.
    675 <https://github.com/pyca/pyopenssl/pull/675>_

Deprecations:
^^^^^^^^^^^^^

  • Deprecated OpenSSL.tsafe.
    673 <https://github.com/pyca/pyopenssl/pull/673>_

Changes:
^^^^^^^^

  • Fixed a memory leak in OpenSSL.crypto.CRL.
    690 <https://github.com/pyca/pyopenssl/pull/690>_
  • Fixed a memory leak when verifying certificates with OpenSSL.crypto.X509StoreContext.
    691 <https://github.com/pyca/pyopenssl/pull/691>_

six 1.10.0 -> 1.11.0

1.11.0


  • Pull request 178: with_metaclass now properly proxies __prepare__ to the
    underlying metaclass.
  • Pull request 191: Allow with_metaclass to work with metaclasses implemented
    in C.
  • Pull request 203: Add parse_http_list and parse_keqv_list to moved
    urllib.request.
  • Pull request 172 and issue 171: Add unquote_to_bytes to moved urllib.parse.
  • Pull request 167: Add six.moves.getoutput.
  • Pull request 80: Add six.moves.urllib_parse.splitvalue.
  • Pull request 75: Add six.moves.email_mime_image.
  • Pull request 72: Avoid creating reference cycles through tracebacks in
    reraise.

zope.interface 4.4.2 -> 4.4.3

4.4.3


  • Avoid exceptions when the __annotations__ attribute is added to
    interface definitions with Python 3.x type hints. See issue 98 <https://github.com/zopefoundation/zope.interface/issues/98>_.
  • Fix the possibility of a rare crash in the C extension when
    deallocating items. See issue 100 <https://github.com/zopefoundation/zope.interface/issues/100>_.

That's it for now!

Happy merging! 🤖


This change is Reviewable

@codecov
Copy link

codecov bot commented Sep 25, 2017

Codecov Report

Merging #160 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #160   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           7      7           
  Lines         187    187           
  Branches       14     14           
=====================================
  Hits          187    187

@pyup-bot
Copy link
Contributor Author

pyup-bot commented Oct 2, 2017

Closing this in favor of #161

@pyup-bot pyup-bot closed this Oct 2, 2017
@mithrandi mithrandi deleted the pyup-scheduled-update-09-25-2017 branch October 2, 2017 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant