[med-svn] [Git][med-team/snakemake][master] fix test skips

Rebecca N. Palmer (@rnpalmer-guest) gitlab at salsa.debian.org
Tue Mar 29 23:07:18 BST 2022



Rebecca N. Palmer pushed to branch master at Debian Med / snakemake


Commits:
978041ef by Rebecca N. Palmer at 2022-03-29T23:06:40+01:00
fix test skips

- - - - -


3 changed files:

- debian/changelog
- debian/rules
- debian/tests/run-unit-test


Changes:

=====================================
debian/changelog
=====================================
@@ -4,7 +4,7 @@ snakemake (7.3.3-1) unstable; urgency=medium
   * Skip new unrunnable-in-Debian tests.
   * Update dependencies.
 
- -- Rebecca N. Palmer <rebecca_palmer at zoho.com>  Tue, 29 Mar 2022 22:14:21 +0100
+ -- Rebecca N. Palmer <rebecca_palmer at zoho.com>  Tue, 29 Mar 2022 23:06:32 +0100
 
 snakemake (6.15.5-1) unstable; urgency=medium
 


=====================================
debian/rules
=====================================
@@ -8,7 +8,7 @@ export PYBUILD_DESTDIR_python3=debian/snakemake
 # copy the tests and run them from there to avoid having to clean up after them
 export PYBUILD_BEFORE_TEST_python3=chmod +x {dir}/bin/snakemake; cp -r {dir}/bin {dir}/tests {build_dir}
 export PYBUILD_AFTER_TEST_python3=rm -fr {build_dir}/bin {build_dir}/tests
-export PYBUILD_TEST_ARGS=python{version} -m pytest -v {build_dir}/tests/test*.py -k 'not test_cwl and not test_cwl_singularity and not test_url_include and not test_wrapper and not test_issue1083 and not test_github_issue78 and not test_container and not test_singularity and not test_singularity_conda and not test_convert_to_cwl and not test_report and not test_report_zip and not test_archive and not test_jupyter_notebook and not test_conda and not test_upstream_conda and not test_conda_custom_prefix and not test_script and not test_issue635 and not test_issue1093 and not test_default_resources and not test_default_remote and not test_remote and not test_output_file_cache_remote and not test_tibanna and not test_module_complex and not test_module_complex2 and not test_module_with_script and not test_module_report and not test_modules_meta_wrapper and not test_tes and not test_deploy_script and not test_deploy_hashing and not test_peppy and not test_modules_peppy and not test_report_display_code and not test_wrapper_local_git_prefix and not test_template_engine and not test_github_issue_1396 and not test_ancient and not test_github_issue1062 and not test_symlink_time_handling and not test_env_modules'
+export PYBUILD_TEST_ARGS=python{version} -m pytest -v {build_dir}/tests/test*.py -k 'not test_cwl and not test_cwl_singularity and not test_url_include and not test_wrapper and not test_issue1083 and not test_github_issue78 and not test_container and not test_singularity and not test_singularity_conda and not test_convert_to_cwl and not test_report and not test_report_zip and not test_archive and not test_jupyter_notebook and not test_conda and not test_upstream_conda and not test_conda_custom_prefix and not test_script and not test_issue635 and not test_issue1093 and not test_default_resources and not test_default_remote and not test_remote and not test_output_file_cache_remote and not test_tibanna and not test_module_complex and not test_module_complex2 and not test_module_with_script and not test_module_report and not test_modules_meta_wrapper and not test_tes and not test_deploy_script and not test_deploy_hashing and not test_peppy and not test_modules_peppy and not test_report_display_code and not test_wrapper_local_git_prefix and not test_template_engine and not test_github_issue1396 and not test_modules_prefix and not test_ancient and not test_github_issue1062 and not test_symlink_time_handling and not test_env_modules'
 
 # Skipped because they download executables (which is forbidden in Debian buildd and debci)
 # Snakefile/snakemake-wrapper/CWL scripts: test_cwl, test_cwl_singularity, test_url_include, test_wrapper, test_wrapper_local_git_prefix, test_module_with_script, test_module_report, test_module_complex(2), test_modules_meta_wrapper
@@ -19,6 +19,7 @@ export PYBUILD_TEST_ARGS=python{version} -m pytest -v {build_dir}/tests/test*.py
 
 # Skipped due to not-in-Debian dependencies
 # python3-moto (RFP #777089): test_default_resources, test_default_remote, test_remote, test_output_file_cache_remote
+# python3-retry: test_modules_prefix
 # python3-peppy: test_peppy, test_modules_peppy
 # python3-tibanna: test_tibanna (possibly also specific to one cloud provider?)
 # python3-tes: test_tes
@@ -32,7 +33,7 @@ export PYBUILD_TEST_ARGS=python{version} -m pytest -v {build_dir}/tests/test*.py
 # Skipped in build to let reproducibility tests pass (it fails under faketime, with what looks like the outer script but not the rules running under it), but run in autopkgtest: test_symlink_time_handling
 
 # possibly an actual bug: test_env_modules
-# should be marked google_credentials: test_github_issue_1396
+# should be marked google_credentials: test_github_issue1396
 # test_pipes_fail is done outside the main run in autopkgtest because it sometimes hangs
 
 export PATH:=$(shell pybuild --print build_dir --interpreter python3 --name $(PYBUILD_NAME))/bin:$(PATH)


=====================================
debian/tests/run-unit-test
=====================================
@@ -25,4 +25,4 @@ export HOME="${AUTOPKGTEST_TMP}"
 python3 -m pytest -o faulthandler_timeeout=60 -v tests/test*.py -k 'test_pipes_fail' || python3 -m pytest -o faulthandler_timeeout=60 -v tests/test*.py -k 'test_pipes_fail' || python3 -m pytest -o faulthandler_timeeout=60 -v tests/test*.py -k 'test_pipes_fail'
 
 #See debian/rules for why these are excluded
-python3 -m pytest -v tests/test*.py -k 'not test_cwl and not test_cwl_singularity and not test_url_include and not test_wrapper and not test_issue1083 and not test_github_issue78 and not test_container and not test_singularity and not test_singularity_conda and not test_convert_to_cwl and not test_report and not test_report_zip and not test_archive and not test_jupyter_notebook and not test_conda and not test_upstream_conda and not test_conda_custom_prefix and not test_script and not test_issue635 and not test_issue1093 and not test_default_resources and not test_default_remote and not test_remote and not test_output_file_cache_remote and not test_tibanna and not test_module_complex and not test_module_complex2 and not test_module_with_script and not test_module_report and not test_modules_meta_wrapper and not test_tes and not test_deploy_script and not test_deploy_hashing and not test_peppy and not test_modules_peppy and not test_report_display_code and not test_wrapper_local_git_prefix and not test_template_engine and not test_github_issue_1396 and not test_env_modules and not test_github_issue1062 and not test_pipes_fail'
+python3 -m pytest -v tests/test*.py -k 'not test_cwl and not test_cwl_singularity and not test_url_include and not test_wrapper and not test_issue1083 and not test_github_issue78 and not test_container and not test_singularity and not test_singularity_conda and not test_convert_to_cwl and not test_report and not test_report_zip and not test_archive and not test_jupyter_notebook and not test_conda and not test_upstream_conda and not test_conda_custom_prefix and not test_script and not test_issue635 and not test_issue1093 and not test_default_resources and not test_default_remote and not test_remote and not test_output_file_cache_remote and not test_tibanna and not test_module_complex and not test_module_complex2 and not test_module_with_script and not test_module_report and not test_modules_meta_wrapper and not test_tes and not test_deploy_script and not test_deploy_hashing and not test_peppy and not test_modules_peppy and not test_report_display_code and not test_wrapper_local_git_prefix and not test_template_engine and not test_github_issue1396 and not test_modules_prefix and not test_env_modules and not test_github_issue1062 and not test_pipes_fail'



View it on GitLab: https://salsa.debian.org/med-team/snakemake/-/commit/978041efeaef06f96df3e59f062308527f9b0816

-- 
View it on GitLab: https://salsa.debian.org/med-team/snakemake/-/commit/978041efeaef06f96df3e59f062308527f9b0816
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/20220329/fdde2bb0/attachment-0001.htm>


More information about the debian-med-commit mailing list