./net/py-twisted, Framework for writing networked applications

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 17.5.0, Package name: py27-twisted-17.5.0, Maintainer: pkgsrc-users

Twisted is a framework, written in Python, for writing networked applications.
It includes implementations of a number of commonly used network services such
as a web server, an IRC chat server, a mail server, a relational database
interface and an object broker. Developers can build applications using all of
these services as well as custom services that they write themselves. Twisted
also includes a user authentication system that controls access to services
and provides services with user context information to implement their own
security models.


Required to run:
[security/py-OpenSSL] [devel/py-setuptools] [devel/py-ZopeInterface] [lang/python27] [security/py-service_identity] [devel/py-incremental] [devel/py-constantly] [devel/py-automat]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 51e8b9ea7573f1f1154fb4fb7b04ba84af654647
RMD160: ce39147fb5db15edbc09632492e1d4744ba07bef
Filesize: 2923.648 KB

Version history: (Expand)


CVS history: (Expand)


   2017-06-21 20:35:35 by Adam Ciarcinski | Files touched by this commit (5)
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.
   2017-02-16 12:10:21 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
Bump PKGREVISION for py-automat dependency.
   2017-02-16 09:46:07 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
Added devel/py-automat dependency
   2017-02-13 19:59:04 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
Twisted Core 17.1.0 (2017-02-04)
================================

Features
--------
 - Added a new interface,
   twisted.internet.interfaces.IHostnameResolver, which is an
   improvement to twisted.internet.interfaces.IResolverSimple that
   supports resolving multiple addresses as well as resolving IPv6
   addresses.  This is a native, asynchronous, Twisted analogue to
   getaddrinfo. (bug-4362)
 - twisted.web.client.Agent now uses HostnameEndpoint internally; as a
   consequence, it now supports IPv6, as well as making connections
   faster and more reliably to hosts that have more than one DNS name.
   (bug-6712)
 - twisted.internet.ssl.CertificateOptions now has the new constructor
   argument 'raiseMinimumTo', allowing you to increase the minimum TLS
   version to this version or Twisted's default, whichever is higher.
   The additional new constructor arguments 'lowerMaximumSecurityTo'
   and 'insecurelyLowerMinimumTo' allow finer grained control over
   negotiated versions that don't honour Twisted's defaults, for
   working around broken peers, at the cost of reducing the security
   of the TLS it will negotiate. (bug-6800)
 - twisted.internet.ssl.CertificateOptions now sets the OpenSSL
   context's mode to MODE_RELEASE_BUFFERS, which will free the
   read/write buffers on idle TLS connections to save memory. (bug-8247)
 - trial --help-reactors will only list reactors which can be
   imported.  (bug-8745)
 - twisted.internet.endpoints.HostnameEndpoint now uses the passed
   reactor's implementation of
   twisted.internet.interfaces.IReactorPluggableResolver to resolve
   hostnames rather than its own deferToThread/getaddrinfo wrapper;
   this makes its hostname resolution pluggable via a public API.
   (bug-8922)
 - twisted.internet.reactor.spawnProcess now does not emit a
   deprecation warning on Unicode arguments. It will encode Unicode
   arguments down to bytes using the filesystem encoding on UNIX and
   Python 2 on Windows, and pass Unicode through unchanged on Python 3
   on Windows. (bug-8941)
 - twisted.trial._dist.test.test_distreporter now works on Python 3.
   (bug-8943)

Bugfixes
--------
 - trial --help-reactors will now display iocp and win32er reactors
   with Python 3. (bug-8745)
 - twisted.logger._flatten.flattenEvent now handles log_format being
   None instead of assuming the value is always a string. (bug-8860)
 - twisted.protocol.ftp is now Python 3 compatible (bug-8865)
 - twisted.names.client.Resolver can now resolve names with IPv6 DNS
   servers. (bug-8877)
 - twisted.application.internet.ClientService now waits for existing
   connections to disconnect before trying to connect again when
   restarting. (bug-8899)
 - twisted.internet.unix.Server.doRead and
   twisted.internet.unix.Client.doRead no longer fail if recvmsg's
   ancilliary data contains more than one file descriptor. (bug-8911)
 - twist on Python 3 now correctly prints the help text when given no
   plugin to run. (bug-8918)
 - twisted.python.sendmsg.sendmsg no longer segfaults on Linux +
   Python 2. (bug-8969)
 - IHandshakeListener providers connected via SSL4ClientEndpoint will
   now have their handshakeCompleted methods called. (bug-8973)
 - The twist script now respects the --reactor option. (bug-8983)
 - Fix crash when using SynchronousTestCase with Warning object which
   does not store a string as its first argument (like
   libmysqlclient). (bug-9005)
 - twisted.python.compat.execfile() does not open files with the
   deprecated 'U' flag on Python 3. (bug-9012)

Deprecations and Removals
-------------------------
 - twisted.internet.ssl.CertificateOption's 'method' constructor
   argument is now deprecated, in favour of the new 'raiseMinimumTo',
   'lowerMaximumSecurityTo', and 'insecurelyLowerMinimumTo' arguments.
   (bug-6800)
 - twisted.protocols.telnet (not to be confused with the supported
   twisted.conch.telnet), deprecated since Twisted 2.5, has been
   removed. (bug-8925)
 - twisted.application.strports.parse, as well as the deprecated
   default arguments in strports.service/listen, deprecated since
   Twisted 10.2, has been removed. (bug-8926)
 - twisted.web.client.getPage and twisted.web.client.downloadPage have
   been deprecated in favour of https://pypi.org/project/treq and
   twisted.web.client.Agent. (bug-8960)
 - twisted.internet.defer.timeout is deprecated in favor of
   twisted.internet.defer.Deferred.addTimeout (bug-8971)
   2017-01-01 15:44:09 by Thomas Klausner | Files touched by this commit (577)
Log message:
Add python-3.6 to incompatible versions.
   2016-11-30 13:28:50 by Thomas Klausner | Files touched by this commit (1) | Package updated
Log message:
Add missing py-constantly dependency.

Fixes games/kajongg's twisted detection.

Bump PKGREVISION.
   2016-11-28 14:55:50 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
Updated py-twisted to 16.6.0.

Twisted Core 16.6.0 (2016-11-17)
================================

Features
--------
 - The twist script can now be run by invoking python -m twisted.
   (#8657)
 - twisted.protocols.sip has been ported to Python 3. (#8669)
 - twisted.persisted.dirdbm has been ported to Python 3. (#8888)

Bugfixes
--------
 - twisted.internet.defer.Deferred now implements send, not __send__,
   which means that it is now a conforming generator. (#8861)
 - The IOCP reactor no longer transmits the contents of uninitialized
   memory when writing large amounts of data. (#8870)
 - Deferreds awaited/yielded from in a
   twisted.internet.defer.ensureDeferred wrapped coroutine will now
   properly raise exceptions. Additionally, it more closely models
   asyncio.ensure_future and will pass through Deferreds. (#8878)
 - Deferreds that are paused or chained on other Deferreds will now
   return a result when yielded/awaited in a twisted.internet.defer
   .ensureDeferred-wrapped coroutine, instead of returning the
   Deferred it was chained to. (#8890)

Improved Documentation
----------------------
 - twisted.test.proto_helpers is now explicitly covered by the
   compatibility policy. (#8857)

Other
-----
 - #8281, #8823, #8862

Twisted Conch 16.6.0 (2016-11-17)
=================================

Features
--------
 - twisted.conch.ssh.keys supports ECDSA keys (#8798)
 - scripts/ckeygen can now generate ecdsa keys. (#8828)
 - ckeygen has been ported to Python 3 (#8855)

Deprecations and Removals
-------------------------
 - twisted.conch.ssh no longer uses gmpy, if available. gmpy is
   unmaintained, does not have binary wheels for any platforms, and an
   alternative for higher performance is available in the form of
   PyPy. (#8079)

Twisted Web 16.6.0 (2016-11-17)
===============================

Features
--------
 - twisted.web.server.Site's HTTP/2 server support now emits vastly
   fewer WINDOW_UPDATE frames than previously. (#8681)

Bugfixes
--------
 - twisted.web.Agent now tolerates receiving unexpected status codes
   in the 100 range by discarding them, which is what RFC 7231
   recommends doing. (#8885)
 - twisted.web._http.H2Stream's getHost and getPeer implementations
   now actually return the host and peer instead of None. (#8893)

Twisted Words 16.6.0 (2016-11-17)
=================================

Features
--------
 - twisted.words.protocols.irc has been ported to Python 3 (#6320)
   2016-11-20 11:47:36 by Thomas Klausner | Files touched by this commit (1)
Log message:
Fix pattern.