Source: webassets
Version: 3:0.11.1-1
Severity: important
Tags: patch

Dear Maintainer,

In cssmin 0.2.0-2, the packaging has been updated to provide separate module
packages for Python 2 and Python 3 modules. There is now:

  * python-cssmin (Python 2 modules)
  * python3-cssmin (Python 3 modules)
  * cssmin (command line tools, using the Python 3 modules)

(these packages only exist in experimental at present).

It appears that webassets uses cssmin by importing the public module and so the
packages will need updating with something like the attached patch. To ensure
that upgrades work smoothly, we can either instead make the dependencies

  python-cssmin | cssmin (<= 0.2.0-1)

or I could add restrictions to the cssmin packages, something like

  Breaks: python-webassets (<= 3:0.11.1-1)

and make sure both updated packages are uploaded at about the same time.

Note that if python3-webassets is currently using cssmin by importing the module
then this usage of cssmin is buggy; prior to 0.2.0-2, there is no cssmin
module to import from Python 3 and that Suggests doesn't work.

I'd like to upload the updated cssmin packaging to unstable in the next week or
so. Please let me know how you would like to proceed. I see that webassets is
in collab-maint and I'm happy to push a suitable change and upload the package
to complete this work for you if you would like.

cheers
Stuart
diff --git a/debian/control b/debian/control
index e4bab4d..806cd16 100644
--- a/debian/control
+++ b/debian/control
@@ -39,7 +39,7 @@ Suggests:
  python-cssutils,
  node-less,
  ruby-sass,
- cssmin,
+ python-cssmin,
  node-requirejs,
 Description: Asset management application for Python web development
  Assets helps you merge and compress any JavaScript and CSS files on your web
@@ -58,7 +58,7 @@ Suggests:
  python-cssutils,
  node-less,
  ruby-sass,
- cssmin,
+ python3-cssmin,
  node-requirejs,
 Description: Asset management application for Python web development (Python 3)
  Assets helps you merge and compress any JavaScript and CSS files on your web

Reply via email to