Closed toabctl closed 4 years ago
For testing the "next" Python version it would be nice to have a Vagrant box. For me, the ideal would be an openSUSE 15.2 Vagrant box that has Python 3.8 instead of 3.6.10.
@toabctl Do you know if such a Vagrant box is built by the OBS?
I changed the title to more accurately describe what is broken.
(I tested ceph-salt itself (installed from source) on Tumbleweed with Python 3.8 and it worked flawlessly.)
I can reproduce this bug. Here's the detailed reproducer:
sesdev create octopus --ceph-salt-repo https://github.com/ceph/ceph-salt --ceph-salt-branch master --os tumbleweed --single-node --qa-test octopus
sesdev ssh octopus
zypper in -n python3-tox
cd ceph-salt
tox -e lint
It also happens with salt-3000. The salt-3000 reproducer is the same as above, except for step 2:
sesdev create octopus --ceph-salt-repo https://github.com/ricardoasmarques/ceph-salt --ceph-salt-branch salt-3000 --repo http://download.opensuse.org/repositories/systemsmanagement:/saltstack:/products:/next:/testing/openSUSE_Tumbleweed/ --no-repo-priority --os tumbleweed --single-node --qa-test octopus
And here is a minimal reproducer:
sesdev create octopus --ceph-salt-repo https://github.com/ceph/ceph-salt --ceph-salt-branch master --stop-before-ceph-salt-config --os tumbleweed --single-node octopus
sesdev ssh octopus
zypper in -n python3-tox
cd ceph-salt
tox -e lint
@toabctl Do you know if such a Vagrant box is built by the OBS?
No idea. I guess the Tumbleweed Vagrantbox has python3.8 now.
As proven by #338 this statement ("ceph-salt "tox -e lint" broken for python 3.8") no longer holds true.
When I try to run
tox -elint
on openSUSE Tumbleweed with python 3.8, I get:So salt itself needs to be fixed. See also https://github.com/saltstack/salt/issues/55310 and https://github.com/saltstack/salt/issues/55835