Étienne Mollier pushed to branch master at Debian Med / augur
Commits: 661f2f4a by Étienne Mollier at 2023-09-10T20:44:44+02:00 d/control: tests depend on flake8 - - - - - d64bf5bc by Étienne Mollier at 2023-09-10T20:47:23+02:00 d/rules: copy .flake8 over pybuild directories. This is necessary so that the flake8 test runs with the configuration intended by upstream. - - - - - 1ad8a8f9 by Étienne Mollier at 2023-09-10T20:50:24+02:00 d/t/control: autopkgtest depends on flake8. - - - - - 418eebaa by Étienne Mollier at 2023-09-10T20:54:56+02:00 ready to upload to unstable for real. - - - - - 4 changed files: - debian/changelog - debian/control - debian/rules - debian/tests/control Changes: ===================================== debian/changelog ===================================== @@ -1,8 +1,13 @@ augur (23.0.0-1) unstable; urgency=medium * New upstream version + * d/control: tests depend on flake8 + * d/rules: copy .flake8 over pybuild directories. + This is necessary so that the flake8 test runs with the configuration + intended by upstream. + * d/t/control: autopkgtest depends on flake8. - -- Étienne Mollier <[email protected]> Sun, 10 Sep 2023 20:25:01 +0200 + -- Étienne Mollier <[email protected]> Sun, 10 Sep 2023 20:50:50 +0200 augur (22.4.0-1) unstable; urgency=medium ===================================== debian/control ===================================== @@ -6,6 +6,7 @@ Section: science Priority: optional Build-Depends: debhelper-compat (= 13), dh-sequence-python3, + flake8 <!nocheck>, mafft, mypy <!nocheck>, python3-all, ===================================== debian/rules ===================================== @@ -15,11 +15,11 @@ override_dh_auto_clean: dh_auto_clean rm -rf .pytest_cache nextstrain_augur.egg-info -# The below hoops are required for the test involving mypy. If this turns out -# to be too problematic to maintain, then it is also probably fine to just skip -# unconditionally this particular test. +# The below hoops are required for the tests involving mypy and flake8. BUILD_DIRS := $(wildcard $(CURDIR)/.pybuild/cpython*_*/build) execute_before_dh_auto_test: $(foreach build_dir,$(BUILD_DIRS), cp -v mypy.ini $(build_dir) &&) : + $(foreach build_dir,$(BUILD_DIRS), cp -v .flake8 $(build_dir) &&) : execute_after_dh_auto_test: $(foreach build_dir,$(BUILD_DIRS), rm -v $(build_dir)/mypy.ini &&) : + $(foreach build_dir,$(BUILD_DIRS), rm -v $(build_dir)/.flake8 &&) : ===================================== debian/tests/control ===================================== @@ -1,5 +1,6 @@ Tests: run-unit-test Depends: @, + flake8, mypy, python3-all, python3-pytest, View it on GitLab: https://salsa.debian.org/med-team/augur/-/compare/d55dbcd5081dfe86b7bb0b10b889e57f23c97ec0...418eebaa142b8e1dd9dfffbba12c00f118300eaa -- View it on GitLab: https://salsa.debian.org/med-team/augur/-/compare/d55dbcd5081dfe86b7bb0b10b889e57f23c97ec0...418eebaa142b8e1dd9dfffbba12c00f118300eaa 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
