[med-svn] [Git][med-team/seqmagick][master] 2 commits: d/control, pytest.patch: replace nose by pytest
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Sun Nov 28 11:09:53 GMT 2021
Étienne Mollier pushed to branch master at Debian Med / seqmagick
Commits:
55d2fca9 by Étienne Mollier at 2021-11-28T12:07:14+01:00
d/control,pytest.patch: replace nose by pytest
- - - - -
f3f514e0 by Étienne Mollier at 2021-11-28T12:08:14+01:00
update changelog
Please wait for python-biopython binnmu rebuild to complete,
otherwise it is not compatible with python3.10.
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/patches/pytest.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+seqmagick (0.8.4-3) UNRELEASED; urgency=medium
+
+NOTE: wait for python-biopython to be compatible with python3.10.
+ * d/control,pytest.patch: replace nose by pytest.
+
+ -- Étienne Mollier <emollier at debian.org> Sun, 28 Nov 2021 11:14:57 +0100
+
seqmagick (0.8.4-2) unstable; urgency=medium
* d/watch: adjust link, following changes in Github
=====================================
debian/control
=====================================
@@ -8,7 +8,7 @@ Build-Depends: debhelper-compat (= 13),
dh-python,
python3-all,
python3-setuptools,
- python3-nose,
+ python3-pytest <!nocheck>,
python3-biopython,
python3-pygtrie
Standards-Version: 4.6.0
=====================================
debian/patches/pytest.patch
=====================================
@@ -0,0 +1,79 @@
+Description: replace nosetests by pytest
+ nosetests 1 is not maintained anymore and going to be removed from Debian.
+ See https://lists.debian.org/debian-python/2021/10/msg00060.html
+Author: Étienne Mollier <emollier at debian.org>
+Forwarded: not-needed
+Last-Update: 2021-11-28
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- seqmagick.orig/.travis.yml
++++ seqmagick/.travis.yml
+@@ -12,12 +12,12 @@
+ # BioPython doesn't always play well with pip install.
+ install:
+ - "if [[ $TRAVIS_PYTHON_VERSION != 'pypy' ]]; then pip install -q numpy; fi"
+- - "pip install -q biopython nose pygtrie"
++ - "pip install -q biopython pytest pygtrie"
+ - "pip install ."
+
+ script:
+ - seqmagick --version
+- - nosetests
++ - pytest-3
+
+ notifications:
+ email:
+--- seqmagick.orig/DEVELOPING.rst
++++ seqmagick/DEVELOPING.rst
+@@ -50,7 +50,7 @@
+
+ Run tests, and make sure docs build without errors::
+
+- nosetests
++ pytest-3
+ (cd docs && make html)
+
+ Push one last time to master to trigger tests on travis::
+--- seqmagick.orig/requirements.txt
++++ seqmagick/requirements.txt
+@@ -4,6 +4,6 @@
+ # for development
+ wheel
+ sphinx
+-nose
++pytest
+ twine
+ ghp-import
+--- seqmagick.orig/setup.py
++++ seqmagick/setup.py
+@@ -32,9 +32,9 @@
+ 'seqmagick': ['data/*'],
+ 'seqmagick.test.integration': ['data/*']
+ },
+- setup_requires=['nose>=1.0'],
++ setup_requires=['pytest>=6.0'],
+ python_requires='>=3.5',
+- test_suite='nose.collector',
++ test_suite='pytest.collect',
+ install_requires=['biopython>=1.78', 'pygtrie>=2.1'],
+ classifiers=[
+ 'License :: OSI Approved :: GNU General Public License (GPL)',
+--- seqmagick.orig/tox.ini
++++ seqmagick/tox.ini
+@@ -3,13 +3,11 @@
+ [testenv]
+ deps =
+ numpy
+- nose
+- rednose
++ pytest
+ biopython
+-commands = nosetests --rednose []
++commands = pytest-3 []
+
+ [testenv:pypy]
+ deps =
+- nose
+- rednose
++ pytest
+ biopython
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
biopython_1.71_dual_coding_support.patch
+pytest.patch
View it on GitLab: https://salsa.debian.org/med-team/seqmagick/-/compare/5ebfc204f556fb08b4642213d652c9467ab9ff5f...f3f514e0b0a7486ec30f177a3831778273b2414a
--
View it on GitLab: https://salsa.debian.org/med-team/seqmagick/-/compare/5ebfc204f556fb08b4642213d652c9467ab9ff5f...f3f514e0b0a7486ec30f177a3831778273b2414a
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/20211128/c7e4231d/attachment-0001.htm>
More information about the debian-med-commit
mailing list