Skip to content
This repository was archived by the owner on Aug 4, 2018. It is now read-only.

Commit d47413d

Browse files
Merge #133
133: Scheduled weekly dependency update for week 18 r=mithrandi a=pyup-bot ### Update [attrs](https://pypi.org/project/attrs) from **17.4.0** to **18.1.0**. <details> <summary>Changelog</summary> ### 18.1.0 ``` ------------------- Changes ^^^^^^^ - ``x=X(); x.cycle = x; repr(x)`` will no longer raise a ``RecursionError``, and will instead show as ``X(x=...)``. `95 &lt;https://github.com/python-attrs/attrs/issues/95&gt;`_ - ``attr.ib(factory=f)`` is now syntactic sugar for the common case of ``attr.ib(default=attr.Factory(f))``. `178 &lt;https://github.com/python-attrs/attrs/issues/178&gt;`_, `356 &lt;https://github.com/python-attrs/attrs/issues/356&gt;`_ - Added ``attr.field_dict()`` to return an ordered dictionary of ``attrs`` attributes for a class, whose keys are the attribute names. `290 &lt;https://github.com/python-attrs/attrs/issues/290&gt;`_, `349 &lt;https://github.com/python-attrs/attrs/issues/349&gt;`_ - The order of attributes that are passed into ``attr.make_class()`` or the ``these`` argument of ``attr.s()`` is now retained if the dictionary is ordered (i.e. ``dict`` on Python 3.6 and later, ``collections.OrderedDict`` otherwise). Before, the order was always determined by the order in which the attributes have been defined which may not be desirable when creating classes programatically. `300 &lt;https://github.com/python-attrs/attrs/issues/300&gt;`_, `339 &lt;https://github.com/python-attrs/attrs/issues/339&gt;`_, `343 &lt;https://github.com/python-attrs/attrs/issues/343&gt;`_ - In slotted classes, ``__getstate__`` and ``__setstate__`` now ignore the ``__weakref__`` attribute. `311 &lt;https://github.com/python-attrs/attrs/issues/311&gt;`_, `326 &lt;https://github.com/python-attrs/attrs/issues/326&gt;`_ - Setting the cell type is now completely best effort. This fixes ``attrs`` on Jython. We cannot make any guarantees regarding Jython though, because our test suite cannot run due to dependency incompatabilities. `321 &lt;https://github.com/python-attrs/attrs/issues/321&gt;`_, `334 &lt;https://github.com/python-attrs/attrs/issues/334&gt;`_ - If ``attr.s`` is passed a *these* argument, it will not attempt to remove attributes with the same name from the class body anymore. `322 &lt;https://github.com/python-attrs/attrs/issues/322&gt;`_, `323 &lt;https://github.com/python-attrs/attrs/issues/323&gt;`_ - The hash of ``attr.NOTHING`` is now vegan and faster on 32bit Python builds. `331 &lt;https://github.com/python-attrs/attrs/issues/331&gt;`_, `332 &lt;https://github.com/python-attrs/attrs/issues/332&gt;`_ - The overhead of instantiating frozen dict classes is virtually eliminated. `336 &lt;https://github.com/python-attrs/attrs/issues/336&gt;`_ - Generated ``__init__`` methods now have an ``__annotations__`` attribute derived from the types of the fields. `363 &lt;https://github.com/python-attrs/attrs/issues/363&gt;`_ - We have restructured the documentation a bit to account for ``attrs``&#39; growth in scope. Instead of putting everything into the `examples &lt;http://www.attrs.org/en/stable/examples.html&gt;`_ page, we have started to extract narrative chapters. So far, we&#39;ve added chapters on `initialization &lt;http://www.attrs.org/en/stable/init.html&gt;`_ and `hashing &lt;http://www.attrs.org/en/stable/hashing.html&gt;`_. Expect more to come! `369 &lt;https://github.com/python-attrs/attrs/issues/369&gt;`_, `370 &lt;https://github.com/python-attrs/attrs/issues/370&gt;`_ ---- ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/attrs - Changelog: https://pyup.io/changelogs/attrs/ - Homepage: http://www.attrs.org/ </details> ### Update [twisted[tls]](https://pypi.org/project/twisted) from **17.9.0** to **18.4.0**. <details> <summary>Changelog</summary> ### 18.4.0 ``` =========================== Features -------- - The --port/--https arguments to web plugin are now deprecated, in favor of --listen. The --listen argument can be given multiple times to listen on multiple ports. (6670) - Twisted now requires zope.interface 4.4.2 or higher across all platforms and Python versions. (8149) - The osx_platform setuptools extra has been renamed to macos_platform, with the former name being a compatibility alias. (8848) - Zsh completions are now provided for the twist command. (9338) - twisted.internet.endpoints.HostnameEndpoint now has a __repr__ method which includes the host and port to which the endpoint connects. (9341) Bugfixes -------- - twistd now uses the UID&#39;s default GID to initialize groups when --uid is given but --gid is not. This prevents an unhandled TypeError from being raised when os.initgroups() is called. (4442) - twisted.protocols.basic.LineReceiver checks received lines&#39; lengths against its MAX_LENGTH only after receiving a complete delimiter. A line ending in a multi-byte delimiter like &#39;\r\n&#39; might be split by the network, with the first part arriving before the rest; previously, LineReceiver erroneously disconnected if the first part, e.g. &#39;zzzz....\r&#39; exceeded MAX_LENGTH. LineReceiver now checks received data against MAX_LENGTH plus the delimiter&#39;s length, allowing short reads to complete a line. (6556) - twisted.protocols.basic.LineOnlyReceiver disconnects the transport after receiving a line that exceeds MAX_LENGTH, like LineReceiver. (6557) - twisted.web.http.Request.getClientIP now returns the host part of the client&#39;s address when connected over IPv6. (7704) - twisted.application.service.IService is now documented as requiring the &#39;running&#39;, &#39;name&#39; and &#39;parent&#39; attributes (the documentation previously implied they were required, but was unclear). (7922) - twisted.web.wsgi.WSGIResource no longer raises an exception when a client connects over IPv6. (8241) - When using TLS enable automatic ECDH curve selection on OpenSSL 1.0.2+ instead of only supporting P-256 (9210) - twisted.trial._dist.worker and twisted.trial._dist.workertrial consistently pass bytes, not unicode to AMP. This fixes &quot;trial -j&quot; on Python 3. (9264) - twisted.trial.runner now uses the &#39;importlib&#39; module instead of the &#39;imp&#39; module on Python 3+. This eliminates DeprecationWarnings caused by importing &#39;imp&#39; on Python 3. (9275) - twisted.web.client.HTTP11ClientProtocol now closes the connection when the server is sending a header line which is longer than he line limit of twisted.protocols.basic.LineReceiver.MAX_LENGTH. (9295) - twisted.python.failure now handles long stacktraces better; in particular it will log tracebacks for stack overflow errors. (9301) - The &quot;--_shell-completion&quot; argument to twistd now works on Python 3. (9303) - twisted.python.failure.Failure now raises the wrapped exception in Python3, and self (Failure) n Python2 when trap() is called without a matching exception (9307) - Writing large amounts of data no longer implies repeated, expensive copying under Python 3. Python 3&#39;s write speeds are now as fast as Python 2&#39;s. (9324) - twisted.protocols.postfix now properly encodes errors which are unicode strings to bytes. (9335) - twisted.protocols.policies.ProtocolWrapper and twisted.protocols.tls.TLSMemoryBIOProtocol no longer create circular references that keep protocol instances in memory after connection is closed. (9374) - twisted.conch.ssh.transport.SSHTransportBase no longer strips trailing spaces from the SSH version string of the connected peer. (9377) - `trial -j` no longer crashes on Python 2 on test failure messages containing non-ASCII bytes. (9378) - RSA keys replaced with 2048bit ones in twisted.conch.test.keydata in order to be compatible with OpenSSH 7.6. (9388) - AsyncioSelectorReactor uses the global policy&#39;s event loop. asyncio libraries that retrieve the running event loop with get_event_loop() will now receive the one used by AsyncioSelectorReactor. (9390) Improved Documentation ---------------------- - public attributes of `twisted.logger.Logger` are now documented as attributes. (8157) - List indentation formatting errors have been corrected throughout the documentation. (9256) Deprecations and Removals ------------------------- - twisted.protocols.basic.LineOnlyReceiver.lineLengthExceeded no longer returns twisted.internet.error.ConnectionLost. It instead directly disconnects the transport and returns None. (6557) - twisted.python.win32.getProgramsMenuPath and twisted.python.win32.getProgramFilesPath were deprecated in Twisted 15.3.0 and have now been removed. (9312) - Python 3.3 is no longer supported. (9352) Misc ---- - 7033, 8887, 9204, 9289, 9291, 9292, 9293, 9302, 9336, 9355, 9356, 9364, 9375, 9381, 9382, 9389, 9391, 9393, 9394, 9396 Conch ----- Bugfixes ~~~~~~~~ - twisted.plugins.cred_unix now properly converts a username and password from bytes to str on Python 3. In addition, passwords which are encrypted with SHA512 and SH256 are properly verified. This fixes running a conch server with: &quot;twistd -n conch -d /etc/ssh/ --auth=unix&quot;. (9130) - In twisted.conch.scripts.conch, on Python 3 do not write bytes directly to sys.stderr. On Python 3, this fixes remote SSH execution of a command which fails. (9344) Deprecations and Removals ~~~~~~~~~~~~~~~~~~~~~~~~~ - twisted.conch.ssh.filetransfer.FileTransferClient.wasAFile attribute has been removed as it serves no purpose. (9362) - Removed deprecated support for PyCrypto key objects in conch (9368) Web --- Features ~~~~~~~~ - The new twisted.iweb.IRequest.getClientAddress returns the IAddress provider representing the client&#39;s address. Callers should check the type of the returned value before using it. (7707) - Eliminate use of twisted.python.log in twisted.web modules. (9280) Bugfixes ~~~~~~~~ - Scripts ending with .rpy, .epy, and .cgi now execute properly in Twisted Web on Python 3. (9271) - twisted.web.http.Request and twisted.web.server.Request are once again hashable on Python 2, fixing a regression introduced in Twisted 17.5.0. (9314) Improved Documentation ~~~~~~~~~~~~~~~~~~~~~~ - Correct reactor docstrings for twisted.web.client.Agent and twisted.web.client._StandardEndpointFactory to communicate interface requirements since 17.1. (9274) - The examples for the &quot;Twisted Web in 60 Seconds&quot; tutorial have been fixed to work on Python 3. (9285) Deprecations and Removals ~~~~~~~~~~~~~~~~~~~~~~~~~ - twisted.iweb.IRequest.getClientIP is deprecated. Use twisted.iweb.IRequest.getClientAddress instead (see 7707). (7705) - twisted.web.iweb.IRequest.getClient and its implementations (deprecated in 2552) have been removed. (9395) Mail ---- Bugfixes ~~~~~~~~ - twistd.mail.scripts.mailmail has been ported to Python 3. (8487) - twisted.mail.bounce now works on Python 3. (9260) - twisted.mail.pop3 and twisted.mail.pop3client now work on Python 3. (9269) - SMTP authentication in twisted.mail.smtp now works better on Python 3, due to improved improved bytes vs unicode handling. (9299) Misc ~~~~ - 9310 Words ----- No significant changes. Names ----- No significant changes. ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/twisted - Changelog: https://pyup.io/changelogs/twisted/ - Homepage: http://twistedmatrix.com/ - Bugtracker: https://twistedmatrix.com/trac/ </details> ### Update [zope.interface](https://pypi.org/project/zope.interface) from **4.4.3** to **4.5.0**. <details> <summary>Changelog</summary> ### 4.5.0 ``` ------------------ - Drop support for 3.3, avoid accidental dependence breakage via setup.py. See `PR 110 &lt;https://github.com/zopefoundation/zope.interface/pull/110&gt;`_. - Allow registering and unregistering instance methods as listeners. See `issue 12 &lt;https://github.com/zopefoundation/zope.interface/issues/12&gt;`_ and `PR 102 &lt;https://github.com/zopefoundation/zope.interface/pull/102&gt;`_. - Synchronize and simplify zope/__init__.py. See `issue 114 &lt;https://github.com/zopefoundation/zope.interface/issues/114&gt;`_ ``` </details> <details> <summary>Links</summary> - PyPI: https://pypi.org/project/zope.interface - Changelog: https://pyup.io/changelogs/zope.interface/ - Repo: https://github.com/zopefoundation/zope.interface </details>
2 parents a7c2a24 + 03688aa commit d47413d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# pip-compile --no-annotate --output-file requirements.txt requirements.in
66
#
77
asn1crypto==0.24.0
8-
attrs==17.4.0
8+
attrs==18.1.0
99
automat==0.6.0
1010
cffi==1.11.5; platform_python_implementation != 'PyPy'
1111
constantly==15.1.0
@@ -23,5 +23,5 @@ pyopenssl==17.5.0
2323
pyparsing==2.2.0
2424
service-identity==17.0.0
2525
six==1.11.0
26-
twisted[tls]==17.9.0
27-
zope.interface==4.4.3
26+
twisted[tls]==18.4.0
27+
zope.interface==4.5.0

0 commit comments

Comments
 (0)