Up to [cvs.NetBSD.org] / pkgsrc / net / py-twisted-docs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-twisted py-twisted-docs: updated to 24.10.0 Twisted 24.10.0 (2024-10-28) Features -------- - Python 3.13 is now supported. - twisted.internet.defer.succeed() is significantly faster, and awaiting Deferred has also been sped up. - twisted.python.failure.Failure creation no longer records the place where it was created. This reduces creation time by 60% at least, thereby speeding up Deferred error handling. - twisted.internet.defer.Deferred no longer removes the traceback object from Failures. This may result in more objects staying in memory if you don't clean up failed Deferreds, but it speeds up error handling and enables improvements to traceback reporting. - twisted.internet.defer APIs are 2%-4% faster in many cases. - twisted.internet.defer.Deferred runs callbacks with chained Deferreds a little faster. - The reactor now will use a little less CPU when events have been scheduled with callLater(). - Creation of twisted.python.failure.Failure is now faster. Bugfixes -------- - Fixed unreleased regression caused by PR 12109. - twisted.logger.eventAsText can now format the output having types/classes as input. This was a regression introduced in Twisted 24.3.0. - twisted.internet.endpoints.clientFromString for TLS endpoints with "bindAddress=" no longer crashes during connect. twisted.internet.endpoints.HostnameEndpoint() no longer crashes when given a bindAddress= argument that is just a string, and that argument now accepts either address strings or (address, port) tuples. - The URLs from README and pyproject.toml were updated. Conch ----- Features - twisted.conch.ssh.keys.Key can now load public blob keys of type sk-ssh-ed25519@openssh.com and sk-ecdsa-sha2-nistp256@openssh.com. Bugfixes - twisted.conch tests no longer rely on OpenSSH supporting DSA keys, fixing compatibility with OpenSSH >= 9.8. - twisted.conch.ssh.SSHCiphers no longer supports the cast128-ctr, cast128-cbc, blowfish-ctr, and blowfish-cbc ciphers. The Blowfish and CAST5 ciphers were removed as they were deprecated by the Python cryptography library. Web --- Features - The twisted.web HTTP server and client now reject HTTP header names containing whitespace or other invalid characters by raising twisted.web.http_headers.InvalidHeaderName, improving compliance with RFC 9110. As a side effect, the server is slightly faster. - twisted.web.client and twisted.web.server now disable the Nagle algorithm (enable TCP_NODELAY), reducing the latency of small HTTP queries. - twisted.web.server is 1-2% faster in some cases. Bugfixes - twisted.web's HTTP/1.1 server now rejects header values containing a NUL byte with a 400 error, in compliance with RFC 9110. - twisted.internet.address no longer raises DeprecationWarning when used with attrs>=24.1.0. - twisted.web's HTTP/1.1 server now accepts '&' within tokens (methods, header field names, etc.), in compliance with RFC 9110. Trial ----- Features - Trial's ``-j`` flag now accepts an ``auto`` keyword to spawn a number of workers based on the available CPUs.
*: use versioned_dependencies for py-twisted
Update py-twisted-docs to 16.1.1.
Stop using "pax -rw -pe", it doesn't work. Use "-pp" instead.
Changes 13.1.0: - trial now has an --exitfirst flag which stops the test run after the first error or failure. - twisted.internet.ssl.CertificateOptions now supports chain certificates. - twisted.internet.endpoints now provides ProcessEndpoint, a child process endpoint. - Factory now has a forProtocol classmethod that constructs an instance and sets its protocol attribute. - twisted.internet.endpoints.connectProtocol allows connecting to a client endpoint using only a protocol instance, rather than requiring a factory. - twisted.trial.unittest.SynchronousTestCase.assertNoResult no longer swallows the result, if the assertion succeeds. - twisted.python.constants.FlagConstant implements __iter__ so that it can be iterated upon to find the flags that went into a flag set, and implements __nonzero__ to test as false when empty. - assertIs and assertIsNot have now been added to twisted.trial.unittest.TestCase. - twisted.trial.unittest.TestCase.failureResultOf now takes an optional expected failure type argument. - The POSIX implementation of twisted.internet.interfaces.IReactorProcess now does not change the parent process UID or GID in order to run child processes with a different UID or GID.
revertd to r1.12. This package contains no python version specific files, so no need to be prefixed with PYPKGPREFIX.
Include pyversion.mk, so PYPKGPREFIX could be resolved
Changes 12.0.0: Features -------- - The interface argument to IReactorTCP.listenTCP may now be an IPv6 address literal, allowing the creation of IPv6 TCP servers. - twisted.python.constants.Names now provides a way to define collections of named constants, similar to the "enum type" feature of C or Java. - twisted.python.constants.Values now provides a way to define collections of named constants with arbitrary values. Bugfixes -------- - Fixed an obscure case where connectionLost wasn't called on the protocol when using half-close. - UDP ports handle socket errors better on Windows. - When idle, the gtk2 and glib2 reactors no longer wake up 10 times a second. - Prevent a rare situation involving TLS transports, where a producer may be erroneously left unpaused. - twisted.internet.iocpreactor.iocpsupport now has fewer 64-bit compile warnings. - The GTK2 reactor is now more responsive on Windows. - TLS transports now correctly handle producer registration after the connection has been lost. - twisted.protocols.htb.Bucket now empties properly with a non-zero drip rate. - IReactorSSL and ITCPTransport.startTLS now synchronously propagate errors from the getContext method of context factories, instead of being capturing them and logging them as unhandled. Improved Documentation ---------------------- - The multicast documentation has been expanded. - twisted.internet.defer.Deferred now documents more return values. - Show a better starting page at http://twistedmatrix.com/documents/current Deprecations and Removals ------------------------- - Remove the deprecated module twisted.enterprise.reflector. - Removed the deprecated module twisted.enterprise.row. - Remove the deprecated module twisted.enterprise.sqlreflector. - Removed the deprecated module twisted.enterprise.util, as well as twisted.enterprise.adbapi.safe. - Python 2.4 is no longer supported on any platform. - Removed printTraceback and noOperation from twisted.spread.pb, deprecated since Twisted 8.2.
Changes 10.1.0: * Add linux inotify support, allowing monitoring of file system events. * Deferreds now support cancellation. * Added new "endpoint" interfaces in twisted.internet.interfaces, which abstractly describe stream transport endpoints which can be listened on or connected to. Implementations for TCP and SSL clients and servers are present in twisted.internet.endpoints. Notably, client endpoints' connect() methods return cancellable Deferreds, so code written to use them can bypass the awkward "ClientFactory.clientConnectionFailed" and "Connector.stopConnecting" methods, and handle errbacks from or cancel the returned deferred, respectively. * twisted.protocols.amp.Integer's documentation now clarifies that integers of arbitrary size are supported and that the wire format is a base-10 representation. * twisted.protocols.amp now includes support for transferring timestamps (amp.DateTime) and decimal values (amp.Decimal). * twisted.protocol.ftp.IWriteFile now has a close() method, which can return a Deferred. Previously a STOR command would finish immediately upon the receipt of the last byte of the uploaded file. With close(), the backend can delay the finish until it has performed some other slow action (like storing the data to a virtual filesystem). * FilePath now calls os.stat() only when new status information is required, rather than immediately when anything changes. For some applications this may result in fewer stat() calls. Additionally, FilePath has a new method, 'changed', which applications may use to indicate that the FilePath may have been changed on disk and therefore the next status information request must fetch a new stat result. This is useful if external systems, such as C libraries, may have changed files that Twisted applications are referencing via a FilePath. * Documentation improvements are now summarized in the NEWS file. * twisted.internet.task.deferLater now returns a cancellable Deferred. * The connect methods of twisted.internet.protocol.ClientCreator now return cancellable Deferreds. * twisted.spread.pb now has documentation covering some of its limitations. * twisted.spread.jelly now supports jellying and unjellying classes defined with slots if they also implement __getstate__ and __setstate__. * twisted.protocols.amp.ListOf arguments can now be specified as optional. * Bugfixes
Mention this is documentation in the COMMENT.
Remove @dirrm related logic.
Update from to 8.1.0; changes too numerous to list.
pkgsrc changes:
- Move more definitions to Makefile.common, drop some that had default values.
- Depend on py-OpenSSL and py-ZopeInterface.
- Add do-test target.
- Remove patch-aa and install all bin/ script with plain names, not with
${PYVERSSUFFIX} appended. setup.py is now much, much simpler, and rewriting
the patch would be difficult. It doesn't matter anyway, as I tried really
hard to install py-OpenSSL for both python24 and python25 and it just
doesn't work.
Add DESTDIR support.
Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE, NO_BUILD, USE_LIBTOOL.
Reset MAINTAINER -- he stopped working on pkgsrc.
add python as category ok'd a while back at pkgsrcCon by agc and wiz
fix path to py-twisted/Makefile.common
initial import of the Twisted documentation (1.2.0) provided by Michal Pasternak via pkgsrc-wip HTML documentation for Twisted Python; see py-twisted package for details.
Initial revision