From 1618435a22e7ad05b5b2f426e552649cb6a38186 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 19 Jun 2024 07:15:26 -0400 Subject: [PATCH 1/2] Make test for presence of max_path in partitions not run for current psutil 6.0.0 See https://github.com/giampaolo/psutil/issues/2109 - reporting of max_path was removed --- datalad/local/tests/test_wtf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/datalad/local/tests/test_wtf.py b/datalad/local/tests/test_wtf.py index 82b1c02a5c..c7a362ae35 100644 --- a/datalad/local/tests/test_wtf.py +++ b/datalad/local/tests/test_wtf.py @@ -80,8 +80,10 @@ def test_wtf(topdir=None): assert_not_in(_HIDDEN, cmo.out) # all is shown assert_in('user.name: ', cmo.out) if external_versions['psutil']: - # filesystems detail should be reported - assert_in('max_pathlength:', cmo.out) + if external_versions['psutil'] < '6.0.0': + # filesystems detail should be reported, unless 6.0.0 where + # it was removed. See https://github.com/giampaolo/psutil/issues/2109 + assert_in('max_pathlength:', cmo.out) else: assert_in("Hint: install psutil", cmo.out) From 9070ae979c4313ed75c17cb114f19b77fe455e29 Mon Sep 17 00:00:00 2001 From: DataLad Bot Date: Wed, 19 Jun 2024 12:23:48 +0000 Subject: [PATCH 2/2] [release-action] Autogenerate changelog snippet for PR 7622 --- changelog.d/pr-7622.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelog.d/pr-7622.md diff --git a/changelog.d/pr-7622.md b/changelog.d/pr-7622.md new file mode 100644 index 0000000000..a96cfd8d7d --- /dev/null +++ b/changelog.d/pr-7622.md @@ -0,0 +1,3 @@ +### 🧪 Tests + +- Make test for presence of max_path in partitions not run for current psutil 6.0.0. [PR #7622](https://github.com/datalad/datalad/pull/7622) (by [@yarikoptic](https://github.com/yarikoptic))