Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update use of python distro module re 1.7.0+ changes #2426 #2609

Conversation

phillxnet
Copy link
Member

Unpin direct dependency 'distro' and update pkg tests re

= 1.7.0 versions returning id 'opensuse' for Leap versions,
rather than the prior behaviour of 'opensuse-leap'.

Fixes #2426

Testing:

cd /opt/rockstor/src/rockstor
export DJANGO_SETTINGS_MODULE=settings
poetry run django-admin test -p test_pkg_mgmt.py -v 2
...
test_pkg_changelog (rockstor.system.tests.test_pkg_mgmt.SystemPackageTests) ... ok
test_pkg_latest_available (rockstor.system.tests.test_pkg_mgmt.SystemPackageTests) ... ok
test_pkg_update_check (rockstor.system.tests.test_pkg_mgmt.SystemPackageTests) ... ok
test_rpm_build_info (rockstor.system.tests.test_pkg_mgmt.SystemPackageTests) ... ok
test_zypper_repos_list (rockstor.system.tests.test_pkg_mgmt.SystemPackageTests) ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.011s

Unpin direct dependency 'distro' and update pkg tests re
>= 1.7.0 versions returning id 'opensuse' for Leap versions,
rather than the prior behaviour of 'opensuse-leap'.
@phillxnet phillxnet merged commit beecea6 into rockstor:testing Jul 11, 2023
@phillxnet phillxnet deleted the 2426_update_use_of_python_distro_module_re_1.7.0+_changes branch July 11, 2023 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant