-
Notifications
You must be signed in to change notification settings - Fork 230
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: Minimum Python version 3.10 #4276
Bump: Minimum Python version 3.10 #4276
Conversation
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-4276
# Activate the virtual environment
source test-avd-pr-4276/bin/activate
# Install all requirements including PyAVD
pip install "pyavd[ansible] @ git+https://github.com/ClausHolbechArista/avd.git@bump/drop-python3.9#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/ClausHolbechArista/avd.git#/ansible_collections/arista/avd/,bump/drop-python3.9 --force
# Optional: Install AVD examples
cd test-avd-pr-4276
ansible-playbook arista.avd.install_examples |
ansible_collections/arista/avd/plugins/action/verify_requirements.py
Outdated
Show resolved
Hide resolved
…nts.py Co-authored-by: Guillaume Mulocher <[email protected]>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM tested with Python 3.9 and correct errors are raised
Bump: Minimum Python version 3.10 incl update of docs and removal of special 3.9 workarounds.