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

Bump: New minimum requirement for ansible-core 2.16 #4871

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

carlbuchmann
Copy link
Member

@carlbuchmann carlbuchmann commented Jan 10, 2025

Change Summary

New minimum requirement for ansible-core 2.16

Component(s) name

Python requirements

Proposed changes

  • requirements
    • pyproject.toml
    • meta/runtime.yml
    • requirements-dev.txt
  • pre-commit.yaml configuration with new min and max values
  • GitHub worflows/ pull-request-management.yml to test new minimum version
  • 5.2.0 release notes

How to test

CI Should pass!

@carlbuchmann carlbuchmann requested review from a team as code owners January 10, 2025 18:13
@github-actions github-actions bot added type: documentation Improvements or additions to documentation type: code quality CI and development toolset labels Jan 10, 2025
Copy link

Review docs on Read the Docs

To test this pull request:

# Create virtual environment for this testing below the current directory
python -m venv test-avd-pr-4871
# Activate the virtual environment
source test-avd-pr-4871/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/carlbuchmann/[email protected]#subdirectory=python-avd" --force
# Point Ansible collections path to the Python virtual environment
export ANSIBLE_COLLECTIONS_PATH=$VIRTUAL_ENV/ansible_collections
# Install Ansible collection
ansible-galaxy collection install git+https://github.com/carlbuchmann/avd.git#/ansible_collections/arista/avd/,bump-ansible-core-2.16-2.18 --force
# Optional: Install AVD examples
cd test-avd-pr-4871
ansible-playbook arista.avd.install_examples

@alexeygorbunov
Copy link
Contributor

This file is not exposed as a part of the documentation but probably needs a bump as well?

https://github.com/carlbuchmann/avd/blob/a47cb5795dad933dd9d96397df74636565155b2a/ansible_collections/arista/avd/README.md?plain=1#L25

pip_requirements: 'tmp-requirements-minimum.txt'
- avd_scenario: 'eos_designs_unit_tests'
ansible_version: 'ansible-core>=2.15.0,<2.16.0 --upgrade'
ansible_version: 'ansible-core>=2.16.0,<2.17.0 --upgrade'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need this one, since it would just test 2.16.. We can remove this variant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: code quality CI and development toolset type: documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants