[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ITP: python3-qutip-{core,qip,qtrl,qoc}, python-qutip-core-{core,qip,qtrl,qoc}



On 3/31/25 8:09 PM, Drew Parsons wrote:
On 2025-03-31 19:01, Dirk Lehmann wrote:
Hello Drew =)

I don't think python-qutip-core-doc is necessary.
There is already a python-qutip-doc package, and it's still the right place for the core docs.

You are right, there is one `-doc` too much.  Hmmm, in my concept it would be better to drop `python-qutip-doc` as the last step of migration (see below) and instead mark

  * python-qutip-core-doc
    Replaces: python-qutip-doc (<< 5.1.1-20)
    Conflicts: python-qutip-doc (<< 5.1.1-20)


No, precisely the opposite.  I'm saying it is not constructive to create python-qutip-core-doc.

Okay, I think from the view of binary package to keep `python-qutip-doc` looks easier for the user. But I think during migration it does not really work, as there is a

  * python-qutip-core version 5.1.1-20

in concurrence with

  * python-qutip version 5.1.1-2+really4.7.5-2
    python-qutip-doc version 5.1.1-2+really4.7.5-2

Also from logical point of view, the documentation just contains topics of python-qutip-core and not of all packages.

Here the possible source-binary mapping of the packages. I think with the first/upper one we get an issue during migration, as during migration there existing 2 versions in parallel

  * python-qutip version 5.1.1-2+really4.7.5-2

in concurrence with

  * python-qutip-core version 5.1.1-20

This is not mapable into Git.

----------------------------------------------------------------------

source package           binary package

qutip                    python3-qutip (metapackage)
                         python3-qutip-core
                         python-qutip-doc

python-qutip-qip         python3-qutip-qip
                         python-qutip-qip-doc

python-qutip-qtrl        python3-qutip-qtrl
                         python-qutip-qtrl-doc

python-qutip-qoc         python3-qutip-qtrl
                         python-qutip-qtrl-doc

----------------------------------------------------------------------

source package           binary package

qutip                    python3-qutip (metapackage)

python-qutip-core        python3-qutip-core
                         python-qutip-core-doc (or python-qutip-doc)

python-qutip-qip         python3-qutip-qip
                         python-qutip-qip-doc

python-qutip-qtrl        python3-qutip-qtrl
                         python-qutip-qtrl-doc

python-qutip-qoc         python3-qutip-qtrl
                         python-qutip-qtrl-doc

----------------------------------------------------------------------

To migrate without having version issues, the idea is to implement the packages step by step.  I will mark in `python3-qutip-core` like

  * python3-qutip-core
    Replaces: python3-qutip (<< 5.1.1-20)
    Conflicts: python3-qutip (<< 5.1.1-20)

So it should just possible to install one of them during migration.


Correction: I think here also a conflict required:
 * python3-qutip
   Replaces: python3-qutip-core (<< 5.1.1-20)
   Conflicts: python3-qutip-core (<< 5.1.1-20)

No, it would be the other way around.
python3-qutip-core replaces and conflicts with the previous python3-qutip.

Same argument as above.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: