[med-svn] [Git][med-team/nibabel][master] 5 commits: Refresh patches
Andreas Tille (@tille)
gitlab at salsa.debian.org
Mon Feb 12 10:24:50 GMT 2024
Andreas Tille pushed to branch master at Debian Med / nibabel
Commits:
727843ef by Andreas Tille at 2024-02-09T22:46:04+01:00
Refresh patches
- - - - -
674b0940 by Andreas Tille at 2024-02-12T11:06:29+01:00
Drop nisext which is appreciated by upstream to gain Python3.12
- - - - -
0d27f821 by Andreas Tille at 2024-02-12T11:07:20+01:00
Add NEWS.Debian to inform users about dropped nisext
Autopkgtest for all supported Python3 versions
- - - - -
72f5068c by Andreas Tille at 2024-02-12T11:07:47+01:00
routine-update: rename debian/NEWS.Debian debian/NEWS
- - - - -
eeec1c22 by Andreas Tille at 2024-02-12T11:21:17+01:00
routine-update: Ready to upload to unstable
- - - - -
7 changed files:
- + debian/NEWS
- debian/changelog
- + debian/patches/drop_deprecated_nisext_for_python3.12_compatibility.patch
- debian/patches/series
- debian/patches/skip-armel-test-nan2zero.patch
- debian/patches/skip-test-removalschedule.patch
- debian/tests/run-unit-test
Changes:
=====================================
debian/NEWS
=====================================
@@ -0,0 +1,11 @@
+nibabel (5.2.0-3) unstable; urgency=medium
+
+ Drop nisext which is appreciated by upstream to gain Python3.12
+ compatibility.
+
+ See https://github.com/nipy/nibabel/issues/1240
+ https://github.com/nipy/nibabel/issues/1294
+
+
+ -- Andreas Tille <tille at debian.org> Mon, 12 Feb 2024 10:44:49 +0100
+
=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+nibabel (5.2.0-3) unstable; urgency=medium
+
+ * Team upload.
+ * Drop nisext which is appreciated by upstream to gain Python3.12
+ Closes: #1063588
+ * Add NEWS.Debian to inform users about dropped nisext
+ * Autopkgtest for all supported Python3 versions
+ * rename debian/NEWS.Debian debian/NEWS (routine-update)
+
+ -- Andreas Tille <tille at debian.org> Mon, 12 Feb 2024 11:09:04 +0100
+
nibabel (5.2.0-2) unstable; urgency=medium
* Team upload.
=====================================
debian/patches/drop_deprecated_nisext_for_python3.12_compatibility.patch
=====================================
@@ -0,0 +1,41 @@
+Description: Drop nisext which is appreciated by upstream to gain Python3.12
+ See https://github.com/nipy/nibabel/issues/1240
+ https://github.com/nipy/nibabel/issues/1294
+Bug-Debian: https://bugs.debian.org/1063588
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 12 Feb 2024 10:44:49 +0100
+
+--- a/.coveragerc
++++ b/.coveragerc
+@@ -1,7 +1,7 @@
+ [run]
+ branch = True
+-source = nibabel, nisext
+-include = */nibabel/*, */nisext/*
++source = nibabel
++include = */nibabel/*
+ omit =
+ */externals/*
+ */benchmarks/*
+--- a/Makefile
++++ b/Makefile
+@@ -260,7 +260,7 @@ sdist-venv: clean
+ mkdir venv/tmp
+ cd venv/tmp && unzip ../../dist/*.zip
+ . venv/bin/activate && cd venv/tmp/nibabel* && python setup.py install
+- unset PYTHONPATH && . venv/bin/activate && cd venv && nosetests --with-doctest nibabel nisext
++ unset PYTHONPATH && . venv/bin/activate && cd venv && nosetests --with-doctest nibabel
+
+ source-release: distclean
+ $(PYTHON) -m compileall .
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -86,7 +86,7 @@ exclude = [
+ ]
+
+ [tool.hatch.build.targets.wheel]
+-packages = ["nibabel", "nisext"]
++packages = ["nibabel"]
+ exclude = [
+ # 56MB test file does not need to be installed everywhere
+ "nibabel/nicom/tests/data/4d_multiframe_test.dcm",
=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ no_doc_sources
python3.10.patch
skip-test-removalschedule.patch
skip-armel-test-nan2zero.patch
+drop_deprecated_nisext_for_python3.12_compatibility.patch
=====================================
debian/patches/skip-armel-test-nan2zero.patch
=====================================
@@ -10,9 +10,9 @@ Forwarded: no
Last-Update: 2023-01-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- nibabel.orig/nibabel/tests/test_volumeutils.py
-+++ nibabel/nibabel/tests/test_volumeutils.py
-@@ -625,6 +625,8 @@
+--- a/nibabel/tests/test_volumeutils.py
++++ b/nibabel/tests/test_volumeutils.py
+@@ -635,6 +635,8 @@ def test_a2f_bad_scaling():
array_to_file(arr, fobj, np.int8, intercept=inter, divslope=slope)
=====================================
debian/patches/skip-test-removalschedule.patch
=====================================
@@ -6,14 +6,14 @@ Forwarded: not-needed
Last-Update: 2023-01-26
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- nibabel.orig/nibabel/tests/test_removalschedule.py
-+++ nibabel/nibabel/tests/test_removalschedule.py
+--- a/nibabel/tests/test_removalschedule.py
++++ b/nibabel/tests/test_removalschedule.py
@@ -1,3 +1,4 @@
+import os
import unittest
from unittest import mock
-@@ -155,18 +156,24 @@
+@@ -158,18 +159,24 @@ def test_attribute_removal():
_sched = 'nibabel.tests.test_removalschedule.{}_SCHEDULE'.format
=====================================
debian/tests/run-unit-test
=====================================
@@ -1,11 +1,8 @@
#!/bin/bash
set -efu
-# Remark: For the non-default Python3 versions the provided scripts do not work
-# To simplify the test only default is checked since only this is user
-# relevant in terms of the scripts.
-for py in $(py3versions --default)
+for py in $(py3versions --supported)
do
- $py -m pytest -v
+ $py -m pytest -v nibabel
done
View it on GitLab: https://salsa.debian.org/med-team/nibabel/-/compare/0aa2843fd0d1528552b0c36fdf1d604d26b5380c...eeec1c2262889bcc3101a5c92579218bded12743
--
View it on GitLab: https://salsa.debian.org/med-team/nibabel/-/compare/0aa2843fd0d1528552b0c36fdf1d604d26b5380c...eeec1c2262889bcc3101a5c92579218bded12743
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240212/4ee774a9/attachment-0001.htm>
More information about the debian-med-commit
mailing list