Nilesh Patra pushed to branch master at Debian Med / circlator
Commits: 77064f53 by Nilesh Patra at 2021-10-25T03:44:39+05:30 Switch from nose -> pytest - - - - - d30b5789 by Nilesh Patra at 2021-10-25T03:44:39+05:30 Upload to unstable - - - - - 7 changed files: - debian/changelog - debian/control - debian/patches/series - + debian/patches/switch-to-pytest.patch - debian/rules - debian/tests/control - debian/tests/run-unit-test Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +circlator (1.5.6-6) unstable; urgency=medium + + * Team Upload. + * Switch from nose -> pytest + + -- Nilesh Patra <[email protected]> Mon, 25 Oct 2021 03:38:40 +0530 + circlator (1.5.6-5) unstable; urgency=medium [ Vagrant Cascadian ] ===================================== debian/control ===================================== @@ -13,7 +13,7 @@ Build-Depends: debhelper-compat (= 13), python3-pysam, python3-pymummer, # Test-Depends: - python3-nose, + python3-pytest, spades, bwa (>= 0.7.12), prodigal, ===================================== debian/patches/series ===================================== @@ -1 +1,2 @@ fix_canu_detection.patch +switch-to-pytest.patch ===================================== debian/patches/switch-to-pytest.patch ===================================== @@ -0,0 +1,15 @@ +Description: Switch from nose->pytest since the former is deprecated +Author: Nilesh Patra <[email protected]> +Last-Updated: 2021-10-25 +--- a/setup.py ++++ b/setup.py +@@ -15,8 +15,7 @@ + author_email='[email protected]', + url='https://github.com/sanger-pathogens/circlator', + scripts=glob.glob('scripts/*'), +- test_suite='nose.collector', +- tests_require=['nose >= 1.3'], ++ tests_require=['pytest'], + install_requires=[ + 'openpyxl', + 'pyfastaq >= 3.12.1', ===================================== debian/rules ===================================== @@ -10,7 +10,7 @@ export LC_ALL=C.UTF-8 override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - PYTHONPATH=$(CURDIR) nosetests3 -v --where=circlator/tests + PYTHONPATH=$(CURDIR) pytest-3 -v circlator/tests endif override_dh_installexamples: ===================================== debian/tests/control ===================================== @@ -1,3 +1,3 @@ Tests: run-unit-test -Depends: @, python3-nose, python3-all +Depends: @, python3-pytest, python3-all Restrictions: allow-stderr ===================================== debian/tests/run-unit-test ===================================== @@ -17,4 +17,4 @@ cd "${AUTOPKGTEST_TMP}" tar xaf data.tar.xz sed -i "s/data_dir = os.path.join(modules_dir, 'tests', 'data')/data_dir = os.path.join(os.getcwd(), 'data')/" *.py -nosetests3 -v . +python3 -m pytest -v View it on GitLab: https://salsa.debian.org/med-team/circlator/-/compare/f5f1fb2324f59ad5d0416ad420533a02bada4b5f...d30b5789eb7d909f313b7e18e24d8589b9197de6 -- View it on GitLab: https://salsa.debian.org/med-team/circlator/-/compare/f5f1fb2324f59ad5d0416ad420533a02bada4b5f...d30b5789eb7d909f313b7e18e24d8589b9197de6 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
