Subject: CVS commit: pkgsrc/net/py-foolscap
From: Adam Ciarcinski
Date: 2019-03-13 19:23:35
Message id: 20190313182335.D0374FB16@cvs.NetBSD.org

Log Message:
py-foolscap: updated to 0.13.1

Release 0.13.1

This release adds a minor feature to "flappclient": it now pays \ 
attention to
a pair of environment variables named $FOOLSCAP_TOR_CONTROL_PORT and
$FOOLSCAP_TOR_SOCKS_PORT. If set, the client will install a connection
handler that routes "tor:" -type FURLs through a Tor daemon at the given
ports (both of which are endpoint descriptors, e.g. "tcp:localhost:9050").

To use this, install the "tor" extra, like "pip install \ 
foolscap[tor]". If
this extra was not installed (e.g. "txtorcon" is not importable), the
environment variables will be ignored.

This release also improves the reliability of the unit test suite
(specifically test_reconnector) on slower systems.

Release 0.13.0

This release fixes compatibility with the latest Twisted-17.9.0 and changes
the way logfiles are encoded.

Foolscap's "flogtool" event-logging system can be configured to \ 
serialize log
events into "Incident Files". In previous versions, these were serialized
with the stdlib "pickle" module. However a recent change to Twisted's
"Failure" class made them unpickleable, causing Foolscap's unit test \ 
suite to
fail, and also affect applications which foolscap.logging.log.msg() with
Failures as arguments. And untrusted pickles were unsafe to load anyways.

This release replaces pickle with JSON, making it safe to use "flogtool"
utilities on untrusted incident files. All new incident files created by this
version will use JSON, and all tools (e.g. "flogtool dump") can only handle
JSON-based files.

This also resolves a problem with tox-2.9.0, which caused tests to not run at
all because nothing was installed into the test environment.

Files:
RevisionActionfile
1.19modifypkgsrc/net/py-foolscap/distinfo