[med-svn] [Git][med-team/ariba][master] 2 commits: Switch from nosetest -> pytest

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sat Dec 18 19:05:15 GMT 2021



Nilesh Patra pushed to branch master at Debian Med / ariba


Commits:
9ef80209 by Nilesh Patra at 2021-12-19T00:25:34+05:30
Switch from nosetest -> pytest

- - - - -
ea96a70c by Nilesh Patra at 2021-12-19T00:26:21+05:30
Upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/port-to-pytest.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+ariba (2.14.6+ds-3) unstable; urgency=medium
+
+  * Team Upload.
+  * Switch from nosetest -> pytest
+
+ -- Nilesh Patra <nilesh at debian.org>  Sun, 19 Dec 2021 00:26:03 +0530
+
 ariba (2.14.6+ds-2) unstable; urgency=medium
 
   * Fix d/watch to work with GitHub link structure.


=====================================
debian/control
=====================================
@@ -11,7 +11,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-setuptools,
                python3-pymummer (>= 0.10.2),
                python3-pysam (>= 0.9.1),
-               python3-nose (>= 1.3),
+               python3-pytest,
                python3-bs4,
                python3-matplotlib,
                python3-tk,


=====================================
debian/patches/port-to-pytest.patch
=====================================
@@ -0,0 +1,21 @@
+Description: Switch from nose -> pytest as the former is deprecated
+Author: Nilesh Patra <nilesh at debian.org>
+Forwarded: https://github.com/sanger-pathogens/ariba/pull/318
+Last-Update: December 19, 2021
+--- /dev/null
++++ b/pytest.ini
+@@ -0,0 +1,2 @@
++[pytest]
++addopts = --ignore=env
+--- a/setup.py
++++ b/setup.py
+@@ -98,8 +98,7 @@
+     author_email='ariba-help at sanger.ac.uk',
+     url='https://github.com/sanger-pathogens/ariba',
+     scripts=glob.glob('scripts/*'),
+-    test_suite='nose.collector',
+-    tests_require=['nose >= 1.3'],
++    tests_require=['pytest'],
+     install_requires=[
+         'BeautifulSoup4 >= 4.1.0',
+         'biopython',


=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ add-testdata.patch
 disable-tests-with-internet-access.patch
 support-pymummer-0.11.patch
 run-debian-spades-wrapper.patch
+port-to-pytest.patch



View it on GitLab: https://salsa.debian.org/med-team/ariba/-/compare/79ed1ad9cfc1aa8ae3175a60f678cc516366e388...ea96a70ca024e89cbd6af7b19c2b833d0bf17243

-- 
View it on GitLab: https://salsa.debian.org/med-team/ariba/-/compare/79ed1ad9cfc1aa8ae3175a60f678cc516366e388...ea96a70ca024e89cbd6af7b19c2b833d0bf17243
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/20211218/d7f30295/attachment-0001.htm>


More information about the debian-med-commit mailing list