Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12185

py2removal, src:xcb-proto (#938839) and src:libxcb (#936940)

Path csiph.com!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From Uli Schlachter <psychon@znc.in>
Newsgroups linux.debian.maint.python
Subject py2removal, src:xcb-proto (#938839) and src:libxcb (#936940)
Date Thu, 02 Jan 2020 11:20:02 +0100
Message-ID <zk5Ka-79E-7@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jan 2 10:18:09 2020
Old-Return-Path <psychon@znc.in>
X-Amavis-Spam-Status No, score=-7.58 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, MURPHY_SCAM1=0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
X-Greylist delayed 629 seconds by postgrey-1.36 at bendel; Thu, 02 Jan 2020 10:01:15 UTC
Openpgp preference=signencrypt
Autocrypt addr=psychon@znc.in; prefer-encrypt=mutual; keydata= mQENBEoFOH8BCADYPfnTWGUlPWI/BJBBDTaOKmNWRQ+TXXttGMZnuCZJV39NofxpYlSBkWDL 8ReE2DZ+5oJGxxDJYdQbHvP7UHQ9yhfZShYu/t9yL3mko1JtNhqPj4nBgtqnwq/vY2eET8ys +V3SpAB4bLYMA5g6d3g7EKF/FUkQzaVqkW4cP6DnWSHBNUH/GM4yElbvWoAR2QuTgLCh4JpO ndWS6Omo36HKNNWOM4xgnvRJt/qfX/OxXiMwpiVxUdxDH6xxBHzBTOn6BlOoYi2WMGmsN90s k6I5NFNLGVz12Ra1tCBxU9huKitwC7r1ptz7P+XXvcappbTZx8CrVonDmHuEbzKg1F0hABEB AAG0H1VsaSBTY2hsYWNodGVyIDxwc3ljaG9uQHpuYy5pbj6JAVcEE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1bOlTQ9N7dFI8shYRhS1j qUK1y7f68NGu/CZzFWu7qZRhU/ibNFr2kvV8FXTty8ut9vG2FL3OwmXRdvJUXvrRoF0dbDxI cPkFxGOZCnb4JWoVt/k18oiyd28JcgMFiILeKjWMXgmExU/9iJAGqa4mL1Qhql33G87+ZBPN
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language en-US
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17792
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/f1c67f0a-3096-43f1-df90-1df91a88e59a@znc.in
Approved robomod@news.nic.it
Lines 49
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 2 Jan 2020 10:50:39 +0100
X-Original-Message-ID <f1c67f0a-3096-43f1-df90-1df91a88e59a@znc.in>
Xref csiph.com linux.debian.maint.python:12185

Show key headers only | View raw


Dear DDs,

I am (basically) upstream for src:xcb-proto and src:libxcb. For random
reasons, I looked through the debian bugs against libxcb and stumbled
upon #938839 (py2removal for src:xcb-proto) and #936940 (py2removal for
src:libxcb). Here are some comments that hopefully turn into patches for
the two packages.

The short version of this mail: These two bugs can be tagged
py3available (by someone who does not always mess up any interaction
with the BTS).

The python code in the newest versions of xcb-proto and libxcb should
work fine with Python 3. In 2016, I merged some patches coming from
someone with a @NetBSD.org mail address that should make everything
build with python 3 (and python 3.5 was mentioned specifically).

Thus, the following steps should be necessary for the Debian packages:

1. Add a python3-xcbgen package.
2. Make libxcb build with python3.
3. Drop python-xcbgen? I'm not sure on the policy here, but it has no
reverse dependencies and the only reverse build dependency is libxcb.

This seems simple and "just the standard case". I would provide tested
patches for the bugs in question, but I am not quite sure about the
inner workings of dh-python.

For 1, I tried coming up with a patch for xcb-proto myself, but failed.
(--with dh-python3 and a new debian/python3-xcbgen.install and some
messing with debian/control, but no python3 paths ended up materialising
in the new binary package).
All the python code is in xcbgen/* in the source and just has to be
installed at the right place. That should be trivially simple for
someone who knows the necessary dh and autotools magic.

For 2... well, libxcb uses AM_PATH_PYTHON([2.6]) for finding python via
autotools, so I guess that export PYTHON=/usr/bin/python3 is all that is
necessary for this.

I hope this helps & sorry for failing to produce patches myself.

Cheers,
Uli

P.S.: I'm not subscribed to the list. Let's see how well that works out
for this mail...
-- 
Sent from my Game Boy.

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

py2removal, src:xcb-proto (#938839) and src:libxcb (#936940) Uli Schlachter <psychon@znc.in> - 2020-01-02 11:20 +0100

csiph-web