From 2b7247f842d8eeb3a8f1cdc184380e42abb1005d Mon Sep 17 00:00:00 2001 From: Kenichi Omichi Date: Thu, 18 Nov 2021 23:48:52 -0800 Subject: [PATCH] [2.17] Fix-CI: python was upgraded in CI to 3.10 (#8210) * Fix-CI: python was upgraded in CI to 3.10 and pathlib is now included in python base making this dependency break the CI (#8153) * Upgrade ruamel.yaml.clib to work with Python 3.10 (#8034) ruamel.yaml.clib did not build with the upcoming Python 3.10. Cf. https://sourceforge.net/p/ruamel-yaml-clib/tickets/5/ ruamel.yaml.clib==0.2.4 fixes the issue. It does not work with Python 3.7 (cf https://sourceforge.net/p/ruamel-yaml-clib/tickets/6/) but currently Kubespray requires Python >= 3.9. Co-authored-by: Cristian Calin <6627509+cristicalin@users.noreply.github.com> Co-authored-by: Olivier Lemasle --- requirements.txt | 2 +- tests/scripts/md-table/requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 09669bdb8..ab7f293f1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,5 +6,5 @@ netaddr==0.7.19 pbr==5.4.4 jmespath==0.9.5 ruamel.yaml==0.16.10 -ruamel.yaml.clib==0.2.2 +ruamel.yaml.clib==0.2.4 MarkupSafe==1.1.1 diff --git a/tests/scripts/md-table/requirements.txt b/tests/scripts/md-table/requirements.txt index 754da38d8..ecf5aac53 100644 --- a/tests/scripts/md-table/requirements.txt +++ b/tests/scripts/md-table/requirements.txt @@ -1,4 +1,4 @@ pyaml jinja2 -pathlib -pydblite \ No newline at end of file +pathlib ; python_version < '3.10' +pydblite