New Upstream Release - pylint-flask
Ready changes
Summary
Merged new upstream version: 0.6 (was: 0.5).
Resulting package
Built on 2023-03-14T07:28 (took 5m25s)
The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:
apt install -t fresh-releases python3-pylint-flask
Lintian Result
Diff
diff --git a/PKG-INFO b/PKG-INFO
index 18ac6a2..5b3962c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: pylint-flask
-Version: 0.5
+Version: 0.6
Summary: pylint-flask is a Pylint plugin to aid Pylint in recognizing and understanding errors caused when using Flask
Home-page: https://github.com/jschaf/pylint-flask
Author: Joe Schafer
Author-email: joe@jschaf.com
License: GPLv2
-Download-URL: https://github.com/jschaf/pylint-flask/tarball/v0.5
+Download-URL: https://github.com/jschaf/pylint-flask/tarball/v0.6
Description: UNKNOWN
Keywords: pylint flask plugin
Platform: UNKNOWN
diff --git a/debian/changelog b/debian/changelog
index b5ab07a..b2c4bb0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+pylint-flask (0.6-1) UNRELEASED; urgency=low
+
+ * New upstream release.
+ * Drop patch 0001-update-for-change-to-astroid.patch, present upstream.
+
+ -- Debian Janitor <janitor@jelmer.uk> Tue, 14 Mar 2023 07:23:36 -0000
+
pylint-flask (0.5-5) unstable; urgency=medium
[ Debian Janitor ]
diff --git a/debian/patches/0001-update-for-change-to-astroid.patch b/debian/patches/0001-update-for-change-to-astroid.patch
deleted file mode 100644
index 0ac1aa9..0000000
--- a/debian/patches/0001-update-for-change-to-astroid.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From: Henry Addison <henryaddison@users.noreply.github.com>
-Date: Tue, 27 Nov 2018 16:58:18 +0000
-Subject: update for change to astroid
-
-nodes.ImportFrom rather than nodes.From
----
- pylint_flask/__init__.py | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/pylint_flask/__init__.py b/pylint_flask/__init__.py
-index 83311a7..1ed512e 100644
---- a/pylint_flask/__init__.py
-+++ b/pylint_flask/__init__.py
-@@ -76,7 +76,7 @@ def is_flask_from_import(node):
- # Check for transformation first so we don't double process
- return not is_transformed(node) and node.modname == 'flask.ext'
-
--MANAGER.register_transform(nodes.From,
-+MANAGER.register_transform(nodes.ImportFrom,
- transform_flask_from_import,
- is_flask_from_import)
-
-@@ -93,7 +93,7 @@ def transform_flask_from_long(node):
-
- '''
- actual_module_name = make_non_magical_flask_import(node.modname)
-- new_node = nodes.From(actual_module_name, node.names, node.level)
-+ new_node = nodes.ImportFrom(actual_module_name, node.names, node.level)
- copy_node_info(node, new_node)
- mark_transformed(new_node)
- return new_node
-@@ -104,7 +104,7 @@ def is_flask_from_import_long(node):
- # Check for transformation first so we don't double process
- return not is_transformed(node) and node.modname.startswith('flask.ext.')
-
--MANAGER.register_transform(nodes.From,
-+MANAGER.register_transform(nodes.ImportFrom,
- transform_flask_from_long,
- is_flask_from_import_long)
-
diff --git a/debian/patches/series b/debian/patches/series
index 7763684..e69de29 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +0,0 @@
-0001-update-for-change-to-astroid.patch
diff --git a/pylint_flask/__init__.py b/pylint_flask/__init__.py
index 83311a7..1ed512e 100644
--- a/pylint_flask/__init__.py
+++ b/pylint_flask/__init__.py
@@ -76,7 +76,7 @@ def is_flask_from_import(node):
# Check for transformation first so we don't double process
return not is_transformed(node) and node.modname == 'flask.ext'
-MANAGER.register_transform(nodes.From,
+MANAGER.register_transform(nodes.ImportFrom,
transform_flask_from_import,
is_flask_from_import)
@@ -93,7 +93,7 @@ def transform_flask_from_long(node):
'''
actual_module_name = make_non_magical_flask_import(node.modname)
- new_node = nodes.From(actual_module_name, node.names, node.level)
+ new_node = nodes.ImportFrom(actual_module_name, node.names, node.level)
copy_node_info(node, new_node)
mark_transformed(new_node)
return new_node
@@ -104,7 +104,7 @@ def is_flask_from_import_long(node):
# Check for transformation first so we don't double process
return not is_transformed(node) and node.modname.startswith('flask.ext.')
-MANAGER.register_transform(nodes.From,
+MANAGER.register_transform(nodes.ImportFrom,
transform_flask_from_long,
is_flask_from_import_long)
diff --git a/setup.py b/setup.py
index 54e72e0..6fac323 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from distutils.core import setup
import sys
-_version = '0.5'
+_version = '0.6'
_packages = ['pylint_flask']
_short_description = "pylint-flask is a Pylint plugin to aid Pylint in \
Debdiff
[The following lists of changes regard files as different if they have different names, permissions or owners.]
Files in second set of .debs but not in first
-rw-r--r-- root/root /usr/lib/python3/dist-packages/pylint_flask-0.6.egg-info/PKG-INFO -rw-r--r-- root/root /usr/lib/python3/dist-packages/pylint_flask-0.6.egg-info/dependency_links.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/pylint_flask-0.6.egg-info/requires.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/pylint_flask-0.6.egg-info/top_level.txt
Files in first set of .debs but not in second
-rw-r--r-- root/root /usr/lib/python3/dist-packages/pylint_flask-0.5.egg-info/PKG-INFO -rw-r--r-- root/root /usr/lib/python3/dist-packages/pylint_flask-0.5.egg-info/dependency_links.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/pylint_flask-0.5.egg-info/requires.txt -rw-r--r-- root/root /usr/lib/python3/dist-packages/pylint_flask-0.5.egg-info/top_level.txt
No differences were encountered in the control files