[Python-modules-commits] [py-macaroon-bakery] 03/05: New upstream release (0.0.5)
Colin Watson
cjwatson at moszumanska.debian.org
Mon Nov 6 10:44:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
cjwatson pushed a commit to branch master
in repository py-macaroon-bakery.
commit 575fe10b55f57501d9920d2d3dce06d9df87791a
Merge: 259838b 8051fc0
Author: Colin Watson <cjwatson at debian.org>
Date: Mon Nov 6 10:04:48 2017 +0000
New upstream release (0.0.5)
debian/.git-dpm | 14 +-
debian/changelog | 8 +
debian/patches/isolate-from-proxy.patch | 43 +++
debian/patches/lower-protobuf-requests-deps.patch | 32 --
debian/patches/series | 2 +-
docs/conf.py | 2 +-
macaroonbakery/__init__.py | 97 +++--
macaroonbakery/authorizer.py | 4 +-
macaroonbakery/bakery.py | 175 +--------
macaroonbakery/checker.py | 42 +-
macaroonbakery/checkers/__init__.py | 54 ++-
macaroonbakery/checkers/time.py | 53 ++-
macaroonbakery/checkers/utils.py | 2 +-
macaroonbakery/codec.py | 50 +--
macaroonbakery/discharge.py | 55 ++-
macaroonbakery/httpbakery/__init__.py | 48 ++-
macaroonbakery/httpbakery/agent.py | 52 ---
macaroonbakery/httpbakery/agent/__init__.py | 17 +
macaroonbakery/httpbakery/agent/agent.py | 180 +++++++++
macaroonbakery/httpbakery/browser.py | 86 +++++
macaroonbakery/httpbakery/client.py | 442 +++++++++++++++------
macaroonbakery/httpbakery/discharge.py | 33 ++
macaroonbakery/httpbakery/error.py | 151 +++++++-
macaroonbakery/httpbakery/interactor.py | 73 ++++
macaroonbakery/httpbakery/keyring.py | 26 +-
macaroonbakery/identity.py | 10 +-
macaroonbakery/macaroon.py | 81 ++--
macaroonbakery/oven.py | 44 ++-
macaroonbakery/tests/common.py | 30 +-
macaroonbakery/tests/test_agent.py | 331 +++++++++++++++-
macaroonbakery/tests/test_authorizer.py | 72 ++--
macaroonbakery/tests/test_bakery.py | 88 ++++-
macaroonbakery/tests/test_checker.py | 443 ++++++++++------------
macaroonbakery/tests/test_client.py | 395 +++++++++++++++++++
macaroonbakery/tests/test_codec.py | 115 +++---
macaroonbakery/tests/test_discharge.py | 274 +++++++------
macaroonbakery/tests/test_discharge_all.py | 71 ++--
macaroonbakery/tests/test_keyring.py | 34 +-
macaroonbakery/tests/test_macaroon.py | 69 ++--
macaroonbakery/tests/test_namespace.py | 2 +
macaroonbakery/tests/test_oven.py | 127 +++----
macaroonbakery/tests/test_store.py | 4 +-
macaroonbakery/tests/test_time.py | 129 +++++++
macaroonbakery/third_party.py | 38 +-
macaroonbakery/utils.py | 106 ++++--
macaroonbakery/versions.py | 10 +-
setup.py | 2 +-
tox.ini | 7 +-
48 files changed, 2968 insertions(+), 1255 deletions(-)
diff --cc debian/.git-dpm
index 78ae886,0000000..865a7b9
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
+# see git-dpm(1) from git-dpm package
- 075e9d186663b19cc3d3a892377e28fcfd7993a7
- 075e9d186663b19cc3d3a892377e28fcfd7993a7
- 3d9eaeb5dacee168a93da090e2c0d46eedbe51a2
- 3d9eaeb5dacee168a93da090e2c0d46eedbe51a2
- py-macaroon-bakery_0.0.4.orig.tar.gz
- 0991cc6e4167b4b83740f03baa89123ff6d9a424
- 69675
++8051fc0e07186078ae5419ac9de246cf6e57359a
++8051fc0e07186078ae5419ac9de246cf6e57359a
++37d61d0415f6cc96a7a9abe057e1ae0f89fd977e
++37d61d0415f6cc96a7a9abe057e1ae0f89fd977e
++py-macaroon-bakery_0.0.5.orig.tar.gz
++b6a1d6a8ff0cc252cf2dd3464bb881daadb7b056
++80202
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --cc debian/changelog
index 618344a,0000000..a5ebfcc
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,15 -1,0 +1,23 @@@
++py-macaroon-bakery (0.0.5-1) UNRELEASED; urgency=medium
++
++ * New upstream release.
++ * Apply https://github.com/go-macaroon-bakery/py-macaroon-bakery/pull/28
++ to isolate client tests from any configured HTTP proxy.
++
++ -- Colin Watson <cjwatson at debian.org> Mon, 06 Nov 2017 10:05:18 +0000
++
+py-macaroon-bakery (0.0.4-1) unstable; urgency=medium
+
+ * New upstream release.
+ * Cherry-pick
+ https://github.com/go-macaroon-bakery/py-macaroon-bakery/pull/26 to
+ lower protobuf and requests dependencies to versions satisfiable in
+ unstable.
+
+ -- Colin Watson <cjwatson at debian.org> Fri, 03 Nov 2017 16:11:44 +0000
+
+py-macaroon-bakery (0.0.3-1) unstable; urgency=medium
+
+ * Initial release (closes: #866779).
+
+ -- Colin Watson <cjwatson at debian.org> Thu, 02 Nov 2017 14:35:45 +0000
diff --cc debian/patches/isolate-from-proxy.patch
index 0000000,0000000..ee5d08a
new file mode 100644
--- /dev/null
+++ b/debian/patches/isolate-from-proxy.patch
@@@ -1,0 -1,0 +1,43 @@@
++From 8051fc0e07186078ae5419ac9de246cf6e57359a Mon Sep 17 00:00:00 2001
++From: Colin Watson <cjwatson at debian.org>
++Date: Mon, 6 Nov 2017 10:27:10 +0000
++Subject: Isolate client tests from any HTTP proxy
++
++Debian's Python packaging tools set http_proxy to a non-existent proxy
++to help flush out packages that try to talk to the network during build,
++but these tests could previously fail in more normal development
++environments too.
++
++Forwarded: https://github.com/go-macaroon-bakery/py-macaroon-bakery/pull/28
++Last-Update: 2017-11-06
++
++Patch-Name: isolate-from-proxy.patch
++---
++ macaroonbakery/tests/test_client.py | 7 +++++++
++ 1 file changed, 7 insertions(+)
++
++diff --git a/macaroonbakery/tests/test_client.py b/macaroonbakery/tests/test_client.py
++index e1a4009..8263f54 100644
++--- a/macaroonbakery/tests/test_client.py
+++++ b/macaroonbakery/tests/test_client.py
++@@ -3,6 +3,7 @@
++ import base64
++ import datetime
++ import json
+++import os
++ from unittest import TestCase
++ try:
++ from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
++@@ -26,6 +27,12 @@ TEST_OP = bakery.Op(entity='test', action='test')
++
++
++ class TestClient(TestCase):
+++ def setUp(self):
+++ super(TestClient, self).setUp()
+++ # http_proxy would cause requests to talk to the proxy, which is
+++ # unlikely to know how to talk to the test server.
+++ os.environ.pop('http_proxy', None)
+++
++ def test_single_service_first_party(self):
++ b = new_bakery('loc', None, None)
++
diff --cc debian/patches/series
index f688483,0000000..781b9ec
mode 100644,000000..100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@@ -1,1 -1,0 +1,1 @@@
- lower-protobuf-requests-deps.patch
++isolate-from-proxy.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/py-macaroon-bakery.git
More information about the Python-modules-commits
mailing list