Wed Mar 13 18:23:35 2019 UTC ()
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.


(adam)
diff -r1.18 -r1.19 pkgsrc/net/py-foolscap/distinfo

cvs diff -r1.18 -r1.19 pkgsrc/net/py-foolscap/distinfo (expand / switch to unified diff)

--- pkgsrc/net/py-foolscap/distinfo 2017/10/07 11:58:09 1.18
+++ pkgsrc/net/py-foolscap/distinfo 2019/03/13 18:23:35 1.19
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.18 2017/10/07 11:58:09 adam Exp $ 1$NetBSD: distinfo,v 1.19 2019/03/13 18:23:35 adam Exp $
2 2
3SHA1 (foolscap-0.12.7.tar.gz) = 113a61acb99428ea79d0ea76dd0a475ce5118663 3SHA1 (foolscap-0.13.1.tar.gz) = 7336ef23f145d70894116f8ddfca7167fb5df6b9
4RMD160 (foolscap-0.12.7.tar.gz) = aa213758caf4b0f807bfa05af38e8b11798cf42d 4RMD160 (foolscap-0.13.1.tar.gz) = 116617b235c65f09f8827c2bae33b810c767e360
5SHA512 (foolscap-0.12.7.tar.gz) = bded8c86331c471002271a2baa2efae0b8bad767707427cea61ca8e3725fab5b8f0e1f36a5658c0afd6de607dac9e1278e49504fec0c1045b0628d5c2dc01950 5SHA512 (foolscap-0.13.1.tar.gz) = aa77fc22d6c1c32e1361f0ccc42902f25cf18ac917f81428d32f1170b75ecb4fe73f639e8bb641822775326ec920f14308ad7f4c5c01cd8051305fccde9c5e9e
6Size (foolscap-0.12.7.tar.gz) = 518685 bytes 6Size (foolscap-0.13.1.tar.gz) = 524167 bytes