Skip to content

Cleanup requirements.txt and remove Python 2 support for unit tests#832

Open
ChihweiLHBird wants to merge 3 commits into
Juniper:masterfrom
ChihweiLHBird:zhiwei/clean-up-unit-test-requirements
Open

Cleanup requirements.txt and remove Python 2 support for unit tests#832
ChihweiLHBird wants to merge 3 commits into
Juniper:masterfrom
ChihweiLHBird:zhiwei/clean-up-unit-test-requirements

Conversation

@ChihweiLHBird

@ChihweiLHBird ChihweiLHBird commented Jun 29, 2026

Copy link
Copy Markdown

requirements.txt is no longer relevant (discovered this while doing a Internet scan looking for usage of retired Linode API v3, linode-python package), and Python 2 has been EOL for many years.
Similar to what has been done in other collections:
ansible-collections/cisco.ios@be921c6
ansible-collections/cisco.ios@9e752fa

The tests/unit/requirements.txt contained dependencies for many other
collections (boto3, f5-sdk, linode-python, etc.) and was not used by any
junipernetworks.junos unit test. The file is a stale artifact from a
shared Ansible network collection requirements template.

Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
@ChihweiLHBird ChihweiLHBird force-pushed the zhiwei/clean-up-unit-test-requirements branch from fd6776b to a3b1ea2 Compare June 29, 2026 09:48
@ChihweiLHBird ChihweiLHBird changed the title Cleanup requirements.txt and remove Python 2 support Cleanup requirements.txt and remove Python 2 support for unit tests Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant