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

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

Branch: CURRENT, Version: 18.9.0nb1, Package name: py37-twisted-18.9.0nb1, 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] [www/py-idna] [security/py-service_identity] [devel/py-attrs] [devel/py-incremental] [devel/py-constantly] [devel/py-automat] [www/py-hyperlink] [lang/python37] [devel/py-hamcrest]

Required to build:

Master sites:

SHA1: 9dae1ef0978a4fad8d5143d782580553375adab5
RMD160: 76c506213c00d48c381bf9d74ff917823b0a6227
Filesize: 3016.014 KB

Version history: (Expand)

CVS history: (Expand)

   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557) | Package updated
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2018-10-16 11:44:52 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-twisted: updated to 18.9.0

Twisted 18.9.0:

twisted.internet._sslverify.ClientTLSOptions no longer raises IDNAError when \ 
given an IPv6 address as a hostname in a HTTPS URL.
The repr() of a twisted.internet.base.DelayedCall now encodes the same \ 
information as its str(), exposing details of its scheduling and target \ 
Python 3.7 is now supported.

twisted.logger.LogBeginner's default critical observer now prints tracebacks for \ 
new and legacy log system events through the use of the new eventAsText API. \ 
This API also does not raise an error for non-ascii encoded data in Python2, it \ 
attempts as well as possible to format the traceback.
Syntax error under Python 3.7 fixed for twisted.conch.manhole and twisted.main.imap4.
trial -j reports tracebacks on test failures under Python 3.
Properly format multi-byte and non-ascii encoded data in a traceback.
twisted.python.rebuild now functions on Python 3.7.
HTTP/2 server connections will no longer time out active downloads that take too \ 

Improved Documentation
Several minor formatting problems in the API documentation have been corrected.
The documentation of twisted.internet.defer.Deferred.fromFuture() has been \ 
updated to reflect upstream changes.

Deprecations and Removals
async keyword argument is deprecated in twisted.conch.manhole \ 
(ManholeInterpreter.write and Manhole.add) and in \ 
twisted.main.imap4.IMAP4Server.sendUntaggedResponse, isAsync keyword argument is \ 
introduced instead.
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2018-07-24 17:10:04 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
py-twisted: updated to 18.7.0

Twisted 18.7.0:

- Cancelling a Deferred returned by twisted.internet.defer.inlineCallbacks now \ 
cancels the Deferred it is waiting on.
- twisted.application.internet.ClientService now accepts a function to \ 
initialize or validate a connection before it is returned by the whenConnected \ 
method as the prepareConnection argument.
- Traceback generated for twisted.internet.defer.inlineCallbacks now includes \ 
the full stack of inlineCallbacks generators between catcher and raiser (before \ 
it only contained raiser's stack).
- Add optional cwd argument to twisted.runner.procmon.ProcMon.addProcess
- twisted.python.failure.Failure tracebacks generated by coroutines scheduled \ 
with twisted.internet.defer.ensureDeferred - i.e. any Deferred-awaiting \ 
coroutine - now contain fewer extraneous frames from the trampoline \ 
implementation, and correctly indicate the source of exceptions raised in other \ 
call stacks - i.e. the function that raised the exception.  In other words: if \ 
you 'await' a function that raises an exception, you'll be able to see where the \ 
error came from.

- On UNIX-like platforms, Twisted attempts to recover from EMFILE when accepting \ 
connections on TCP and UNIX ports by shedding incoming clients.
- The documentation of IReactorTime.getDelayedCalls() has been corrected to \ 
indicate that the method returns a list, not a tuple.
- "python -m twisted web --help" now refers to "--listen" \ 
instead of the non-existing "--http"
- twisted.python.htmlizer.TokenPrinter now explicitly works on bytestrings.
- twisted.enterprise.adbapi.ConnectionPool.runWithConnection and runInteraction \ 
now use the reactor that is passed to ConnectionPool's constructor.

Improved Documentation
- The Twisted Coding Standard now contains examples of how to mark up a feature \ 
as added in the next Twisted release.

Deprecations and Removals
- Deprecate direct introspection of ProcMon's processes: processes should not be \ 
directly accessed or pickled.
- twisted.internet.address.IPv4Address._bwHack and \ 
twisted.internet.address.UNIXAddress._bwHack, as well as the parameters to the \ 
constructors, deprecated since Twisted 11.0, have been removed.
   2017-12-24 14:44:56 by Sebastian Wiedenroth | Files touched by this commit (3)
Log message:
py-twisted: allow building with a c99 compiler on SunOS
   2017-12-03 01:12:35 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
Fix location of py-idna.
   2017-10-19 10:50:34 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-twisted: update to 17.9.0

Twisted 17.9.0:

- twisted.python.failure.Failure is now a new-style class which subclasses
- twisted.internet.posixbase.PosixReactorBase.adoptStreamPort and
  twisted.internet.posixbase.PosixReactorBase.adoptStreamConnection now support
- t.protocol.policies.TimeoutMixin.setTimeout and
  t.protocol.policies.TimeoutProtocol.cancelTimeout (used in
  t.protocol.policies.TimeoutFactory) no longer raise a
  t.internet.error.AlreadyCancelled exception when calling them for an already
  cancelled timeout.
- twisted.web.template.flatten now supports coroutines that yield Deferreds.

- twisted.web.client.HTTPConnectionPool passes the repr() of the endpoint to
  the client protocol factory, and the protocol factory adds that to its own
  repr(). This makes logs more useful.
- Python 3.6 is now supported

- twisted.python.logfile.BaseLogFile and subclasses now always open the file in
  binary mode, and will process text as UTF-8.
- The `ssl:` endpoint now accepts `certKey` PEM files without trailing
- Logger.__init__ sets the namespace to "<unknown>" instead of \ 
raising KeyError
  when unable to determine the namespace from the calling context.
- twisted.internet._win32serialport updated to support pySerial 3.x and dropped
  pySerial 2.x support.
- twisted.python.rebuild now works on Python 3.
- twisted.web.server.Request.notifyFinish will now once again promptly notify
  applications of client disconnection (assuming that the client doesn't send a
  large amount of pipelined request data) rather than waiting for the timeout;
  this fixes a bug introduced in Twisted 16.3.0.
- twisted.web.guard.HTTPAuthSessionWrapper configured with
  DigestCredentialFactory now works on both Python 2 and 3.
- Detect when we’re being run using “-m twisted” or “-m twisted.trial” \ 
and use
  it to build an accurate usage message.
- twisted.protocols.tls.TLSMemoryBIOProtocol now allows unregisterProducer to
  be called when no producer is registered, bringing it in line with other
- twisted.web web servers no longer print tracebacks when they timeout clients
  that do not respond to TLS CLOSE_NOTIFY messages.
- twisted.mail.imap4 now works on Python 3.
- twisted.python.shortcut now works on Python 3 in Windows.
- Fix traceback forwarding with inlineCallbacks on python 3.
- twisted.mail.imap4.MessageSet now treats * as larger than every message ID,
  leading to more consistent and robust behavior.
- The following plugins can now be used on Python 3 with twistd: dns, inetd,
  portforward, procmon, socks, and words.
- twisted.internet._win32serialport now uses serial.serialutil.to_bytes() to
  provide bytes in Python 3.
- twisted.internet.reactor.spawnProcess() now does not fail on Python 3 in
  Windows if passed a bytes-encoded path argument.
- twisted.protocols.ident now works on Python 3.
- Ignore PyPy's implementation differences in base object class.
- twisted.python.test.test_setup now passes with setuptools 36.2.1
- twisted.internet._win32serialport SerialPort._clearCommError() no longer
  raises AttributeError
- twisted.trial.unittest.SynchronousTestCase and
  twisted.trial.unittest.TestCase now always run their tearDown methods, even
  when a test method fails with an exception. They also flush all errors logged
  by a test method before running another, ensuring the logged errors are
  associated with their originating test method.
   2017-06-21 20:35:35 by Adam Ciarcinski | Files touched by this commit (5)
Log message:
Twisted 17.5.0:


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 \ 
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 \ 
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.