1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00
awx/requirements
Jeff Bradberry 2926d0198d Bump the version of Django to 2.2.4
This is a security release.
2019-08-01 10:41:36 -04:00
..
README.md Add pip-compile updater.sh script 2019-07-02 13:56:26 +02:00
requirements_ansible_git.txt unpin apache-libcloud now that a version is out without PyCrypto 2019-06-04 09:26:27 -04:00
requirements_ansible_uninstall.txt Don't use the rsa python lib. 2019-04-02 15:48:30 -04:00
requirements_ansible.in Remove pexpect, etc, from the ansible venv, that's now runner's problem. 2019-07-30 17:09:12 -04:00
requirements_ansible.txt Bump the version of Django to 2.2.4 2019-08-01 10:41:36 -04:00
requirements_dev.txt Fix Django 2.0 deprecation warnings 2019-04-22 14:17:14 -04:00
requirements_git.txt Replace the use of the 3rd party jsonbfield library 2019-07-12 15:11:21 -04:00
requirements_isolated.txt upgrade to the latest pexpect 2018-05-29 09:52:59 -04:00
requirements_setup_requires.txt Revert "Fix offline builds" 2019-06-19 16:02:43 -04:00
requirements_tower_uninstall.txt remove redbaron and update dependencies 2019-02-21 10:08:24 -05:00
requirements.in Bump the version of Django to 2.2.4 2019-08-01 10:41:36 -04:00
requirements.txt Bump the version of Django to 2.2.4 2019-08-01 10:41:36 -04:00
updater.sh Add some minimal sanity checking before running the updater script. 2019-07-11 12:12:22 -04:00

The requirements.txt and requirements_ansible.txt files are generated from requirements.in and requirements_ansible.in, respectively, using pip-tools pip-compile.

Run ./updater.sh command from inside ./requirements directory of the awx repository.

Make sure you have patch, awk, python3, python2, python3-venv, python2-virtualenv, pip2, pip3 installed.

This script will:

  • Update requirements.txt based on requirements.in
  • Update/generate requirements_ansible.txt based on requirements_ansible.in
    • including an automated patch that adds python_version < "3" for Python 2 backward compatibility
  • Removes the docutils dependency line from requirements.txt and requirements_ansible.txt

You can also upgrade (pip-compile --upgrade) the dependencies by running ./updater.sh upgrade.

Licenses and Source Files

If any library has a change to its license with the upgrade, then the license for that library inside of docs/licenses needs to be updated.

For libraries that have source distribution requirements (LGPL as an example), a tarball of the library is kept along with the license. To download the PyPI tarball, you can run this command:

pip download <pypi library name> -d docs/licenses/ --no-binary :all: --no-deps

Make sure to delete the old tarball if it is an upgrade.