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

Pin dependencies to avoid deps break CI #2575

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions common-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
ansible-core>=2.14.0
oauthlib>=3.2.0 # k8s lib that requires manual upgrade
kubernetes
kubernetes-validate
openstacksdk
jsonschema>=4.20.0

# Allows to unpin cryptography
pyOpenSSL>=22.1.0
ansible-core==2.15.13
oauthlib==3.2.2
kubernetes==31.0.0
kubernetes-validate==1.31.0
openstacksdk==4.1.0
jsonschema==4.23.0
pyOpenSSL==24.2.1
28 changes: 14 additions & 14 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,20 +71,20 @@ tags:
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
# range specifiers can be set and are separated by ','
dependencies:
'git+https://github.com/containers/ansible-podman-collections': 'main'
'git+https://github.com/ansible-collections/community.general': 'main'
'git+https://github.com/ansible-collections/ansible.posix': 'main'
'git+https://github.com/ansible-collections/ansible.utils': 'main'
'git+https://github.com/ansible-collections/community.libvirt': 'main'
'git+https://github.com/ansible-collections/community.crypto': 'main'
'git+https://github.com/ansible-collections/kubernetes.core': 'main'
'git+https://github.com/ansible-collections/ansible.netcommon': 'main'
'git+https://github.com/openstack/ansible-config_template': 'master'
'git+https://github.com/ansible-collections/junipernetworks.junos': 'main'
'git+https://github.com/ansible-collections/cisco.ios': 'main'
'git+https://github.com/ansible-collections/mellanox.onyx': 'master'
'git+https://github.com/openshift/community.okd': 'main'
'git+https://github.com/ovirt/ovirt-ansible-collection': 'master'
'git+https://github.com/containers/ansible-podman-collections': '1.16.2'
'git+https://github.com/ansible-collections/community.general': '10.0.1'
'git+https://github.com/ansible-collections/ansible.posix': '1.6.2'
'git+https://github.com/ansible-collections/ansible.utils': 'v5.1.2'
'git+https://github.com/ansible-collections/community.libvirt': '1.3.0'
'git+https://github.com/ansible-collections/community.crypto': '2.22.3'
'git+https://github.com/ansible-collections/kubernetes.core': '5.0.0'
'git+https://github.com/ansible-collections/ansible.netcommon': 'v7.1.0'
'git+https://github.com/openstack/ansible-config_template': '2.1.1'
'git+https://github.com/ansible-collections/junipernetworks.junos': 'v9.1.0'
'git+https://github.com/ansible-collections/cisco.ios': 'v9.0.3'
'git+https://github.com/ansible-collections/mellanox.onyx': 'master' # Unmaintained, no tags
'git+https://github.com/openshift/community.okd': '4.0.0'
'git+https://github.com/ovirt/ovirt-ansible-collection': '3.2.0-1'

# The URL of the originating SCM repository
repository: https://github.com/openstack-k8s-operators/ci-framework
Expand Down
13 changes: 13 additions & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,42 @@
collections:
- name: https://github.com/ansible-collections/ansible.posix
type: git
version: "1.6.2"
- name: https://github.com/ansible-collections/ansible.utils
type: git
version: "v5.1.2"
- name: https://github.com/ansible-collections/community.general
type: git
version: "10.0.1"
- name: https://github.com/ansible-collections/community.crypto
type: git
version: "2.22.3"
- name: https://github.com/containers/ansible-podman-collections
type: git
version: "1.16.2"
- name: https://github.com/ansible-collections/community.libvirt
type: git
version: "1.3.0"
- name: https://github.com/ansible-collections/kubernetes.core
type: git
version: "5.0.0"
- name: https://github.com/ansible-collections/ansible.netcommon
type: git
version: "v7.1.0"
- name: https://github.com/openstack/ansible-config_template
type: git
version: "2.1.1"
- name: https://github.com/ansible-collections/junipernetworks.junos
type: git
version: "v9.1.0"
- name: https://github.com/ansible-collections/cisco.ios
type: git
version: "v9.0.3"
- name: https://github.com/ansible-collections/mellanox.onyx
type: git
- name: https://github.com/openshift/community.okd
type: git
version: "4.0.0"
- name: https://github.com/ovirt/ovirt-ansible-collection
type: git
version: "3.2.0-1"
40 changes: 20 additions & 20 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
ansible-core>=2.14.0
ansible-core==2.15.13

# Molecule Deps
molecule>=5.1.0,<6.0.0
molecule-plugins[podman]
ruamel.yaml
ansi2html
dogpile.cache>=0.9.2
jmespath # required by devscripts role
netaddr # required by libvirt_manager role
dnspython # required by community.general.dig
molecule==5.1.0
molecule-plugins[podman]==23.5.0
ruamel.yaml==0.18.6
ansi2html==1.9.2
dogpile.cache==1.3.3
jmespath==1.0.1 # required by devscripts role
netaddr==1.3.0 # required by libvirt_manager role
dnspython==2.7.0 # required by community.general.dig

# UT Deps
pytest
pytest-cov
pytest-html
pytest-testinfra
pytest-xdist
mock
pytest==8.3.3
pytest-cov==6.0.0
pytest-html==4.1.1
pytest-testinfra==10.1.1
pytest-xdist==3.6.1
mock==5.1.0

# CI Deps
pre-commit # MIT
yamllint
pyspelling
mkdocs-pymdownx-material-extras
pre-commit==4.0.1
yamllint==1.35.1
pyspelling==2.10
mkdocs-pymdownx-material-extras==2.6

# Common requirements
ansi2txt
ansi2txt==0.2.0