Re: ITP: python3-qutip-{core,qip,qtrl,qoc}, python-qutip-core-{core,qip,qtrl,qoc}
On 2025-03-31 18:11, Dirk Lehmann wrote: Hey Debian Science Team =D in the next hour/s I will report 8 ITPs for the new QuTiP packages to WNPP. As the Debian Science Policy directs, I will * X-Debbugs-Cc: Please DO NOT consider it as spam. To I will just send a summary subsequently. You can review the ITPs at the end of this email in advance. Greets, Dirk =) * Package name: python-qutip-core-doc Version : 5.1.1 Upstream Contact: https://github.com/qutip/qutip/discussions * URL : https://qutip.org/documentation.html * License : BSD-3-Clause Programming Lang: Python Description : QuTiP: Quantum Toolbox in Python (documentation) QuTiP is open-source software for simulating the dynamics of open quantum systems. The QuTiP library depends on the excellent Numpy, Scipy, and Cython numerical packages. In addition, graphical output is provided by Matplotlib. QuTiP aims to provide user-friendly and efficient numerical simulations of a wide variety of Hamiltonians, including those with arbitrary time-dependence, commonly found in a wide range of physics applications such as quantum optics, trapped ions, superconducting circuits, and quantum nanomechanical resonators. . This package contains the documentation for `python-qutip-core`. 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're proposing to simply rename the current python3-qutip to python3-qutip-core, right? You'd want to keep python3-qutip as a dependency package in any case, and the core docs are still relevant as python-qutip-doc Drew
Re: ITP: python3-qutip-{core,qip,qtrl,qoc}, python-qutip-core-{core,qip,qtrl,qoc}
On 3/31/25 7:01 PM, Dirk Lehmann wrote: ** * For Trixie I think the best solution for Trixie is to rollback to 4.7.5-2 with a version scheme like * python3-qutip 5.1.1-2+really4.7.5-2 I start the migration with version * python3-qutip-* 5.1.1-20 This should not prevent the migration in unstable as I do not touch python3-qutip. During Trixie freeze I report a serious bug to every new package, so that these do not going into Debian Testing for Trixie. Correction: Version needs to be * python3-qutip 5.1.1-2+really4.7.5 * python3-qutip-* 5.1.1-20 Which gives: ``` $> dpkg --compare-versions 5.1.1-2+really4.7.5 '<<' 5.1.1-20 \ && echo True True ``` Greets, Dirk OpenPGP_signature.asc Description: OpenPGP digital signature
Re: ITP: python3-qutip-{core,qip,qtrl,qoc}, python-qutip-core-{core,qip,qtrl,qoc}
On 3/31/25 7:01 PM, Dirk Lehmann wrote:
If I have finished the packaging in the last step we can make `python3-
qutip` to a pure metapackage which
* python3-qutip
Depends: python3-qutip-core
Recommends: python3-qutip-{qip,qtrl,qoc},
Suggests: python-qutip-{qip,qtrl,qoc}-doc
This should hopefully trigger `apt` to upgrade to the new packaging
structure. We should do this if the Trixie freeze is over.
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)
Depends: python3-qutip-core (>= 5.1.1-20)
Recommends: python3-qutip-{qip,qtrl,qoc},
Suggests: python-qutip-{qip,qtrl,qoc}-doc
Hopefully apt can resolve this, but we have time to try it out =D
Dirk.
OpenPGP_signature.asc
Description: OpenPGP digital signature
Re: ITP: python3-qutip-{core,qip,qtrl,qoc}, python-qutip-core-{core,qip,qtrl,qoc}
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)
You're proposing to simply rename the current python3-qutip to python3-
qutip-core, right?
You'd want to keep python3-qutip as a dependency package in any case,
and the core docs are still relevant as python-qutip-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.
If I have finished the packaging in the last step we can make
`python3-qutip` to a pure metapackage which
* python3-qutip
Depends: python3-qutip-core
Recommends: python3-qutip-{qip,qtrl,qoc},
Suggests: python-qutip-{qip,qtrl,qoc}-doc
This should hopefully trigger `apt` to upgrade to the new packaging
structure. We should do this if the Trixie freeze is over.
As last step it should be possible to drop `python3-qutip-doc` from the
Debian archives.
**
* For Trixie
I think the best solution for Trixie is to rollback to 4.7.5-2 with a
version scheme like
* python3-qutip 5.1.1-2+really4.7.5-2
I start the migration with version
* python3-qutip-* 5.1.1-20
This should not prevent the migration in unstable as I do not touch
python3-qutip. During Trixie freeze I report a serious bug to every new
package, so that these do not going into Debian Testing for Trixie.
That's the plan,
Dirk =)
OpenPGP_signature.asc
Description: OpenPGP digital signature
ITP: python3-qutip-{core,qip,qtrl,qoc}, python-qutip-core-{core,qip,qtrl,qoc}
Hey Debian Science Team =D in the next hour/s I will report 8 ITPs for the new QuTiP packages to WNPP. As the Debian Science Policy directs, I will * X-Debbugs-Cc: Please DO NOT consider it as spam. To I will just send a summary subsequently. You can review the ITPs at the end of this email in advance. Greets, Dirk =) ** * Package name: python3-qutip-core Version : 5.1.1 Upstream Contact: https://github.com/qutip/qutip/discussions * URL : https://qutip.org/ * License : BSD-3-Clause Programming Lang: Python Description : QuTiP: Quantum Toolbox in Python (core) QuTiP is open-source software for simulating the dynamics of open quantum systems. The QuTiP library depends on the excellent Numpy, Scipy, and Cython numerical packages. In addition, graphical output is provided by Matplotlib. QuTiP aims to provide user-friendly and efficient numerical simulations of a wide variety of Hamiltonians, including those with arbitrary time-dependence, commonly found in a wide range of physics applications such as quantum optics, trapped ions, superconducting circuits, and quantum nanomechanical resonators. . This package installs the library `qutip` for Python 3. * Package name: python-qutip-core-doc Version : 5.1.1 Upstream Contact: https://github.com/qutip/qutip/discussions * URL : https://qutip.org/documentation.html * License : BSD-3-Clause Programming Lang: Python Description : QuTiP: Quantum Toolbox in Python (documentation) QuTiP is open-source software for simulating the dynamics of open quantum systems. The QuTiP library depends on the excellent Numpy, Scipy, and Cython numerical packages. In addition, graphical output is provided by Matplotlib. QuTiP aims to provide user-friendly and efficient numerical simulations of a wide variety of Hamiltonians, including those with arbitrary time-dependence, commonly found in a wide range of physics applications such as quantum optics, trapped ions, superconducting circuits, and quantum nanomechanical resonators. . This package contains the documentation for `python-qutip-core`. ** * Package name: python3-qutip-qip Version : 0.4.0 Upstream Contact: https://github.com/qutip/qutip-qip/discussions * URL : https://qutip.org/ * License : BSD-3-Clause Programming Lang: Python Description : QuTiP package - Quantum Information Processing The qutip-qip package, QuTiP quantum information processing, aims at providing basic tools for quantum computing simulation both for simple quantum algorithm design and for experimental realization. Compared to other libraries for quantum information processing, qutip-qip puts additional emphasis on the physics layer and the interaction with the QuTiP core package `python3-qutip-core`. The package offers two different approaches for simulating quantum circuits, one with QubitCircuit calculating unitary evolution under quantum gates by matrix product, another called Processor using open system solvers in QuTiP to simulate noisy quantum device. . This package installs the library `qutip_qip` for Python 3. * Package name: python-qutip-qip-doc Version : 0.4.0 Upstream Contact: https://github.com/qutip/qutip-qip/discussions * URL : https://qutip-qip.readthedocs.io/ * License : BSD-3-Clause Programming Lang: Python Description : QuTiP package - Quantum Information Processing (documentation) The qutip-qip package, QuTiP quantum information processing, aims at providing basic tools for quantum computing simulation both for simple quantum algorithm design and for experimental realization. Compared to other libraries for quantum information processing, qutip-qip puts additional emphasis on the physics layer and the interaction with the QuTiP core package `python3-qutip-core`. The package offers two different approaches for simulating quantum circuits, one with QubitCircuit calculating unitary evolution under quantum gates by matrix product, another called Processor using open system solvers in QuTiP to simulate noisy quantum device. . This package contains the documentation for `python3-qutip-qip`. ** * Package name: python3-qutip-qtrl Version : 0.1.5 Upstream Contact: https://github.com/qutip/qutip-qtrl/issues * URL : https://qutip.org/ * License : BSD-3-Clause Programming Lang: Python Description : QuTiP package - Quantum Optimal Control The qutip-qtrl package, QuTiP quantum optimal control, aims at providing advanced tools for the optimal control of quantum devices. Compared to other libraries for quantum optimal control, qutip-qtrl puts additional emphasis on
Re: ITP: python3-qutip-{core,qip,qtrl,qoc}, python-qutip-core-{core,qip,qtrl,qoc}
Hello Drew, I think this should solve all our issues. In short: * No migration * Trixie version needs to be (<< 5.1.1-50) * Forky starts with python-qutip version 5.1.1-50 * Forky starts with a new source package `python-qutip` for binary packages `python3-qutip` and `python-qutip-doc`. The source-binary package mapping looks like: -- -- Trixie source packageversion binary package qutip 5.1.1-2+really4.7.5 python3-qutip python-qutip-doc -- -- Forky source packageversion binary package python-qutip 5.1.1-50python3-qutip python-qutip-doc python-qutip-qip 0.4.0 python3-qutip-qip python-qutip-qip-doc python-qutip-qtrl 0.1.5 python3-qutip-qtrl python-qutip-qtrl-doc python-qutip-qoc 0.1.1 python3-qutip-qoc python-qutip-qoc-doc -- The setup of the new source package `python-qutip` is not really required, but it is my first package and I like to build it up from scratch. Additionally I'm not happy with the branch structure of the Git-repository `qutip`. Instead, for the Git-repository `python-qutip` I plan to use a clone of the upstream Git-repository configured with 2 Git-remotes: origin and upstream. Instead of importing new tarballs into the branch `upstream` it is just needed to pull the master branch from the Git-remote `upstream`. Then the Git-tag `vX.Y.Z` can be duplicated as Git-tag `upstream/X.Y.Z`. Followed by a merge into the Git-branch `debian` which is the default branch of the Git-repository. After adapting `debian/changelog`, etc Git-tag `debian/x.y.z-revision` can be set. Currently I need to find out, which tools are the best for this workflow, as normally the tarball `python-qutip_5.1.1.origin.tar.gz` is just a copy of `python-qutip-5.1.1.tar.gz`. Maybe `git-buildpackage` is the tool I´m searching for. I will close ITP Bug#1101766 for `python3-qutip-core` as 'Not needed to package.' Greets, Dirk =) On 3/31/25 6:11 PM, Dirk Lehmann wrote: Hey Debian Science Team =D in the next hour/s I will report 8 ITPs for the new QuTiP packages to WNPP. As the Debian Science Policy directs, I will * X-Debbugs-Cc: Please DO NOT consider it as spam. To I will just send a summary subsequently. You can review the ITPs at the end of this email in advance. Greets, Dirk =) ** * Package name : python3-qutip-core Version : 5.1.1 Upstream Contact: https://github.com/qutip/qutip/discussions * URL : https://qutip.org/ * License : BSD-3-Clause Programming Lang: Python Description : QuTiP: Quantum Toolbox in Python (core) QuTiP is open-source software for simulating the dynamics of open quantum systems. The QuTiP library depends on the excellent Numpy, Scipy, and Cython numerical packages. In addition, graphical output is provided by Matplotlib. QuTiP aims to provide user-friendly and efficient numerical simulations of a wide variety of Hamiltonians, including those with arbitrary time-dependence, commonly found in a wide range of physics applications such as quantum optics, trapped ions, superconducting circuits, and quantum nanomechanical resonators. . This package installs the library `qutip` for Python 3. * Package name : python-qutip-core-doc Version : 5.1.1 Upstream Contact: https://github.com/qutip/qutip/discussions * URL : https://qutip.org/documentation.html * License : BSD-3-Clause Programming Lang: Python Description : QuTiP: Quantum Toolbox in Python (documentation) QuTiP is open-source software for simulating the dynamics of open quantum systems. The QuTiP library depends on the excellent Numpy, Scipy, and Cython numerical packages. In addition, graphical output is provided by Matplotlib. QuTiP aims to provide user-friendly and efficient numerical simulations of a wide variety of Hamiltonians, including those with arbitrary time-dependence, commonly found in a wide range of physics applications such as quantum optics, trapped ions, superconducting circuits, and quantum nanomechanical resonators. . This package contains the documentation for `python-qutip-core`. ** * Package name : python3-qutip-qip Version : 0.4.0 Upstream Contact: https://github.com/qutip/qutip-qip/discussions *
Re: ITP: python3-qutip-{core,qip,qtrl,qoc}, python-qutip-core-{core,qip,qtrl,qoc}
On 3/31/25 8:43 PM, Dirk Lehmann wrote: 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. Yes, I thought about it * python3-qutip-core Version: 5.1.1-20 Replaces: python3-qutip (<< 5.1.1-20) Conflicts: python3-qutip (<< 5.1.1-20) and * python3-qutip Version: 5.1.1-20 Depends: python3-qutip-core (= 5.1.1-20) should work. You are right... OpenPGP_signature.asc Description: OpenPGP digital signature
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 qutippython3-qutip (metapackage) python3-qutip-core python-qutip-doc python-qutip-qip python3-qutip-qip python-qutip-qip-doc python-qutip-qtrlpython3-qutip-qtrl python-qutip-qtrl-doc python-qutip-qoc python3-qutip-qtrl python-qutip-qtrl-doc -- source package binary package qutippython3-qutip (metapackage) python-qutip-corepython3-qutip-core python-qutip-core-doc (or python-qutip-doc) python-qutip-qip python3-qutip-qip python-qutip-qip-doc python-qutip-qtrlpython3-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. OpenPGP_signature.asc Description: OpenPGP digital signature
Re: ITP: python3-qutip-{core,qip,qtrl,qoc}, python-qutip-core-{core,qip,qtrl,qoc}
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.
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.
If I have finished the packaging in the last step we can make
`python3-qutip` to a pure metapackage which
* python3-qutip
Depends: python3-qutip-core
Recommends: python3-qutip-{qip,qtrl,qoc},
Suggests: python-qutip-{qip,qtrl,qoc}-doc
That should be fine.
Plan to stage the upgrade in experimental first.
Drew

