[Python-modules-team] Bug#767826: python3-django-assets: fails to install: SyntaxError: Missing parentheses in call to 'print'

2014-12-07 Thread Jean-Michel Nirgal Vourgère
Control: forwarded -1 https://github.com/miracle2k/django-assets/pull/47
Control: tags -1 fixed-upstream

Patch was merged upstream, but not released there yet.
Attached is a version with the meta information updated.
Description: python3 compat for pytest_plugin.py
 Trivial change to make the print statement compatible with python3 in the
 django_assets/pytest_plugin.py
Author: Jason Pleau ja...@jpleau.ca
Bug-Debian: https://bugs.debian.org/767826
Forwarded: https://github.com/miracle2k/django-assets/pull/47
Applied-Upstream: commit:9db6e5fdc40b4fc58dcf5b34eeb7cc9a60983f28
Last-Update: 2014-12-07
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/django_assets/pytest_plugin.py
+++ b/django_assets/pytest_plugin.py
@@ -3,5 +3,5 @@
 
 @pytest.fixture(autouse=True)
 def set_django_assets_env():
-print Set django assets environment
+print(Set django assets environment)
 django_assets.env.get_env() # initialise django-assets settings


signature.asc
Description: OpenPGP digital signature
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#767826: python3-django-assets: fails to install: SyntaxError: Missing parentheses in call to 'print'

2014-11-02 Thread Andreas Beckmann
Package: python3-django-assets
Version: 0.10-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.

From the attached log (scroll to the bottom...):

  Selecting previously unselected package python3-django-assets.
  (Reading database ... 21476 files and directories currently installed.)
  Preparing to unpack .../python3-django-assets_0.10-1_all.deb ...
  Unpacking python3-django-assets (0.10-1) ...
  Setting up python3-django-assets (0.10-1) ...
File /usr/lib/python3/dist-packages/django_assets/pytest_plugin.py, line 6
  print Set django assets environment
  ^
  SyntaxError: Missing parentheses in call to 'print'
  
  dpkg: error processing package python3-django-assets (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   python3-django-assets


cheers,

Andreas


python3-django-assets_0.10-1.log.gz
Description: application/gzip
___
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team