Browse Source

[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 <olivier.lemasle@apalia.net>
pull/8181/head
Kenichi Omichi 3 years ago
committed by GitHub
parent
commit
2b7247f842
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. 2
      requirements.txt
  2. 4
      tests/scripts/md-table/requirements.txt

2
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

4
tests/scripts/md-table/requirements.txt

@ -1,4 +1,4 @@
pyaml
jinja2
pathlib
pydblite
pathlib ; python_version < '3.10'
pydblite
Loading…
Cancel
Save