pytorch (1.13.1+dfsg-4) unstable; urgency=medium

  [ Aron Xu ]
  * Disable CI on salsa, unable to complete a build

  [ Mo Zhou ]
  * Switch back to Generic BLAS against correctly build against it.
    We have update-alternatives for the BLAS/LAPACK backends.
    https://wiki.debian.org/DebianScience/LinearAlgebraLibraries
  * Only in this way can both Numpy and Torch consistently load the
    same BLAS implementation, lest bad things such as threading library
    collision happen.

 -- Mo Zhou <lumin@debian.org>  Tue, 14 Mar 2023 13:21:37 -0400

pytorch (1.13.1+dfsg-3) unstable; urgency=medium

  [ Mo Zhou ]
  * fix cmake for Closes: #997931

  [ Aron Xu ]
  * d/rules: more cmake fixes
  * d/control: build with libopenblas-pthread-dev instead of libblas-dev

 -- Aron Xu <aron@debian.org>  Wed, 08 Feb 2023 01:54:15 +0800

pytorch (1.13.1+dfsg-2) unstable; urgency=medium

  * Team upload.
  * d/tests/control: disable never passed py-tests

 -- Aron Xu <aron@debian.org>  Mon, 30 Jan 2023 21:54:24 +0800

pytorch (1.13.1+dfsg-1) unstable; urgency=medium

  [ Aron Xu ]
  * Team upload.
  * New upstream version 1.13.1 (Closes: #1027851)
    Fixes CVE-2022-45907.
  * d/rules: remove only build/ directory
  * d/rules: USE_ITT = OFF
  * Bump SOVERSION to 1.13
  * d/control: add versioned build-dep to ideep
  * debian: carry kineto 20210224.0703c78 for header-only use
  * dirtyhack.patch: refresh and add hack of kineto
  * 80272.patch: merged upstream, removing
  * cherry-pick upstream py3.11 compatibility patches
  * Update autopkgtest control file
  * d/upstream/metadata: add Bug-Database

  [ Andreas Tille ]
  * Fix watch file

  [ Mo Zhou ]
  * Add fmtlib-revert.patch
  * Update flatbuffers patch

 -- Aron Xu <aron@debian.org>  Sat, 28 Jan 2023 23:31:42 +0800

pytorch (1.12.1-1) unstable; urgency=medium

  * New upstream version 1.12.1
  * Rebase and refresh existing patches.

 -- Mo Zhou <lumin@debian.org>  Fri, 30 Sep 2022 20:50:32 -0400

pytorch (1.12.0-1) unstable; urgency=medium

  * New upstream version 1.12.0 (June 28 2022) (Closes: #1004782, #1009200)
  * Autopkgtest: use openblas or blis instead of reference blas.
  * Patch to fix wrong shebang in several .py files.
  * Refresh existing patches.
  * Update lintian overrides.
  * Upload to unstable.

 -- Mo Zhou <lumin@debian.org>  Mon, 12 Sep 2022 17:16:34 -0400

pytorch (1.12.0~rc1-1) experimental; urgency=medium

  * New upstream version 1.12.0~rc1 (May 2022)
  * Remove pretrained networks via Files-Excluded.
  * Cherry-pick upstream PR 80272 for pybind11 in cmake.
  * Embed pocketfft ea778e37710c07723435b1be58235996d1d43a5a.
  * Revise debian/{rules,control} to reflect the following changes:
    - No plan to enable FBGEMM, NNPACK, etc.
    - Specify USE_KINETO=OFF
    * Reflect upstream SOVERSION bump to 1.12
    + Build-depends on flatbuffers and re-generate cpp from .fbs file.
      (use --cpp --gen-all --gen-mutable for flatc).
  * Rebase existing patches and add new patches:
    * Rebase dirtyhack.patch
    * Rebase mkldnn.patch, also disable ONEDNN_GRAPH.
    * Rebase shebang.patch
    * Rebase pytorch_glog_update.patch
    * Change include path for pocketfft.
    + Add patch for flatbuffers v2.0.6 migration
  * Autopkgtest: update tests.
    - Temprarily disable python autopkgtests due to missing dep.
    + Autopkgtest: add a simple sequential model test.
  * Update d/copyright and some lintian overrides.

 -- Mo Zhou <lumin@debian.org>  Mon, 27 Jun 2022 20:45:06 -0700

pytorch (1.8.1-5) unstable; urgency=medium

  * Patch for compatibility with glog 0.6.0+. (Closes: #1007200)

 -- Mo Zhou <lumin@debian.org>  Tue, 22 Mar 2022 15:56:16 -0400

pytorch (1.8.1-4) unstable; urgency=medium

  * B-D on python3-dev instead of -all-dev. (Closes: #1004331)
    We only build with one Py3 version due to the buildsystem complexity.
  * Explicitly fix python and shell shebang in d/rules.
  * Fix superfluous-file-pattern in d/copyright.
  * Fix duplicate-short-description in d/control.
  * Bump Standards-Version to 4.6.0.1 (no change).
  * Update lintian overrides.

 -- Mo Zhou <lumin@debian.org>  Tue, 01 Feb 2022 20:11:00 -0500

pytorch (1.8.1-3) unstable; urgency=medium

  * Add comments in d/rules on package maintainence.
  * Mask python spectral_ops test which requires MKL. (Closes: #995360)
  * Mask python binary_ufuncs autopkgtest.
  * Only build on modern 64-bit architectures. (Closes: #994423)
  * Add missing Dep libprotobuf-dev for libtorch-dev.
  * d/watch: Track releases instead of tags.

 -- Mo Zhou <lumin@debian.org>  Sun, 23 Jan 2022 09:14:58 -0500

pytorch (1.8.1-2) unstable; urgency=medium

  * Upload to unstable.
  * Let python3-torch Depend on libtorch-test to fix broken link.
    (Closes: #988778)

 -- Mo Zhou <lumin@debian.org>  Mon, 06 Sep 2021 00:22:04 -0400

pytorch (1.8.1-1) experimental; urgency=medium

  [ Michael R. Crusoe ]
  * Mark libtorch1.7 as Multi-Arch: same

  [ Mo Zhou ]
  * New upstream version 1.8.1
  * Upgrade embedded foxi to 6a4e19a2aaf7ae4b9fa9597526e65b395d5e79ad.
  * Rebase dirtyhack.patch.
  * Add libnuma-dev to Build-Depends.
  * SOVERION bump for binary packages.
  * Refresh shebang.patch and other existing patches.
  * Refresh autopkgtest control file.

 -- Mo Zhou <lumin@debian.org>  Fri, 21 May 2021 14:20:58 +0800

pytorch (1.7.1-7) unstable; urgency=medium

  * Remove B-D libunwind.
  * Update autopkgtest.

 -- Mo Zhou <lumin@debian.org>  Thu, 11 Feb 2021 15:13:27 +0800

pytorch (1.7.1-6) unstable; urgency=medium

  * Make B-D:libunwind-dev specific to amd64,arm64,armhf,ppc64el.

 -- Mo Zhou <lumin@debian.org>  Mon, 01 Feb 2021 14:35:46 +0800

pytorch (1.7.1-5) unstable; urgency=medium

  * Add libunwind-dev to avoid weird FTBFS (due to missing header).
  * Require libonnx-dev (>= 1.7.0+dfsg-3) to avoid FTBFS (Closes: #980636)

 -- Mo Zhou <lumin@debian.org>  Wed, 27 Jan 2021 18:38:00 +0800

pytorch (1.7.1-4) unstable; urgency=medium

  * Allow more autopkgtest cases to fail on armhf.

 -- Mo Zhou <lumin@debian.org>  Sat, 02 Jan 2021 17:17:42 +0800

pytorch (1.7.1-3) unstable; urgency=medium

  * Build against generic BLAS/LAPACK instead of OpenBLAS.

 -- Mo Zhou <lumin@debian.org>  Sun, 27 Dec 2020 19:47:18 +0800

pytorch (1.7.1-2) unstable; urgency=medium

  * Update autopkgtest scripts.

 -- Mo Zhou <lumin@debian.org>  Sun, 20 Dec 2020 13:28:22 +0800

pytorch (1.7.1-1) unstable; urgency=medium

  * New upstream version 1.7.1
  * Disable OpenMPI in the distributed functionality of pytorch.
    + Regenerate Autopkgtest control file after removing OpenMPI support.
    + Explicitly specify USE_MPI=OFF in d/rules.
  * Add missing runtime deps to autopkgtest and refresh.
    - Autopkgtest: allow several tests to fail. (Closes: #974210)
    + Revamp of the python part of autopkgtest and add the missing B-Ds.
  * Get rid of the symbols control file. (Closes: #977533)

 -- Mo Zhou <lumin@debian.org>  Wed, 16 Dec 2020 20:58:19 +0800

pytorch (1.7.0-2) unstable; urgency=medium

  * Patch cmake to fix ppc64el and s390x FTBFS, really disabling XNNPACK.
  * d/rules: Only enable QNNPACK on amd64.
  * Refresh symbols control file for amd64 to fix amd64 FTBFS.

 -- Mo Zhou <lumin@debian.org>  Tue, 24 Nov 2020 20:10:34 +0800

pytorch (1.7.0-1) unstable; urgency=medium

  * Make B-D:libxnnpack-dev amd64 and arm64 arch-specific.
  * Make USE_DISTRIBUTED and the corresponding Build-Depends specific
    to the 64-bit architectures: amd64 arm64 ppc64el mips64el s390x.
  * Upload to unstable.

 -- Mo Zhou <lumin@debian.org>  Tue, 24 Nov 2020 12:59:42 +0800

pytorch (1.7.0-1~exp1) experimental; urgency=medium

  * New upstream version 1.7.0
  * Add missing python deps for the autopkgtest :: python cases.
  * Mark libideep-dev/libdnnl-dev & USE_MKLDNN as amd64,arm64,ppc64el-specific.
  * Patch cmake to strip third-party directory includes/checks.
  * Turn off USE_PYTORCH_QNNPACK on non-amd64 architectures.
  * Update embedded foxi to snapshot 4aba696ec8f31794fd42880346dc586486205e0a.
  * Rebase and refresh existing patches.
  * Rename binary packages following the SOVERSION bump.
  * Update dirtyhack.patch and add new B-D libnop-dev.
  * Refresh symbols control file for amd64.
  * Autopkgtest: refresh C++ unit test list.
  * Autopkgtest: refresh the list of python unit tests.
  * Refresh d/copyright for the new upstream release.

 -- Mo Zhou <lumin@debian.org>  Sun, 22 Nov 2020 14:30:28 +0800

pytorch (1.6.0-5) unstable; urgency=medium

  * Revert introduction of unnecessary python3 dependencies.
  * Mute dh_auto_configure which triggers incorrect mixed python{3.8,3.9} build.
  * Refresh symbols control file.
  * Fix autopkgtest regenerator and refresh d/tests/control.
  * Let python3-torch also Recommend build-essential (for JIT functionality).

 -- Mo Zhou <lumin@debian.org>  Wed, 21 Oct 2020 00:16:57 +0800

pytorch (1.6.0-4) unstable; urgency=medium

  [ Steffen Möller ]
  * Added d/u/metadata file

  [ Mo Zhou ]
  * Address regression bug in dependency data. (Closes: #972540)
  * Add LaTeX bibliography information to upstream/metadata.

 -- Mo Zhou <lumin@debian.org>  Tue, 20 Oct 2020 17:59:38 +0800

pytorch (1.6.0-3) unstable; urgency=medium

  * Change maintainer mail address into debian-ai@l.d.o
  * d/rules: Explicitly specify build with default python3.
  * Refresh symbols control file.
  * Use those defined-but-unused control variables.
  * Upload to unstable.

 -- Mo Zhou <lumin@debian.org>  Mon, 19 Oct 2020 16:12:46 +0800

pytorch (1.6.0-2) experimental; urgency=medium

  * Let python3-torch recommend libtorch-dev (= ${binary:Version}).
  * Let python3-torch recommend ninja-builds (Building PyTorch C++ Extension).
  * Add debian/tests/run-cpptest.sh for manually running tests.
  * Refresh test program list for gencontrol-pytest.sh and add run-pytest.sh
  * Filter out CUDA tests from gencontrol-pytest.sh.
  * Remove the unnecessary USE_OPENCV=ON override from the patch
  * Enable DNNL/ideep integration and refresh symbols control file.
  * Remove "-" signs from rules and add symlink in python3-torch.
  * Fix the stronger-dependency-implies-weaker problem for python3-torch.
  * Fix the globbing-patterns-out-of-order problem for d/copyright.
  * Refresh the shebang patch.
  * Sort tests in gencontrol-cpptest.sh and regenerate tests/control.
  * Toggle USE_ZSTD=ON and add the corresponding patches and B-Ds.

 -- Mo Zhou <lumin@debian.org>  Mon, 07 Sep 2020 14:27:37 +0800

pytorch (1.6.0-1) experimental; urgency=medium

  * New upstream version 1.6.0
  * Refresh shebang.patch.
  * Significantly rebase dirtyhack.patch as most changes have been upstreamed.
  * Remove dont-break-dev-null.patch. fixed upstream.
  * Add some missing Depends for libtorch-dev.
  * Stripping the quotes in ONNX_NAMESPACE to fix build failure.
  * Add libtensorpipe-dev to Build-Depends.
  * Rename libtorch1 -> libtorch1.6 and refresh symbols control file.
  * dirtyhack.patch: Deal with the fmt and tensorpipe libraries.
  * rules: use SOVERSION variable and update the install target.
  * Update d/copyright and apply wrap-and-sort.
  * Put proper symlinks to usr/lib/python3*/dist-packages/torch/lib.

 -- Mo Zhou <lumin@debian.org>  Mon, 31 Aug 2020 19:41:58 +0800

pytorch (1.5.1-1) experimental; urgency=medium

  * New upstream version 1.5.1
  * Fix a small part of copyright that lintian complains about.
  * Rewrite autopkgtest: use script to automatically generate control file.
  * Automatically generate autopkgtest cases for upstream python tests.
  * Add the ordinal number to the name of autopkgtest cases.
  * Rules: add option to allow users to rebuild to -march=native.
  * Patch a python test case lest it break the /dev/null file.
  * Add build-essential and libtorch-dev to autopkgtest deps.
  * Refresh symbols control file.

 -- Mo Zhou <lumin@debian.org>  Sun, 26 Jul 2020 21:28:04 +0800

pytorch (1.5.0-2) experimental; urgency=medium

  * Install NOTICE to the binary files
  * Fix the path globs in d/copyright.
  * Add lintian overrides.
  * Track the shlibs symbols of binary package libtorch1.
  * Patch the usr/bin/env shabang.

 -- Mo Zhou <lumin@debian.org>  Wed, 29 Apr 2020 18:14:25 +0800

pytorch (1.5.0-1) experimental; urgency=medium

  * Initial release. (Closes: #853923)

 -- Mo Zhou <lumin@debian.org>  Wed, 29 Apr 2020 13:11:46 +0800