[Python-modules-team] Bug#944680: python-ftputil: Python2 removal in sid/bullseye

2019-11-13 Thread Stuart Prescott
Source: python-ftputil
Version: 3.4-1
Severity: serious
Tags: sid bullseye
Justification: Python 2 is going away.
User: debian-pyt...@lists.debian.org
Usertags: py2removal

New Python 2 packages shouldn't be added to bullseye at this stage unless it's
the *only* way of helping some other package transition from Python 2 to
Python 3 *and* there is a clear plan on how and when to remove them in early
2020.

--- boilerplate of the rest of the py2rm bug below ---

Python2 becomes end-of-live upstream, and Debian aims to remove
Python2 from the distribution, as discussed in
https://lists.debian.org/debian-python/2019/07/msg00080.html

Your package either build-depends, depends on Python2, or uses Python2
in the autopkg tests.  Please stop using Python2, and fix this issue
by one of the following actions.

- Convert your Package to Python3. This is the preferred option.  In
  case you are providing a Python module foo, please consider dropping
  the python-foo package, and only build a python3-foo package.  Please
  don't drop Python2 modules, which still have reverse dependencies,
  just document them.
  
  This is the preferred option.

- If the package is dead upstream, cannot be converted or maintained
  in Debian, it should be removed from the distribution.  If the
  package still has reverse dependencies, raise the severity to
  "serious" and document the reverse dependencies with the BTS affects
  command.  If the package has no reverse dependencies, confirm that
  the package can be removed, reassign this issue to ftp.debian.org,
  make sure that the bug priority is set to normal and retitle the
  issue to "RM: PKG -- removal triggered by the Python2 removal".

- If the package has still many users (popcon >= 300), or is needed to
  build another package which cannot be removed, document that by
  adding the "py2keep" user tag (not replacing the py2remove tag),
  using the debian-pyt...@lists.debian.org user.  Also any
  dependencies on an unversioned python package (python, python-dev)
  must not be used, same with the python shebang.  These have to be
  replaced by python2/python2.7 dependencies and shebang.

  This is the least preferred option.

If the conversion or removal needs action on another package first,
please document the blocking by using the BTS affects command, like

  affects  + src:python-debian

If there is no py2removal bug for that reverse-dependency, please file
a bug on this package (similar to this bug report).

If there are questions, please refer to the wiki page for the removal:
https://wiki.debian.org/Python/2Removal, or ask for help on IRC
#debian-python, or the debian-pyt...@lists.debian.org mailing list.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#943409: python3-cheroot: Missing dependency on python3-jaraco.functools

2019-10-24 Thread Stuart Prescott
Package: python3-cheroot
Version: 8.2.1+ds-1
Severity: serious
Justification: Policy 3.5 Packages must specify their dependencies

Dear Maintainer,

python3-cheroot appears to have grown a dependency on jaraco.functools;
python3-jaraco.functools versio 2.0-1 is in the NEW queue.

$ python3 -c "from cheroot.wsgi import Server"
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3/dist-packages/cheroot/wsgi.py", line 36, in 
from . import server
  File "/usr/lib/python3/dist-packages/cheroot/server.py", line 90, in 
from .workers import threadpool
  File "/usr/lib/python3/dist-packages/cheroot/workers/threadpool.py", line 15, 
in 
from jaraco.functools import pass_none
ModuleNotFoundError: No module named 'jaraco'

regards
Stuart

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#937301: Bug##937301: plastex: Python2 removal in sid/bullseye

2019-08-30 Thread Stuart Prescott
Control: tags -1 + upstream
Control: forwarded -1 https://github.com/tiarno/plastex/issues/109
Control: block -1 by 827389
Control: block 938308 by -1

I looked at plastex the other day and found:

* there is a new python3-compatible upstream release 2.0 
 
https://github.com/tiarno/plastex/commit/ac3b2c6090e7871f0f966339f6d65b499ad0afaf

* the new upstream release is not compatible with Python 3.7 or later, there
 is some work towards this in https://github.com/tiarno/plastex/issues/109
 and https://github.com/tiarno/plastex/pull/118

I have (sort-of-tested) packaging for 2.0.0-1 carrying the relevant patches
from PR#118 and will upload something soonish (or at least push that work
to salsa).

Stuart

-- 
Stuart Prescotthttp://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/ stu...@debian.org
GPG fingerprint90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#910056: twisted: Missing version constraint on python-attr dependencies

2018-10-01 Thread Stuart Prescott
Source: twisted
Version: 18.7.0-2
Severity: important

Dear Maintainer,

The python3-twisted package declares "Depends: python3-attr" however it is
not compatible with the version of python3-attr that is in stretch. This
means that partially upgraded systems could have a non-functional twisted
installation and also means that the upload of twisted to stretch-backports
is (partially?) broken.

To fix the partial-upgrade problem, a versioned dependency such as ">> 17.4.0"
is sufficient.

(Andrej, for stretch-backports, a backport of python-attrs fixes the problem.)

I also can't spot the twisted test suite being run in either the sid or the
stretch-backports build logs, is it possible to make the tests run on the
buildd? (Would that have caught this problem with the backport?)

cheers
Stuart



$ python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39) 
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import twisted.web.http
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python3/dist-packages/twisted/web/http.py", line 100, in 

from twisted.internet import interfaces, protocol, address
  File "/usr/lib/python3/dist-packages/twisted/internet/address.py", line 23, 
in 
class IPv4Address(object):
  File "/usr/lib/python3/dist-packages/twisted/internet/address.py", line 37, 
in IPv4Address
type = attr.ib(validator=attr.validators.in_(["TCP", "UDP"]))
AttributeError: module 'attr.validators' has no attribute 'in_'

$ apt-cache policy python3-twisted python3-attr
python3-twisted:
  Installed: 18.7.0-2~bpo9+1
  Candidate: 18.7.0-2~bpo9+1
  Version table:
 *** 18.7.0-2~bpo9+1 200
200 http://deb.debian.org/debian stretch-backports/main amd64 Packages
200 http://deb.debian.org/debian stretch-backports/main i386 Packages
100 /var/lib/dpkg/status
 16.6.0-2 500
500 http://deb.debian.org/debian stretch/main amd64 Packages
500 http://deb.debian.org/debian stretch/main i386 Packages
python3-attr:
  Installed: 16.3.0-1
  Candidate: 16.3.0-1
  Version table:
 *** 16.3.0-1 500
500 http://deb.debian.org/debian stretch/main amd64 Packages
500 http://deb.debian.org/debian stretch/main i386 Packages
100 /var/lib/dpkg/status

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#896485: FTBFS with sphinx 1.7.2: exception: cannot import name 'Directive'

2018-05-03 Thread Stuart Prescott
Control: tags -1 +patch

Attached is a patch that fixes this FTBFS; the offending import is no longer 
needed and so just deleting the line is enough to solve the bug. (This is 
fixed in a similar fashion upstream along with a few other changes to 
numpydoc.)

cheers
Stuart

-- 
Stuart Prescotthttp://www.nanonanonano.net/   stu...@nanonanonano.net
Debian Developer   http://www.debian.org/ stu...@debian.org
GPG fingerprint90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7From 4f08d02c13dc4aa98e31f2e9ba58bc065712da45 Mon Sep 17 00:00:00 2001
From: Stuart Prescott 
Date: Thu, 3 May 2018 23:09:56 +1000
Subject: [PATCH 2/2] Remove unneeded import from numpydoc to fix FTBFS

(Closes: #896633)
---
 debian/changelog|  1 +
 debian/patches/numpydoc-directive.patch | 10 ++
 debian/patches/series   |  1 +
 3 files changed, 12 insertions(+)
 create mode 100644 debian/patches/numpydoc-directive.patch

diff --git a/debian/changelog b/debian/changelog
index 891b035..9a08cba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ python-numpy (1:1.13.3-3) UNRELEASED; urgency=medium
 
   [ Stuart Prescott ]
   * add debhelper sequence to support --with numpy,numpy3
+  * Remove unneeded import in numpydoc, fixing FTBFS (Closes: #896633)
 
  -- Ondřej Nový   Tue, 13 Feb 2018 10:05:23 +0100
 
diff --git a/debian/patches/numpydoc-directive.patch b/debian/patches/numpydoc-directive.patch
new file mode 100644
index 000..72eb865
--- /dev/null
+++ b/debian/patches/numpydoc-directive.patch
@@ -0,0 +1,10 @@
+--- a/doc/sphinxext/numpydoc/numpydoc.py
 b/doc/sphinxext/numpydoc/numpydoc.py
+@@ -29,7 +29,6 @@
+ raise RuntimeError("Sphinx 1.0.1 or newer is required")
+ 
+ from .docscrape_sphinx import get_doc_object, SphinxDocString
+-from sphinx.util.compat import Directive
+ 
+ if sys.version_info[0] >= 3:
+ sixu = lambda s: s
diff --git a/debian/patches/series b/debian/patches/series
index 3e2b507..fa55b09 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+numpydoc-directive.patch
 03_force_f2py_version.patch
 10_use_local_python.org_object.inv_sphinx.diff
 python3-soabi.patch
-- 
2.11.0

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team