mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix CI due to pycdlib dropping Python 2 support. (#4865)
This commit is contained in:
parent
97c72f88b7
commit
297de3011c
3 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
- setup_pkg_mgr
|
- setup_pkg_mgr
|
||||||
- setup_remote_tmp_dir
|
- setup_remote_tmp_dir
|
||||||
|
- setup_remote_constraints
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
pip:
|
pip:
|
||||||
name: pycdlib
|
name: pycdlib
|
||||||
# state: latest
|
# state: latest
|
||||||
|
extra_args: "-c {{ remote_constraints }}"
|
||||||
register: install_pycdlib
|
register: install_pycdlib
|
||||||
- debug: var=install_pycdlib
|
- debug: var=install_pycdlib
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,7 @@ cffi >= 1.14.2, != 1.14.3 # Yanked version which older versions of pip will stil
|
||||||
redis == 2.10.6 ; python_version < '2.7'
|
redis == 2.10.6 ; python_version < '2.7'
|
||||||
redis < 4.0.0 ; python_version >= '2.7' and python_version < '3.6'
|
redis < 4.0.0 ; python_version >= '2.7' and python_version < '3.6'
|
||||||
redis ; python_version >= '3.6'
|
redis ; python_version >= '3.6'
|
||||||
|
pycdlib < 1.13.0 ; python_version < '3' # 1.13.0 does not work with Python 2, while not declaring that
|
||||||
|
|
||||||
# freeze pylint and its requirements for consistent test results
|
# freeze pylint and its requirements for consistent test results
|
||||||
astroid == 2.2.5
|
astroid == 2.2.5
|
||||||
|
|
Loading…
Reference in a new issue