pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-foolscap py-foolscap: updated to 0.13.1

branches:  trunk
changeset: 320968:1c5ae90a493b
user:      adam <>
date:      Wed Mar 13 18:23:35 2019 +0000

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.


 net/py-foolscap/distinfo |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (15 lines):

diff -r f37df8de2409 -r 1c5ae90a493b net/py-foolscap/distinfo
--- a/net/py-foolscap/distinfo  Wed Mar 13 18:10:42 2019 +0000
+++ b/net/py-foolscap/distinfo  Wed Mar 13 18:23:35 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2017/10/07 11:58:09 adam Exp $
+$NetBSD: distinfo,v 1.19 2019/03/13 18:23:35 adam Exp $
-SHA1 (foolscap-0.12.7.tar.gz) = 113a61acb99428ea79d0ea76dd0a475ce5118663
-RMD160 (foolscap-0.12.7.tar.gz) = aa213758caf4b0f807bfa05af38e8b11798cf42d
-SHA512 (foolscap-0.12.7.tar.gz) = bded8c86331c471002271a2baa2efae0b8bad767707427cea61ca8e3725fab5b8f0e1f36a5658c0afd6de607dac9e1278e49504fec0c1045b0628d5c2dc01950
-Size (foolscap-0.12.7.tar.gz) = 518685 bytes
+SHA1 (foolscap-0.13.1.tar.gz) = 7336ef23f145d70894116f8ddfca7167fb5df6b9
+RMD160 (foolscap-0.13.1.tar.gz) = 116617b235c65f09f8827c2bae33b810c767e360
+SHA512 (foolscap-0.13.1.tar.gz) = aa77fc22d6c1c32e1361f0ccc42902f25cf18ac917f81428d32f1170b75ecb4fe73f639e8bb641822775326ec920f14308ad7f4c5c01cd8051305fccde9c5e9e
+Size (foolscap-0.13.1.tar.gz) = 524167 bytes

Home | Main Index | Thread Index | Old Index