qutip (5.2.1-3) unstable; urgency=medium

  * debian patch test_prony_BLAS_PR2759.patch fixes prony environment
    tests to pass with generic (netlib) BLAS. Closes: #1118028.

 -- Drew Parsons <dparsons@debian.org>  Wed, 15 Oct 2025 13:12:40 +0200

qutip (5.2.1-2) unstable; urgency=medium

  * skip test_fixed_prony_fit (core/test_environment.py) in build tests
    (fails in temporary build time environment, passes at runtime)
  * report qutip.about() with tests. If we need to report issues
    upstream, they will want to know the environment.
  * stop ignoring test errors at build time (drop || /bin/true)
  * run debian/tests on all architectures not only amd64.
    Run tests from $AUTOPKGTEST_TMP since `import qutip`
    fails from source dir (tries to access module from source).

 -- Drew Parsons <dparsons@debian.org>  Sun, 12 Oct 2025 23:21:31 +0200

qutip (5.2.1-1) unstable; urgency=medium

  * New upstream release
  * Build-Depends: python3-numpy-dev (for dh_numpy3)
  * Standards-Version: 4.7.2

 -- Drew Parsons <dparsons@debian.org>  Sun, 12 Oct 2025 10:16:49 +0200

qutip (5.1.1-1) unstable; urgency=medium

  * New upstream release

 -- Drew Parsons <dparsons@debian.org>  Fri, 21 Feb 2025 11:37:39 +0100

qutip (5.0.3-1) unstable; urgency=medium

  * New upstream release.
    - drops qip (remove qip/circuit_latex.py from debian/copyright)
    - drops --with-openmp build option (see PR#1850)
    - applies debian patch doc_sphinx6_PR2149.patch
    - drop debian patch fix_exception.patch
  * update Build-Depends: cython3,
    python3-numpy (>= 1.22~),
    python3-scipy (>=1.9~),
    python3-packaging,
    python3-sphinx,
    python3-wheel
  * remove generated *.cpp files after dh_clean
    (and don't remove cpp files provided in upstream source)
  * update list of installed header files to remove executable bit
  * run tests with pytest
    - skip flaky test_simdiag

 -- Drew Parsons <dparsons@debian.org>  Sun, 07 Jul 2024 14:15:01 +0200

qutip (4.7.5-2) unstable; urgency=medium

  * debian/tests: ignore message in stderr that cython compilation
    does not work on Python 3.12

 -- Drew Parsons <dparsons@debian.org>  Wed, 21 Feb 2024 15:18:12 +0100

qutip (4.7.5-1) unstable; urgency=medium

  * New upstream release.
    - applies debian patch python3.12_no_cython_support.patch

 -- Drew Parsons <dparsons@debian.org>  Mon, 19 Feb 2024 14:23:44 +0100

qutip (4.7.3-1) unstable; urgency=medium

  * New upstream release
  * Build-Depends: cython3-legacy. Closes: #1056880.
    - versioned (>= 0.29.36) for Python 3.12. Closes: #1056517.
    - also Depends: cython3-legacy in debian/tests/control
  * update debian/tests
    - print timings of 20 slowest tests
    - reduce test verbosity
  * add debian patches
    - doc_sphinx6_PR2149.patch applies upstream PR#2149 to
      fix doc build with latest sphinx. Closes: #1042704.
    - python3.12_no_cython_support.patch skips cython runtime usage
      on Python >= 3.12, which causes QobjEvo jobs to fail
      (see upstream Issue#2293). Skip test_brmesolve_td.py tests
      test_time_dependent_spline_in_c_ops and
      test_split_operators_maintain_answer when cython support is not
      available (even if cython is installed)
  * clean generated cpp and doc files. Closes: #1047093.

 -- Drew Parsons <dparsons@debian.org>  Tue, 16 Jan 2024 03:57:55 +0100

qutip (4.7.1-2) unstable; urgency=medium

  * Build-Depends: python3-ipython for tests (test_repr_svg)
  * debian/tests: limit thread parallelisation to no more than 4 cpus
    in order to avoid timing out in debci tests (assuming tests are too
    small to efficiently use the 64 cpus available on debci).
    But respect the value of QUTIP_NUM_PROCESSES if already set.

 -- Drew Parsons <dparsons@debian.org>  Tue, 03 Jan 2023 12:36:53 +0100

qutip (4.7.1-1) unstable; urgency=medium

  * New upstream release.
    - updated for Python 3.11. Closes: #1027488
  * Build-Depends: pybuild-plugin-pyproject to use pyoproject.toml
    Apply --with-openmp build option in wheels (PEP517) build via
    --config-setting="--build-option=--with-openmp". Closes: #1017768.
  * run debian/tests over all supported python versions
  * Standards-Version: 4.6.2

 -- Drew Parsons <dparsons@debian.org>  Mon, 02 Jan 2023 13:43:00 +0100

qutip (4.7.0-3) unstable; urgency=medium

  * skip build-time tests on armel. Tests run slow (>24 hrs) and
    ultimately test_pseudo_inverse[dense_numpy] segfaults

 -- Drew Parsons <dparsons@debian.org>  Wed, 27 Apr 2022 13:23:56 +0200

qutip (4.7.0-2) unstable; urgency=medium

  * provide documentation in the python-qutip-doc package
    - docs are licensed with a Creative Commons cc-by-3.0 licence.
    - debian patch local_mathjax.patch configures doc build to use
      local mathjax.
    - set HOME to build dir to avoid "/nonexistent not a writable
      directory" when building docs in chroot (also for build tests)
    - Build-Depends-Indep: libjs-mathjax, python3-ipython,
      python3-numpydoc, python3-sphinx-gallery,
      python3-sphinx-rtd-theme, python3-sphinxcontrib.bibtex
  * debian patch pytest_options.patch allows pytest options to be
    provided to qutip.testing.run()
    - skip test_qubit[power-gmres], which fails to converge in chroot
      both in build and in debci
  * drop Build-Depends: pybuild-plugin-pyproject. PEP517 build is not
    compatible with --with-openmp config option (upstream Issue#1875)
  * run dh_numpy3 after dh_python3

 -- Drew Parsons <dparsons@debian.org>  Mon, 25 Apr 2022 11:09:04 +0200

qutip (4.7.0-1) unstable; urgency=medium

  * New upstream release.
    - applies debian patches build_any_numpy_PR1747.patch
      and test_plot_close.patch
  * Build-Depends: pybuild-plugin-pyproject
    to build with pyproject.toml (PEP517)
  * debian/rules: replace override_ with execute_after_

 -- Drew Parsons <dparsons@debian.org>  Sat, 23 Apr 2022 14:03:23 +0200

qutip (4.6.2-3) unstable; urgency=medium

  * debian patch build_any_numpy_PR1747.patch applies upstream PR1747
    to drop the numpy<1.20 version constraint. Closes: #999517.
  * debian/rules: run dh_numpy3 after dh_python3

 -- Drew Parsons <dparsons@debian.org>  Wed, 05 Jan 2022 15:23:28 +0100

qutip (4.6.2-2) unstable; urgency=medium

  * replace debian patch test_plot_close.patch with official upstream
    PR#1648. Closes specific test plot, not "all" plots.
  * Standards-Version: 4.6.0

 -- Drew Parsons <dparsons@debian.org>  Tue, 31 Aug 2021 16:27:37 +0200

qutip (4.6.2-1) unstable; urgency=medium

  * New upstream release.
    - deprecates debian patches fix_test_control_pulseoptim_setup.patch
      and sparse_matrix_explicit_dtype_1452.patch
    - update versioned Build-Depends
       cython3 (>= 0.29.20~),
       python3-matplotlib (>= 1.2.1~),
       python3-numpy (>= 1.16.6~),
       python3-pytest (>= 5.2~)
  * Build-Depends: python3-cvxopt
    (for semidefinite options)
  * Run tests using qutip's own test methods rather than nose or pytest
  * debian patch test_plot_close.patch ensures plots are closed after
    testing, to avoid an XIO (Xvfb) error. See upstream Issue #1639.

 -- Drew Parsons <dparsons@debian.org>  Wed, 18 Aug 2021 00:04:38 +0200

qutip (4.5.3-1) unstable; urgency=medium

  * New upstream release.
    - expected to help future upgrades to numpy 1.20.

 -- Drew Parsons <dparsons@debian.org>  Sun, 07 Mar 2021 12:12:58 +0100

qutip (4.5.2-2) unstable; urgency=medium

  * debian patch sparse_matrix_explicit_dtype_1452.patch applies
    upstream PR#1452 to explicitly set dtype=np.complex128 when
    constructing scipy.sparse matrices with csr_matrix. Required for
    working with scipy 1.6.1. Closes: #983397.
  * Standards-Version: 4.5.1

 -- Drew Parsons <dparsons@debian.org>  Wed, 24 Feb 2021 19:55:30 +0100

qutip (4.5.2-1) unstable; urgency=medium

  * New upstream release.

 -- Drew Parsons <dparsons@debian.org>  Sun, 02 Aug 2020 19:21:51 +0800

qutip (4.5.1-1) unstable; urgency=medium

  * New upstream release.
  * debhelper compatibility level 13

 -- Drew Parsons <dparsons@debian.org>  Fri, 22 May 2020 13:19:11 +0800

qutip (4.5.0-3) unstable; urgency=medium

  * disable build-time tests on mip64el
    (times out on test_ssesolve_homodyne_methods)

 -- Drew Parsons <dparsons@debian.org>  Tue, 17 Mar 2020 23:47:54 +0800

qutip (4.5.0-2) unstable; urgency=medium

  * [Build-]Depends: python3-matplotlib (and in debian/tests also)

 -- Drew Parsons <dparsons@debian.org>  Fri, 13 Mar 2020 21:28:19 +0800

qutip (4.5.0-1) unstable; urgency=medium

  * New upstream release.
  * Standards-Version: 4.5.0
  * Build-Depends: python3-nose2 not python3-nose
    - override dh_auto_test to use nose2
  * Build-Depends: python3-pytest (imported explicitly by some tests)
  * debian patch fix_exception.patch ensures an Exception e is defined
    when generated code fails to import.

 -- Drew Parsons <dparsons@debian.org>  Tue, 10 Mar 2020 11:05:11 +0800

qutip (4.4.1-6) unstable; urgency=medium

  * run debian/tests (autopkgtest) only on amd64

 -- Drew Parsons <dparsons@debian.org>  Sun, 08 Dec 2019 22:23:26 +0800

qutip (4.4.1-5) unstable; urgency=medium

  * python3-qutip Depends: python3-dev, g++ (not gcc).
  * debian/tests Depends: python3-all-dev
  * debian patch fix_test_control_pulseoptim_setup.patch fixes pytest
    API for test setup/teardown in test_control_pulseoptim.py

 -- Drew Parsons <dparsons@debian.org>  Sun, 01 Dec 2019 22:25:31 +0800

qutip (4.4.1-4) unstable; urgency=medium

  * python3-qutip Depends: gcc. Needed but not automatically installed
    by cython. qutip generates cython code at runtime
    e.g. QobjEvo used in sesolve.py. Closes: #945608.
  * ignore build-time test errors on non-amd64 architectures

 -- Drew Parsons <dparsons@debian.org>  Sat, 30 Nov 2019 19:21:56 +0800

qutip (4.4.1-3) unstable; urgency=medium

  * Build-Depends: python3-all-dev
  * debian/tests Depends: python3-numpy, python3-scipy, cython3

 -- Drew Parsons <dparsons@debian.org>  Tue, 19 Nov 2019 23:40:17 +0800

qutip (4.4.1-2) unstable; urgency=medium

  * Register qutip/qip/circuit_latex.py in debian/copyright to
    acknowledge gpl-2.0 copyright of Q-circuit LaTeX script embedded
    in the Python code (the Python code itself is BSD-3).

 -- Drew Parsons <dparsons@debian.org>  Wed, 13 Nov 2019 13:46:09 +0800

qutip (4.4.1-1) unstable; urgency=medium

  * New upstream release.
  * update Maintainer to the Debian Science team
  * Standards-Version: 4.4.1
  * Build with OpenMP support.

 -- Drew Parsons <dparsons@debian.org>  Tue, 29 Oct 2019 02:39:11 +0800

qutip (4.3.1-1) unstable; urgency=medium

  * Initial release (Closes: #928287)

 -- Drew Parsons <dparsons@debian.org>  Sun, 05 May 2019 12:42:45 +0800
