From 46358b7aba798ea13a8241910774c8ec8b26d857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Szczepanik?= Date: Tue, 30 Aug 2022 15:04:01 +0200 Subject: [PATCH] Bring in testing-related updates from the extension template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This includes two important changes: - Move from nose to pytest - Update minimal requirements to Python 3.7 and DataLad 0.17 Squashed commit of the following: commit aec81056ef6b66566f6126eed0ed83916e92f797 Author: Michael Hanke Date: Thu Aug 25 19:19:11 2022 +0200 Update README (different branch names, some steps missing) commit 7cfac48bfb9d27b4af0d718006631b74fd772637 Merge: ef81d8e 091419c Author: Michael Hanke Date: Thu Aug 25 18:51:20 2022 +0200 Merge pull request #41 from datalad/appv Skip appveyor builds on doc-only changes commit 091419ccf47071e45fc55ba29b00bcc8b62b32b9 Author: Michael Hanke Date: Thu Aug 25 18:47:41 2022 +0200 Skip appveyor builds on doc-only changes Done in -core and elsewhere. Closes datalad/datalad-extension-template#37 commit ef81d8ef0390824ecf632c8b3c515c023ac99f66 Merge: 6945ff5 4652a27 Author: Michael Hanke Date: Thu Aug 25 18:43:46 2022 +0200 Merge pull request #35 from datalad/rf-pytest RF: migrate to use pytest instead of nose, drop PY 3.6, require datalad >= 0.17.0 commit 6945ff5c1a3bde359028584641541a4a5d1a3e8e Merge: 7e2d6d7 c59df33 Author: Michael Hanke Date: Thu Aug 25 18:42:35 2022 +0200 Merge pull request #34 from datalad/mslw-patch-2 Replace os.system with subprocess.run in doc-build commit 4652a2797233d4af83b42b871de051d8556ce536 Author: Yaroslav Halchenko Date: Tue Aug 9 10:19:35 2022 -0400 BF: fix import to use utils_pytest instead of utils commit 4bce17dece9b6b2dae5ad9fd8aef1b1144cb63e3 Author: Yaroslav Halchenko Date: Tue Aug 9 10:14:04 2022 -0400 BF: require python 3.7 and datalad 0.17.0 because we moved to pytest in 0.17.0 and even though 0.16.0 would already be good for python 3.7 I decided just to boost minimal datalad version because prior one is no longer maintained. commit c6e951a72dd25bd49a489628747fdb213b51ee40 Author: Yaroslav Halchenko Date: Mon Apr 25 11:10:22 2022 -0400 RF: migrate to use pytest instead of nose This is contingent on completion and release of migration over to pytest in datalad core which is ongoing in https://github.com/datalad/datalad/pull/6273 which I think should happen in 0.17. We should strive to make that PR **not** break runtime (but can break testing) of extensions. commit 7e2d6d72dfbad198856ee5996738a80211d8679e Merge: 89beb38 d695593 Author: Yaroslav Halchenko Date: Tue Aug 9 09:57:39 2022 -0400 Merge pull request #40 from datalad/data-pkg Include "data packages" in projects commit 89beb3800008d11d2655736ade493c981d2ef197 Merge: 0d19eed 2dab8fc Author: Yaroslav Halchenko Date: Tue Aug 9 09:55:34 2022 -0400 Merge pull request #38 from datalad/doc-lang DOC: Set language in Sphinx config to en commit d695593d0f15e046889f792a5163c85a2765501f Author: John T. Wodder II Date: Thu Jun 9 09:43:05 2022 -0400 Include "data packages" in projects commit 2dab8fc8bfcba4be15dd96af5df673658c77494e Author: Adina Wagner Date: Mon May 30 11:32:39 2022 +0200 DOC: Set language in Sphinx config to en Starting with Sphinx version 5.0, the configuration for the doc's language should not be None anymore and causes docbuild failures otherwise (see datalad/datalad#6715). This change sets the language specification to English (en) commit c59df331377c05668283a0ad91d81247fc34e6de Author: Michał Szczepanik Date: Mon Mar 14 13:59:37 2022 +0100 Remove building examples from the docs build process The removed code was previously unused and lived only as a side note two commits ago. It was suggested in issue #33 that datalad-neuroimaging is probably the only extension using this stage of doc-build, and therefore we may drop it from the template. commit 1fc0ef09942fa803d6b71671fb5c2732eed23451 Author: Michał Szczepanik Date: Mon Mar 14 13:44:24 2022 +0100 Replace os.system with subprocess.run in doc-build commit 0d19eeda18bb83be26564d08af6f91adc9268ad2 Merge: bfeaa45 84d672a Author: Michael Hanke Date: Thu Feb 10 15:29:49 2022 +0100 Merge pull request #32 from datalad/docs-explainer Add documentation explainer commit bfeaa45c1f269210897b91b2cb0ff690867c60a6 Merge: 1929a22 8e9bcbc Author: Michael Hanke Date: Thu Feb 10 15:27:24 2022 +0100 Merge pull request #30 from datalad/mslw-patch-1 Replace _metalad with _helloworld for easier grepping commit 84d672accb103b1a2396181565bb2e2ab6e5d38a Author: Stephan Heunis Date: Thu Feb 10 15:08:57 2022 +0100 add documentation explainer commit 8e9bcbc4b2a64e8bcd48059ed85c5c34321f5dad Author: Michał Szczepanik Date: Wed Feb 9 16:23:38 2022 +0100 Replace _metalad with _helloworld for easier grepping commit 1929a229214945e462f40cdcee6a339dfecc7124 Merge: ec54055 7b77859 Author: Michael Hanke Date: Mon Jan 24 10:29:45 2022 +0100 Merge pull request #29 from datalad/rf-tst Round of fixes and updates commit 7b77859c361ca2ff2ae7183069160fd5b8a329ff Author: Michael Hanke Date: Mon Jan 24 10:12:46 2022 +0100 Minimal codeclimate config commit 37b060672423ec4558c131d966c595b6638787e3 Author: Michael Hanke Date: Mon Jan 24 10:10:59 2022 +0100 More applicable command template With the command being in a dedicated file. Now also include standard logger naming suggestions. Fixes datalad/datalad-extension-template#27 commit 4aa498d49a315a5864393a5373fa64bc026a713a Author: Michael Hanke Date: Mon Jan 24 09:52:49 2022 +0100 Document what needs to be done for installing a git-annex snapshot Fixed datalad/datalad-extension-template#22 commit 7aea7b2c69d778433ffc60db22d5f9075e90fdbf Author: Michael Hanke Date: Mon Jan 24 09:50:18 2022 +0100 Update codecov setup to match datalad-core Fixes datalad/datalad-extension-template#24 commit ec5405566fd756d281f9d1fb73e25243a3d266e4 Merge: f6ef763 a3b022c Author: Michael Hanke Date: Tue Jan 11 17:22:44 2022 +0100 Merge pull request #28 from datalad/bf-version Make version detection robust to GIT_DIR specification commit a3b022cdf62e7637f46fc76b4e02ad2b4fb0735b Author: Chris Markiewicz Date: Tue Jan 11 10:37:27 2022 +0100 Make version detection robust to GIT_DIR specification Analog fix to https://github.com/datalad/datalad/pull/6341 commit f6ef763f94cefa953ef5dc1b037b06155a411933 Merge: b04f268 48addfb Author: Michael Hanke Date: Tue Jan 11 10:35:22 2022 +0100 Merge pull request #26 from datalad/no-setup-requires Stop using `setup_requires` commit b04f2685fea8d9e72cb4f03801b22986e7eecf5e Merge: cb64d9b 99a960f Author: Yaroslav Halchenko Date: Mon Oct 25 11:15:25 2021 -0400 Merge pull request #25 from datalad/no-distutils Stop using distutils commit 48addfbabc1ab65406f76324a329449948cad8b6 Author: John T. Wodder II Date: Mon Oct 25 09:20:18 2021 -0400 Stop using `setup_requires` commit 99a960ff3fa47a2b54412a8fb6c50ca48b447f06 Author: John T. Wodder II Date: Mon Oct 25 08:49:30 2021 -0400 Stop using distutils in _datalad_buildsupport commit c294de886d5de7d7597d97e93ff64dd8ed2909c2 Author: John T. Wodder II Date: Mon Oct 25 08:48:42 2021 -0400 Keep versioneer.py from using distutils commit cb64d9b9762d738c7d34ec3f4fd34c55cd7e184f Merge: 8b6234b f05a10b Author: Michael Hanke Date: Fri Oct 1 11:01:30 2021 +0200 Merge pull request #23 from datalad/bdist-wheel Fix bdist_wheel command in Makefile commit f05a10b38d90ed8e68c59a88cf8f00b2511bc4f4 Author: John T. Wodder II Date: Thu Sep 30 09:19:39 2021 -0400 Fix bdist_wheel command in Makefile commit 8b6234b96aa3be6b54446a280042706585d91ca9 Merge: c4c4f52 88aeff2 Author: Michael Hanke Date: Wed Sep 29 08:08:12 2021 +0200 Merge pull request #21 from datalad/testrequires Discontinue use of tests_require commit 88aeff294ecee8b1536e5f9fcdee217c5a7ed706 Author: Michael Hanke Date: Wed Sep 29 08:02:58 2021 +0200 Discontinue use of tests_require To achieve compatibility with some of datalad's default CI setups. commit c4c4f52bb2750c6576f441ff53b560be0a4ad675 Author: Michael Hanke Date: Thu Apr 15 10:20:40 2021 +0200 Disable smart quoting for valid manpages in HTML docs commit 34aa9b7f58ecc9750d2bee8ecb3dddf9ed02ed4d Merge: 0d4f35f edec51f Author: Michael Hanke Date: Wed Sep 22 14:48:33 2021 +0200 Merge pull request #19 from datalad/buildsupport Buildsupport update commit edec51f420f2203328423787d04f4518f0b27ae4 Merge: 0d4f35f 9975f82 Author: Michael Hanke Date: Wed Sep 22 14:41:40 2021 +0200 Update DataLad build helper commit 0d4f35f6dced6fe593e4924124df83f55e0d2590 Merge: 022720b afc8586 Author: Michael Hanke Date: Wed Sep 22 11:04:42 2021 +0200 Merge pull request #18 from datalad/appveyor-updates Appveyor updates commit afc8586101317359de04375815cfe87aede30bab Author: Michael Hanke Date: Wed Sep 22 10:57:41 2021 +0200 Do apt-get update before apt-get install Analog change to an update necessary in -ukbiobank that makes sense in general. Fixes datalad/datalad-extension-template#13 commit 2b59d6a4a773fd330f01864e9e3cf6eb9417e3b1 Author: Michael Hanke Date: Wed Sep 22 10:55:37 2021 +0200 Bump git-annex version for testing to a recent release Matching the one used in datalad-core commit 022720b6aee5f95fc8c9b57916fffe9c9d3b4563 Merge: 64d185d 3cbd005 Author: Michael Hanke Date: Wed Sep 22 10:49:42 2021 +0200 Merge pull request #14 from datalad/fix-manifest Add missing/necessary files to sdists commit 64d185dd7bebfbf8b513a0b90a3b30b7b4530ef2 Merge: e90593e 448eb72 Author: Michael Hanke Date: Wed Sep 22 10:44:32 2021 +0200 Merge pull request #16 from datalad/mv-entry-points Move entry points declaration to setup.cfg commit e90593e86017f2860526c3d9348c2235a6373857 Merge: ec853dc a6e5add Author: Michael Hanke Date: Wed Sep 22 10:41:27 2021 +0200 Merge pull request #15 from datalad/no-universal Remove `--universal` flag commit ec853dcba03878202e2c2fe4da4c68383275675d Merge: 0098853 200030b Author: Michael Hanke Date: Wed Sep 22 10:38:30 2021 +0200 Merge pull request #17 from datalad/versioneer Versioneer needs more history to do its job commit 200030bfea4e0488edd6efc00324a2e05d3db869 Author: Michael Hanke Date: Wed Sep 22 10:33:54 2021 +0200 Versioneer needs more history to do its job commit 448eb72efb482831ce17a1a5421bb1b0863a46c4 Author: John T. Wodder II Date: Wed Sep 15 12:50:54 2021 -0400 Move entry points declaration to setup.cfg commit a6e5add3f3cdb3192a9c9dde910f9d67a7eebb11 Author: John T. Wodder II Date: Wed Sep 15 12:47:19 2021 -0400 Remove `--universal` flag commit 3cbd00592f20d2554da34ec0a4765c55a9184233 Author: John T. Wodder II Date: Wed Sep 15 12:37:40 2021 -0400 Add necessary files to sdists commit 9975f82bd5b43cc6bd6e0d36fc18ae9382bb40ab Author: Michael Hanke Date: Thu Apr 15 08:15:27 2021 +0200 BF: We only have lower-case command names In a command suite that only defines the class name of a command, and no explicit cmdline name, no manpage would be built, because the test against the parser content would look like `Ls != ls` This change enforces lower-case for autogenerated command names. commit 0098853fee84d0ed6794a291b5056445403a6cd2 Merge: 7078c9d 4d2c049 Author: Michael Hanke Date: Sat Apr 10 12:29:35 2021 +0200 Merge pull request #12 from datalad/rf-36 Update workflow to minimal supported Python version (3.6) commit 4d2c04930c184455a30a1592827a55c979c6a49b Author: Michael Hanke Date: Sat Apr 10 12:23:25 2021 +0200 Update workflow to minimal supported Python version (3.6) commit 7078c9d738102d6e5df6cc59b09b159425e610bf Author: Michael Hanke Date: Tue Mar 23 07:29:08 2021 +0100 Use Debian snapshots as a stable place for packages commit 4827d994939d220194a99b53eb5ed83d0b3e18da Merge: 4ad6769 899e9ba Author: Michael Hanke Date: Thu Mar 11 17:13:11 2021 +0100 Merge pull request #11 from datalad/tst-coverage Working coverage submission across all platforms commit 899e9bae0f39ea479a18a9415c0b978d2d2a6e89 Author: Michael Hanke Date: Thu Mar 11 16:51:09 2021 +0100 Working coverage submission across all platforms commit 4ad67696dde62b01213a7cfb2964cc5a1a104507 Merge: 616ea72 1260e41 Author: Michael Hanke Date: Thu Mar 11 09:08:29 2021 +0100 Merge pull request #10 from datalad/typos Minor fixup of wording for command_suite commit 1260e4175d60a1bd9fad85ed04833b79632d3ac8 Author: Yaroslav Halchenko Date: Tue Mar 2 18:30:12 2021 -0500 Minor fixup of wording for command_suite commit 616ea72d35b04e6ea920ef2abfbd5ca76b0f1592 Merge: a4a5749 7d8c9aa Author: Michael Hanke Date: Tue Mar 2 08:20:57 2021 +0100 Merge pull request #9 from datalad/installer Use released version of datalad-installer commit 7d8c9aa9f796df763bb83485174d35ef4a2ebcc7 Author: Michael Hanke Date: Tue Mar 2 07:40:52 2021 +0100 Use released version of datalad-installer - get rid of custom git-annex installer script on windows, use the official implementation instead - add support for requesting a specific installer version via ENV variable DATALAD_INSTALLER_VERSION, go with "latest" by default. Requesting an unavailable installer version will make the build error. commit a4a574989b1dfc78a4ac0287374e9780208add7d Author: Michael Hanke Date: Mon Jan 25 08:12:45 2021 +0100 TST: Switch default test setup to appveyor Following changes in datalad-core as well as other extensions. commit f304d45b8d1f34dae08d0809c8e87c5047f8e278 Author: Michael Hanke Date: Tue Jun 16 13:46:11 2020 +0200 Fix for consistency commit 1fb2ed6756596ff8e0410dd07314a132f81f1357 Author: Michael Hanke Date: Mon Jun 15 17:42:00 2020 +0200 Prevent inclusion of build helpers into binary packages commit ce8e7f002b0aedfd1c0b77403c16ca511b56eeaf Merge: 0924ab1 cd61512 Author: Michael Hanke Date: Mon Jun 15 13:08:29 2020 +0200 Add DataLad build helper commit cd615129ab5efd800a9c4dcbf752651b6b921740 Author: Michael Hanke Date: Mon Jun 15 13:08:29 2020 +0200 Squashed '_datalad_buildsupport/' content from commit 023a1b7 git-subtree-dir: _datalad_buildsupport git-subtree-split: 023a1b77194508f7aa1d7ec5ec3bb222c1d840aa commit 0924ab1e62b31e647eb6268e28c17edd6c26a77f Author: Michael Hanke Date: Mon Jun 15 13:07:44 2020 +0200 Minor name change Avoids conflict with code in datalad-core and matches source repo name. commit 80bf1979d5c8f9f1770deec687dc8106867c91f9 Author: Michael Hanke Date: Mon Jun 15 09:01:18 2020 +0200 Rename file to get a more obvious label commit 1cfca1d17b7b72f01c67e29affa4168c3baba8c8 Author: Michael Hanke Date: Mon Jun 15 09:00:06 2020 +0200 Extend README with practical info commit 49817c694686d21ceb5aacb22c43fa5e320d9945 Merge: a20b711 73a7485 Author: Michael Hanke Date: Mon Jun 15 08:57:28 2020 +0200 Merge pull request #7 from datalad/readme Community related pointers for the README commit 73a74858b21ca7ba32b4abd32330b97ae3cd84a4 Author: Adina Wagner Date: Wed Jun 10 13:28:40 2020 +0200 add a minimal zenodo.json file commit 28b0f3084e7ba0565e6a720653bcfcc89c58abf4 Author: Adina Wagner Date: Wed Jun 10 13:29:27 2020 +0200 add archival and community related pointers to the README commit a20b71151336982730894b1a534d67831f68c94c Merge: ea1ed84 12a5a2d Author: Michael Hanke Date: Mon Jun 15 08:42:44 2020 +0200 Merge pull request #6 from datalad/build_helpers Build and render manpages -- using common build helpers commit 12a5a2de5ae27ef658c4099a988d6b1fd47ebd1b Author: Michael Hanke Date: Mon Jun 15 08:25:24 2020 +0200 Remove leftover broken devel requirement commit dbd12d14cf4e1f4231b84d02d1f555ea02b242dc Merge: da5b936 023a1b7 Author: Michael Hanke Date: Mon Jun 15 08:19:45 2020 +0200 Add DataLad build helper git-subtree-dir: _datalad_build_support git-subtree-mainline: da5b936048453af66ff9d821920df70eedc87d24 git-subtree-split: 023a1b77194508f7aa1d7ec5ec3bb222c1d840aa commit da5b936048453af66ff9d821920df70eedc87d24 Author: Michael Hanke Date: Fri Jun 12 17:32:04 2020 +0200 Add makefile target for updating the DataLad build helpers commit 023a1b77194508f7aa1d7ec5ec3bb222c1d840aa Author: Michael Hanke Date: Mon Jun 15 08:16:13 2020 +0200 BF: Read package metadata directly from setup.cfg The distribution object does not seem to see it (at least not under all circumstances). commit fd99b4eece55f97514387b31787d15b393a669f9 Author: Michael Hanke Date: Mon Jun 15 08:15:09 2020 +0200 RF: Remove helpers that are not needed for extensions DataLad core can add its own ones again, but it is not worth imposing the code on all extensions. commit ba575108283843f6e9f63c1852c69cc29df08ffd Author: Michael Hanke Date: Fri Jun 12 17:35:46 2020 +0200 Enable building manpages for extensions With the ability to point to a specific command suite. The rest is just about making datalad core not break. commit 343b9a0ba4f72c4da641f6ba74dfbe643b70807a Author: Michael Hanke Date: Fri Jun 12 17:21:01 2020 +0200 Start with a copy from datalad@afa682550ee742d69853f69165c0f37c5f4b5f05 commit 5d64f44cb21adf62b26feaf216f9767ca4b1928a Author: Michael Hanke Date: Thu Jun 11 12:41:43 2020 +0200 Build and render manpages commit ea1ed84757f7f3bbbd172073676883179f770c7e Merge: a836e6b 1a56499 Author: Michael Hanke Date: Wed Jun 10 16:24:09 2020 +0200 Merge pull request #5 from mih/master Modernization commit 1a56499f2ccc9d96bb9936d1a2d8edf3a87a4125 Author: Michael Hanke Date: Wed Jun 10 12:17:29 2020 +0200 Make more datalad-friendly by prevent annex creation on datalad-save commit 915818a1b5988efffc4b6c8f25b1ccc6bdd8f6e1 Author: Michael Hanke Date: Wed Jun 10 12:15:06 2020 +0200 Remove needless setup complication commit 90debfceae21cd4d43521230dd59f7a9586442b7 Author: Michael Hanke Date: Wed Jun 10 12:14:50 2020 +0200 Fix badge name commit ec78dfdf1b3f89bb9f21fff2fa5fd26fe37505b6 Author: Michael Hanke Date: Wed Jun 10 11:30:11 2020 +0200 Added top-level Makefile with release-to-pypi helper commit e8d69fb3cf21eadc344c15bc22bf1ad9fe0ee3d7 Author: Michael Hanke Date: Wed Jun 10 09:33:58 2020 +0200 Update README with more status badges commit c34760b8a562053005556fa835dffc200f1ae430 Author: Michael Hanke Date: Wed Jun 10 10:57:46 2020 +0200 Github action to build the docs commit 24199ea7d06f8aafcda006aeec1edd3721bdec36 Author: Michael Hanke Date: Wed Jun 10 10:34:50 2020 +0200 Sphinx-doc scaffold commit 514d3430bf2e6fdab7e6378105e807372cc46646 Author: Michael Hanke Date: Wed Jun 10 10:30:52 2020 +0200 Add workflow for testing on windows commit 61163c77291dc16f6c877c2bf757e1827cb8a1ad Author: Michael Hanke Date: Wed Jun 10 08:20:01 2020 +0200 Standardize on requirement-devel.txt commit cc7ed24953a06aec135bdf94d4a5b49915dccdfb Author: Michael Hanke Date: Wed Jun 10 07:59:48 2020 +0200 Add github workflow for testing on a crippled filesystem commit f2b2a6c2ac938671aa5fb8c7be99a8811cde3102 Author: Michael Hanke Date: Wed Jun 10 07:56:23 2020 +0200 Ignore pip metadata dumps and other stuff commit 8e0ace0a0b48d7fb5e2dba3ca8242dc85a5af4ac Author: Michael Hanke Date: Wed Jun 10 07:48:54 2020 +0200 [DATALAD RUNCMD] Install/enable versioneer === Do not change lines below === { "chain": [], "cmd": "versioneer install", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ commit f44d7e2c0b83801a53c5238d966a54ab50fabfc0 Author: Michael Hanke Date: Wed Jun 10 09:34:46 2020 +0200 Add missing __init__.py to get tests installed correctly commit d94fb13aa4f037d50945eb69c7565d8d92cf68e4 Author: Michael Hanke Date: Wed Jun 10 07:46:56 2020 +0200 Simplify Travis setup No PY2, more up-to-date PY3 versions commit edfe14a6f4ddeb75801864647400185cd48b8b3f Author: Michael Hanke Date: Wed Jun 10 07:41:07 2020 +0200 Fixup and expand metadata in setup.cfg and for setup.py Sensible default setup for dependencies and testing. Should enable to just drop in some code, rename the package and run. commit d0eec9f9c59915dbe48acec863329d1b112aaa23 Author: Adina Wagner Date: Tue Jun 9 10:52:48 2020 +0200 add initial configuration for versioneer setup commit 63e9a481c87e3301528ce6d5f4d65f91cb3bd4b0 Author: Adina Wagner Date: Tue Jun 9 10:46:34 2020 +0200 modernize setup according to https://github.com/datalad/datalad-ukbiobank commit a836e6ba83b8f17cfc321e0c878157cc96ae7847 Author: Michael Hanke Date: Wed Jun 10 08:05:04 2020 +0200 Dummy workflow commit 78de6c37f4443ca1218a3f75abfa6caee300e686 Author: Michael Hanke Date: Fri Oct 12 07:55:25 2018 +0200 TST: Swap out directmode tests for v6 tests commit 75b6fa4b523267b509e4cd20f6db75c43ef53e1c Author: Michael Hanke Date: Fri Oct 12 06:52:49 2018 +0200 Standard gitignore commit 2bc890edefba106124c678bac6df521783d3b397 Author: Michael Hanke Date: Fri Oct 12 06:52:29 2018 +0200 Improve standard setup commit 8da041aaf1c1c20205f788b87d02d675115adebb Author: Michael Hanke Date: Fri Apr 6 11:20:12 2018 +0200 RF: Extension naming conventions commit c971b18d8083aeb3ab14e09a4ecf6f9e735c5dc2 Author: Michael Hanke Date: Fri Mar 30 16:50:11 2018 +0200 TST: Reenable wtf, after datalad got fixed commit 92f22c333fff6920273c0a718082cacbd6fec0f9 Author: Michael Hanke Date: Fri Mar 30 11:13:05 2018 +0200 RF: Standardize on datalad_ module prefix (fixes gh-1) commit cc63930bb47ba424de4fabb14d512eaa0755da04 Author: Michael Hanke Date: Fri Mar 30 09:39:20 2018 +0200 Deal with Datalad bug commit 839f7280e109ff3ac27aac08847636e21d6c806f Author: Michael Hanke Date: Fri Mar 30 09:31:55 2018 +0200 Install the package commit 486cfa704db5745b19c721f9f5648562e0023f44 Author: Michael Hanke Date: Fri Mar 30 09:25:19 2018 +0200 RF: Comply with datalads current ad-hoc naming conventions commit 9351f9974a9e2853f7107499881865e5936b6b55 Author: Michael Hanke Date: Thu Mar 29 20:45:47 2018 +0200 TST: Basic test of whether datalad can see this extension commit 9bc499db31689b9db828ac842bd649241b8121d6 Author: Michael Hanke Date: Thu Mar 29 20:33:10 2018 +0200 TST: Trimmed travis setup from the mothership commit 4ee24c490709275726e5a4b58cae682f6cb2f564 Author: Michael Hanke Date: Wed Mar 28 16:49:08 2018 +0200 DOC: Basic README commit 831e6c5c76e359855738a89b97f22dacd6a8b902 Author: Michael Hanke Date: Wed Mar 28 16:09:14 2018 +0200 DOC: Annotate setup.py commit 7c5a645904f1f591d30a75d3dfee5b7b55998ba9 Author: Michael Hanke Date: Wed Mar 28 16:04:48 2018 +0200 DOC: more complete basic info commit 82300f6c348e6d54e2673d697ecb3570b65da3b2 Author: Michael Hanke Date: Wed Mar 28 16:00:50 2018 +0200 DOC: Some insight into the command implementation commit 387333b0862cb61c1a8aa40ae8fa5342a99c20ab Author: Michael Hanke Date: Wed Mar 28 15:49:56 2018 +0200 Declare dependency on datalad Should be versioned, but needs to wait for a release. commit 00e17548770bd737925007390fb2321844cc6486 Author: Michael Hanke Date: Wed Mar 28 15:19:01 2018 +0200 Demo of a minimalistic DataLad extension module commit be4df7f645296eff76e5bd5b9e5297186280db08 Author: Michael Hanke Date: Wed Mar 28 14:12:07 2018 +0200 first commit --- .appveyor.yml | 12 +++++++++--- .github/workflows/test_crippledfs.yml | 2 +- requirements-devel.txt | 3 ++- setup.cfg | 6 +++--- 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index f787261..4de52e4 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -90,6 +90,13 @@ matrix: - KNOWN2FAIL: 1 +# do not run the CI if only documentation changes were made +# documentation builds are tested elsewhere and cheaper +skip_commits: + files: + - docs/ + + # it is OK to specify paths that may not exist for a particular test run cache: # pip cache @@ -190,9 +197,8 @@ test_script: - cmd: md __testhome__ - sh: mkdir __testhome__ - cd __testhome__ - # run test selecion (--traverse-namespace needed from Python 3.8 onwards) - - cmd: python -m nose --traverse-namespace -s -v -A "not (turtle)" --with-cov --cover-package datalad_ebrains %DTS% - - sh: python -m nose --traverse-namespace -s -v -A "not (turtle)" --with-cov --cover-package datalad_ebrains ${DTS} + - cmd: python -m pytest -s -v -m "not (turtle)" --doctest-modules --cov=datalad_ebrains --pyargs %DTS% + - sh: python -m pytest -s -v -m "not (turtle)" --doctest-modules --cov=datalad_ebrains --pyargs ${DTS} after_test: diff --git a/.github/workflows/test_crippledfs.yml b/.github/workflows/test_crippledfs.yml index e0d4124..c2c1ff5 100644 --- a/.github/workflows/test_crippledfs.yml +++ b/.github/workflows/test_crippledfs.yml @@ -52,4 +52,4 @@ jobs: echo "== mount >>" mount echo "<< mount ==" - python -m nose -s -v --with-doctest --with-coverage --cover-package datalad_helloworld datalad_helloworld + python -m pytest -s -v --doctest-modules --cov=datalad_ebrains --pyargs datalad_ebrains diff --git a/requirements-devel.txt b/requirements-devel.txt index 5db3241..364f811 100644 --- a/requirements-devel.txt +++ b/requirements-devel.txt @@ -1,5 +1,6 @@ # requirements for a development environment -nose +pytest +pytest-cov coverage sphinx sphinx_rtd_theme diff --git a/setup.cfg b/setup.cfg index ab7006d..5f8e04b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,9 +12,9 @@ classifiers = Programming Language :: Python :: 3 [options] -python_requires = >= 3.6 +python_requires = >= 3.7 install_requires = - datalad >= 0.16 + datalad >= 0.17 datalad_next packages = find_namespace: include_package_data = True @@ -25,7 +25,7 @@ include = datalad_ebrains* [options.extras_require] # this matches the name used by -core and what is expected by some CI setups devel = - nose + pytest coverage [options.entry_points]