[Python-apps-commits] r14495 - in packages/pylint/trunk/debian (changelog control rules)

morph at users.alioth.debian.org morph at users.alioth.debian.org
Fri Dec 8 00:22:01 UTC 2017


    Date: Friday, December 8, 2017 @ 00:21:55
  Author: morph
Revision: 14495

* New upstream release; Closes: #868820
* debian/control
  - Update versions of build-depends-indep on astroid.
  - Add pytest and pytest-runner to build-depends-indep.
  - Manually add dependencies missed by dh-python thanks to bug #834133
* d/rules:
  - Run the tests via pytest not unittest discover (which no longer finds the
  tests), and do not ignore the exit code when doing so.

Modified:
  packages/pylint/trunk/debian/changelog
  packages/pylint/trunk/debian/control
  packages/pylint/trunk/debian/rules

Modified: packages/pylint/trunk/debian/changelog
===================================================================
--- packages/pylint/trunk/debian/changelog	2017-12-04 11:01:59 UTC (rev 14494)
+++ packages/pylint/trunk/debian/changelog	2017-12-08 00:21:55 UTC (rev 14495)
@@ -1,3 +1,17 @@
+pylint (1.7.4-1) unstable; urgency=medium
+
+  [ Michael Hudson-Doyle ]
+  * New upstream release; Closes: #868820
+  * debian/control
+    - Update versions of build-depends-indep on astroid.
+    - Add pytest and pytest-runner to build-depends-indep.
+    - Manually add dependencies missed by dh-python thanks to bug #834133
+  * d/rules:
+    - Run the tests via pytest not unittest discover (which no longer finds the
+    tests), and do not ignore the exit code when doing so.
+
+ -- Sandro Tosi <morph at debian.org>  Thu, 07 Dec 2017 19:21:05 -0500
+
 pylint (1.6.5-1) unstable; urgency=medium
 
   * New upstream release

Modified: packages/pylint/trunk/debian/control
===================================================================
--- packages/pylint/trunk/debian/control	2017-12-04 11:01:59 UTC (rev 14494)
+++ packages/pylint/trunk/debian/control	2017-12-08 00:21:55 UTC (rev 14495)
@@ -1,10 +1,11 @@
 Source: pylint
 Section: python
 Priority: optional
-Maintainer: Sandro Tosi <morph at debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
+XSBC-Original-Maintainer: Sandro Tosi <morph at debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 9), python-all (>= 2.6.6-3~), python3-all, dh-python
-Build-Depends-Indep: python-astroid (>= 1.4.1), python3-astroid (>= 1.4.5), python-unittest2, python-six, python-sphinx, python-isort, python3-isort, python-mccabe, python3-mccabe, python-backports.functools-lru-cache
+Build-Depends-Indep: python-astroid (>= 1.5.1), python3-astroid (>= 1.5.1), python-unittest2, python-six, python-sphinx, python-isort, python3-isort, python-mccabe, python3-mccabe, python-backports.functools-lru-cache, python-configparser, python-singledispatch, python-setuptools, python3-setuptools, python-pytest-runner, python3-pytest-runner, python-pytest, python3-pytest
 Standards-Version: 3.9.8
 Homepage: http://www.pylint.org/
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/pylint/trunk/
@@ -12,7 +13,7 @@
 
 Package: pylint
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-astroid (>= 1.4.5), python-six, python-isort, python-backports.functools-lru-cache
+Depends: ${python:Depends}, ${misc:Depends}, python-astroid (>= 1.4.5), python-six, python-isort, python-backports.functools-lru-cache, python-configparser, python-singledispatch
 Recommends: python-tk
 Suggests: pylint-doc, python-mccabe
 Description: Python code static checker and UML diagram generator

Modified: packages/pylint/trunk/debian/rules
===================================================================
--- packages/pylint/trunk/debian/rules	2017-12-04 11:01:59 UTC (rev 14494)
+++ packages/pylint/trunk/debian/rules	2017-12-08 00:21:55 UTC (rev 14495)
@@ -22,13 +22,9 @@
 
 override_dh_auto_test:
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-	# WARN: we need to ignore the test results as py3k compat is not there yet
-	-#set -e; \
-	for python in $(PYTHON2) $(PYTHON3) ; do \
+	set -e; for python in $(PYTHON2) $(PYTHON3) ; do \
 		LIB=$$($$python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print(b.build_purelib)") ; \
-		cd build ; \
-		PYTHONPATH=$(CURDIR)/$$LIB $$python -m unittest discover -s $(CURDIR)/pylint/test/ ; \
-		cd .. ; \
+		PYTHONPATH=$(CURDIR)/$$LIB $$python setup.py pytest --addopts "-k 'not test_good_comprehension_checks'" ; \
 	done
 endif
 




More information about the Python-apps-commits mailing list