mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
9036d8edd0
[proxmox_template] Fix error while uploading big ISO to Proxmox VE cluster (#6757)
* [proxmox_template] Fix error while uploading big ISO to Proxmox VE cluster
* Fix pep8 test
* Add changelog fragment
* Add notes about requests_toolbelt
* Check versions and file size
* Fix typo in notes
* Add unit test. Move try inside of each function.
* Fix sanity tests
* Add proxmoxer in requirements file
* Update integration tests
* Add proxmoxer into constraints.txt
* Address review comments
* Don't run tests on 2.6 python
* Disable Python 2.6 tests for other proxmox modules
(cherry picked from commit 2d6e369d81
)
Co-authored-by: Sergei Antipov <greendayonfire@gmail.com>
50 lines
1.6 KiB
Text
50 lines
1.6 KiB
Text
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
unittest2 ; python_version < '2.7'
|
|
importlib ; python_version < '2.7'
|
|
|
|
# requirement for the memcached cache plugin
|
|
python-memcached
|
|
|
|
# requirement for the redis cache plugin
|
|
redis
|
|
|
|
# requirement for the linode module
|
|
linode-python # APIv3
|
|
linode_api4 ; python_version > '2.6' # APIv4
|
|
|
|
# requirement for the gitlab and github modules
|
|
python-gitlab
|
|
PyGithub
|
|
httmock
|
|
|
|
# requirement for maven_artifact module
|
|
lxml < 4.3.0 ; python_version < '2.7' # lxml 4.3.0 and later require python 2.7 or later
|
|
lxml ; python_version >= '2.7'
|
|
semantic_version
|
|
|
|
# requirement for datadog_downtime module
|
|
datadog-api-client >= 1.0.0b3 ; python_version >= '3.6'
|
|
|
|
# requirement for dnsimple module
|
|
dnsimple >= 2 ; python_version >= '3.6'
|
|
dataclasses ; python_version == '3.6'
|
|
|
|
# requirement for the opentelemetry callback plugin
|
|
# WARNING: these libraries rely on Protobuf for Python, which regularly stops installing.
|
|
# That's why they are disabled for now.
|
|
# opentelemetry-api ; python_version >= '3.6' and python_version < '3.10'
|
|
# opentelemetry-exporter-otlp ; python_version >= '3.6' and python_version < '3.10'
|
|
# opentelemetry-sdk ; python_version >= '3.6' and python_version < '3.10'
|
|
|
|
# requirement for the elastic callback plugin
|
|
elastic-apm ; python_version >= '3.6'
|
|
|
|
# requirements for scaleway modules
|
|
passlib[argon2]
|
|
|
|
# requirements for the proxmox modules
|
|
proxmoxer < 2.0.0 ; python_version >= '2.7' and python_version <= '3.6'
|
|
proxmoxer ; python_version > '3.6'
|