add pyproject.toml for build dependency on setuptools
resolve tox error:
> ERROR: Can not execute setup.py since setuptools is not available in the build environment.
Fixes: https://tracker.ceph.com/issues/67986
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
9f29e0bec86e927689d61a3e33e2d938692085ad)
tox: fix whitespace error in passenv
> py: failed with pass_env values cannot contain whitespace, use comma to have multiple values in a single line, invalid values found 'PYTHONPATH RAGWEED_CONF RAGWEED_STAGES'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
b5d3e27a282244b6b46ff1e636acc4f683e9f777)
update output format of admin bucket check api
Signed-off-by: Cory Snyder <csnyder@1111systems.com>
(cherry picked from commit
8aac16be1436af80a7c8c62b0332dec5b6ebb9d7)
config: read_file() instead of deprecated readfp()
ragweed/framework.py:385: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead.
cfg.readfp(f)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
3b74aaef228abacc5ce880e4129d757eabd2de8a)
add tox.ini and update README
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
7a3645f271c5bff57a66e7980d59fd5b749eec6b)
remove bootstrap script
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
29d85b9de7179700f641760c897f0d36c11d947a)
ragweed: switch to pytest framework
due to deprecation of nose
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit
8fedfb579fe2bca916922e9b33517ca3c7e1b824)
on ubuntu 20.04 the `python3-distro-info` package causes error
`Invalid version: '0.23ubuntu1' (package: distro-info)`
during bootstrap executing the command:
`./virtualenv/bin/python setup.py develop`
ref:
https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/
1991606/comments/18
Fixes: https://tracker.ceph.com/issues/58549
Signed-off-by: mkogan <mkogan@ibm.com>
(cherry picked from commit
75f5a77dc667c6b0fc8964c85f2ee3344076783b)
rgw: ragweed: fix virtualenv error unrecognized argument --distribute
Fixes: https://tracker.ceph.com/issues/50553
Signed-off-by: Mark Kogan <mkogan@redhat.com>
(cherry picked from commit
f514013dc1b03d3c4a8b4293ab5eb4b08fd6dee2)