[Python-modules-team] Bug#886291: Debian package transition: Rename package and reuse old name with new content

Alexis Murzeau amubtdx at gmail.com
Sat Aug 18 15:31:37 BST 2018


Hi mentors,

I'm trying to find the best solution for a package renaming of pycryptodome.
This package exists for both python3 and python2. For simplicity, I will
talk only about python3 packages.

The package is not in stable.

Currently, we have in testing and unstable:
- python3-pycryptodome
- python3-httpsig which depends on "python3-pycryptodome"
- python3-pysnmp4 which depends on "python3-pycryptodome"

To fix #886291, we should:
- Rename python3-pycryptodome to python3-pycryptodomex
- Reuse python3-pycryptodome package name to package a non compatible
python3 module.

The rationale of this rename + reuse is that currently,
python3-pycryptodome contains, in fact, the pycryptodomex module. So
renaming that one + introduce the new package for the pycryptodome module.

I already though of a solution on 886291 at bugs.debian.org use multiple
dependencies with "|" but the package must still be buildable with the
first dependency (sbuild ignore dependencies after "|" for example)

So I though of this:
- Rename python3-pycryptodome to python3-pycryptodomex
  - Put versioned breaks, replaces on the old python3-pycryptodome
    package
- Add python3-pycryptodome to build pycryptodome module
  - Add a dependency on python3-pycryptodomex to serve as also as a
    transitional package

Then, when all of pycryptodome reverse dependencies have moved to
python3-pycrytodomex and moved to testing, remove the
python3-pycryptodome dependency on python3-pycryptodomex.

I'm not sure of the transition policies when handling transitions on
testing and unstable only (ie: not involving stable).
But that should ensure there is no breakage between package in the archive.

Any though ?

Kind regards,
-- 
Alexis Murzeau
PGP: B7E6 0EBB 9293 7B06 BDBC  2787 E7BD 1904 F480 937F

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20180818/3c35b17a/attachment-0001.sig>


More information about the Python-modules-team mailing list