Skip to content

Commit

Permalink
update pipeline for Python 3.9 support
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbuchmann committed Jul 18, 2024
1 parent 589e096 commit 2c8631a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pull-request-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python_version: ['3.10','3.11','3.12']
python_version: ['3.9','3.10','3.11','3.12']
steps:
- name: 'set environment variables'
run: |
Expand All @@ -142,8 +142,9 @@ jobs:
with:
python-version: ${{ matrix.python_version }}
- name: Install requirements
# forcing a specific version of ansible-lint to install requirement-dev in Python 3.9.
run: |
pip install -r ansible_collections/arista/cvp/requirements-dev.txt
pip install -r ansible_collections/arista/cvp/requirements-dev-3.9.txt
pip install -r ansible_collections/arista/cvp/requirements.txt
- name: 'Execute pytest validation'
run: |
Expand Down
4 changes: 2 additions & 2 deletions ansible_collections/arista/cvp/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ansible-core>=2.15.0,<2.17.0
# Temprequirements for python 3.9 (removed ansible-lint)
ansible-core>=2.15.0,<2.18.0
ansible-builder
ansible-lint>=24.7.0
galaxy-importer>=0.3.1
pycodestyle
flake8
Expand Down
1 change: 1 addition & 0 deletions development/requirements-dev-3.9.txt

0 comments on commit 2c8631a

Please sign in to comment.