]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
replace deprecated nose dependency with pynose 1947/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 23 May 2024 16:26:25 +0000 (12:26 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 23 May 2024 16:33:54 +0000 (12:33 -0400)
commit73a7948a7100e709ce2a9ddba3b408ab1e032daf
tree2c3b16b5e414e0931a4134aad54c4afcd0944669
parentb9e3da87b1ec7920937cb4902b7e3fd9eda86b4a
replace deprecated nose dependency with pynose

after upgrading teuthology to centos 9 and python 3.10, the rgw
multisite test suite now fails to invoke nosetests with:

> AttributeError: module 'collections' has no attribute 'Callable'

this is a known issue tracked in https://github.com/nose-devs/nose/issues/1127

Shilpa found a new 'pynose' package which claims that:

> This version of nose is compatible with Python 3.7+ (including 3.13+).

replace the nose dependency that i initially added in
https://github.com/ceph/teuthology/pull/1069 with the current version
1.5.1 of pynose

to prepare this pr, i first changed setup.cfg then ran:

> ./update-requirements.sh -P "pynose==1.5.1"

Fixes: https://tracker.ceph.com/issues/66183
Signed-off-by: Casey Bodley <cbodley@redhat.com>
requirements.txt
setup.cfg