Run of fresh-snapshots for python-logfury

Try this locally (using silver-platter):

debian-svp new-upstream --snapshot python-logfury 

Merge these changes:

git pull https://janitor.debian.net/git/python-logfury fresh-snapshots/main

Summary

Merged new upstream version: 0.1.2+git20170206.14ffc18 (was: 0.1.2).

Diff

diff --git a/README.rst b/README.rst
index 8c3d785..8fbdd2e 100644
--- a/README.rst
+++ b/README.rst
@@ -1,15 +1,24 @@
+.. image:: https://img.shields.io/travis/ppolewicz/logfury/master.svg?label=Travisa%20CI
+    :target: http://travis-ci.org/ppolewicz/logfury
+.. image:: https://img.shields.io/appveyor/ci/ppolewicz/logfury/master.svg?label=Appveyor%20CI
+    :target: https://ci.appveyor.com/project/ppolewicz/logfury
+.. image:: https://img.shields.io/codacy/grade/7370168db8b045e6b450a14d2295ce94/master.svg
+    :target: https://www.codacy.com/app/p-polewicz/logfury/dashboard
+.. image:: https://img.shields.io/pypi/wheel/logfury.svg
+    :target: https://pypi.python.org/pypi/logfury/
+.. image:: https://img.shields.io/pypi/l/logfury.svg
+    :target: https://pypi.python.org/pypi/logfury/
+.. image:: https://img.shields.io/pypi/v/logfury.svg
+    :target: https://pypi.python.org/pypi/logfury/
+.. image:: https://img.shields.io/pypi/dm/logfury.svg
+    :target: https://pypi.python.org/pypi/logfury/
+
 ========
 Logfury
 ========
 
 Logfury is for python library maintainers. It allows for responsible, low-boilerplate logging of method calls.
 
-*****************
-License
-*****************
-
-BSD 3-clause
-
 *****************************
 whats with the weird import
 *****************************
diff --git a/debian/changelog b/debian/changelog
index 38db653..b45844e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
-python-logfury (0.1.2-4) UNRELEASED; urgency=medium
+python-logfury (0.1.2+git20170206.14ffc18-1) UNRELEASED; urgency=medium
 
+  [ Ondřej Nový ]
   * Bump Standards-Version to 4.4.1.
 
- -- Ondřej Nový <onovy@debian.org>  Fri, 18 Oct 2019 15:56:17 +0200
+  [ Debian Janitor ]
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Tue, 28 Jan 2020 05:33:07 +0000
 
 python-logfury (0.1.2-3) unstable; urgency=medium
 
diff --git a/release.sh b/release.sh
new file mode 100755
index 0000000..cb38535
--- /dev/null
+++ b/release.sh
@@ -0,0 +1,12 @@
+#!/bin/bash -eux
+version="$1"
+pkgname='logfury'
+
+pip install -U "pip>=1.4" "setuptools>=0.9" "wheel>=0.21" twine
+git tag "$version"
+git push --tags origin master
+python setup.py sdist bdist_wheel
+#twine register -r pypi "dist/${pkgname}-${version}-py2.py3-none-any.whl"
+twine upload -s -r pypi "dist/${pkgname}-${version}-py2.py3-none-any.whl" "dist/${pkgname}-${version}.tar.gz"
+
+echo '-- all ok --'
diff --git a/setup.cfg b/setup.cfg
index 6bec899..883ff6e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -15,6 +15,7 @@ processes=-1
 [check-manifest]
 ignore =
     run-unit-tests.sh
+	release.sh
 	pre-commit.sh
 	test
 	test/*
diff --git a/src/logfury/v0_1/meta.py b/src/logfury/v0_1/meta.py
index c90ddb4..fe144f8 100644
--- a/src/logfury/v0_1/meta.py
+++ b/src/logfury/v0_1/meta.py
@@ -10,7 +10,7 @@ class AbstractTraceMeta(type):
     """
 
     @classmethod
-    def _filter_attribute(cls, attribute_name, attribute_value):
+    def _filter_attribute(mcs, attribute_name, attribute_value):
         """
         decides whether the given attribute should be excluded from tracing or not
         """
@@ -20,7 +20,7 @@ class AbstractTraceMeta(type):
             return True
         return False
 
-    def __new__(cls, name, bases, attrs, **kwargs):
+    def __new__(mcs, name, bases, attrs, **kwargs):
         # *magic*: an educated guess is made on how the module that the
         # processed class is created in would get its logger.
         # It is assumed that the popular convention recommended by the
@@ -31,7 +31,7 @@ class AbstractTraceMeta(type):
         for attribute_name in attrs:
             attribute_value = attrs[attribute_name]
 
-            if cls._filter_attribute(attribute_name, attribute_value):
+            if mcs._filter_attribute(attribute_name, attribute_value):
                 continue
             # attrs['__module__'] + '.' + attribute_name is worth logging
 
@@ -75,7 +75,7 @@ class AbstractTraceMeta(type):
             wrapped_value = wrapper(attribute_value)
             # and substitute the trace-wrapped method for the original
             attrs[attribute_name] = wrapped_value
-        return super(AbstractTraceMeta, cls).__new__(cls, name, bases, attrs)
+        return super(AbstractTraceMeta, mcs).__new__(mcs, name, bases, attrs)
 
 
 class TraceAllPublicCallsMeta(AbstractTraceMeta):
@@ -84,8 +84,8 @@ class TraceAllPublicCallsMeta(AbstractTraceMeta):
     """
 
     @classmethod
-    def _filter_attribute(cls, attribute_name, attribute_value):
-        if super(TraceAllPublicCallsMeta, cls)._filter_attribute(attribute_name, attribute_value):
+    def _filter_attribute(mcs, attribute_name, attribute_value):
+        if super(TraceAllPublicCallsMeta, mcs)._filter_attribute(attribute_name, attribute_value):
             return True
         elif not callable(attribute_value):
             return True  # it is a field
@@ -104,8 +104,8 @@ class DefaultTraceMeta(TraceAllPublicCallsMeta):
     """
 
     @classmethod
-    def _filter_attribute(cls, attribute_name, attribute_value):
-        if super(DefaultTraceMeta, cls)._filter_attribute(attribute_name, attribute_value):
+    def _filter_attribute(mcs, attribute_name, attribute_value):
+        if super(DefaultTraceMeta, mcs)._filter_attribute(attribute_name, attribute_value):
             return True
         elif attribute_name.startswith('get_'):
             return True

Full worker log Full build log