Subject: CVS commit: pkgsrc/net/py-twisted
From: Adam Ciarcinski
Date: 2017-06-21 20:35:35
Message id: 20170621183535.99853FAE8@cvs.NetBSD.org

Log Message:
Twisted 17.5.0:

Bugfixes:

spawnProcess no longer opens an unwanted console on Windows
The transition to the hyperlink package adds IPv6 support to \ 
twisted.python.url.URL. This is now deprecated and new code should use hyperlink \ 
directly
twisted.logger now buffers only 200 events by default (reduced from 65536) while \ 
waiting for observers to be configured.
The transition of twisted.python.url to using the hyperlink package enables a \ 
URL.click() with no arguments (or 0-length string argument) to resolve dot \ 
segments in the path.
twisted.protocols.finger now works on Python 3.
TLS-related tests now pass when run with OpenSSL 1.1.0. This makes tests pass \ 
again on macOS and Windows, as cryptography 1.8 and later include OpenSSL 1.1.0.
UNIX socket endpoints now process all messages from recvmsg's ancillary data via \ 
twisted.internet.unix.Server.doRead/twisted.internet.unix.Client.doRead, while \ 
discarding and logging ones that don't contain file descriptors.
twisted.internet.endpoints.HostnameEndpoint and twisted.web.client.Agent work \ 
again with reactors that do not provide IReactorPluggableNameResolver. This \ 
undoes the changes that broke downstream users such as treq.testing. Note that \ 
passing reactors that do not provide IReactorPluggableNameResolver to either is \ 
deprecated.
A Python 3 Perspective Broker server which receives a remote call with keyword \ 
arguments from a Python 2 client will now decode any keys which are binary to \ 
strings instead of crashing. This fixes interoperability between Python 2 \ 
Buildbot clients and Python 3 Buildbot servers.
twisted.internet._threadedselect now works on both Python 2 and 3.
twisted.internet.interfaces.IResolverSimple implementers will now always be \ 
passed bytes, properly IDNA encoded if required, on Python 2. On Python 3, they \ 
will now be passed correctly IDNA-encoded Unicode forms of the domain, taking \ 
advantage of the idna library from PyPI if possible. This is to avoid Python's \ 
standard library (which has an out of date idna module) from mis- encoding \ 
domain names when non-ASCII Unicode is passed to it.

Files:
RevisionActionfile
1.34modifypkgsrc/net/py-twisted/Makefile
1.39modifypkgsrc/net/py-twisted/Makefile.common
1.28modifypkgsrc/net/py-twisted/PLIST
1.33modifypkgsrc/net/py-twisted/distinfo
1.1removepkgsrc/net/py-twisted/patches/patch-src_twisted_runner_portmap.c