diff options
author | AlanCoding <arominge@redhat.com> | 2018-03-01 17:17:46 +0100 |
---|---|---|
committer | AlanCoding <arominge@redhat.com> | 2018-03-06 22:04:01 +0100 |
commit | 556e6c4a117597fc36fdab53b32a4e29ed494a34 (patch) | |
tree | 193126024022a41483b95db1d61b578eec768ba7 /requirements/README.md | |
parent | Constrain requests (diff) | |
download | awx-556e6c4a117597fc36fdab53b32a4e29ed494a34.tar.xz awx-556e6c4a117597fc36fdab53b32a4e29ed494a34.zip |
Dependency Updates
Upgrades of minor dependency upgrades
Inventory scripts were upgraded in separate commit
Major exclusions from this update
- celery was already downgraded for other reasons
- Django / DRF major update already done, minor bumps here
- asgi-amqp has fixes coming independently, not touched
- TACACS plus added features not needed
Removals of note
- remove shade from AWX requirements
- remove kombu from Ansible requirements
Other notes
Add note about pinning setuptools and pip,
done but not mentioned previously
Stop pinning gevent-websocket and twisted
upgrade Azure to Ansible core requirements
more detailed notes
https://gist.github.com/AlanCoding/9442a512ab6977940bc7b5b346d4f70b
upgrade version of Django for Exception
Diffstat (limited to 'requirements/README.md')
-rw-r--r-- | requirements/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/requirements/README.md b/requirements/README.md index a55eb998e2..e93b1a6162 100644 --- a/requirements/README.md +++ b/requirements/README.md @@ -1,6 +1,8 @@ The requirements.txt and requirements_ansible.txt files are generated from requirements.in and requirements_ansible.in, respectively, using `pip-tools` `pip-compile`. The following commands should do this if ran inside the tower_tools container. -NOTE: before running `pip-compile`, please copy-paste contents in `requirements/requirements_git.txt` to the top of `requirements/requirements.in` and prepend each copied line with `-e `. Later after `requirements.txt` is generated, don't forget to remove all `git+https://github.com...`-like lines from both `requirements.txt` and `requirements.in` +NOTE: before running `pip-compile`, please copy-paste contents in `requirements/requirements_git.txt` to the top of `requirements/requirements.in` and prepend each copied line with `-e `. Later after `requirements.txt` is generated, don't forget to remove all `git+https://github.com...`-like lines from both `requirements.txt` and `requirements.in` (repeat for `requirements_ansible_git.txt` and `requirements_ansible.in`) + +At the end of `requirements/requirements.in`, pip and setuptools need to have their versions pinned. ``` virtualenv /buildit @@ -20,6 +22,4 @@ pip-compile requirements/requirements_ansible.in > requirements/requirements_ans * can't use `pip install --no-deps` because other deps WILL be sucked in * all dependencies are NOT captured in our `.txt` files. This means you can't rely on the `.txt` when gathering licenses. -* Packages `gevent-websocket` and `twisted` are put in `requirements.in` *not* because they are primary dependency of Tower, but because their versions needs to be freezed as dependencies of django channel. Please be mindful when doing dependency updates. - * Package `docutils`, as an upstream of `boto3`, is commented out in both `requirements.txt` and `requirements_ansible.txt` because the official package has a bug that causes RPM build failure. [Here](https://sourceforge.net/p/docutils/bugs/321/) is the bug report. Please do not uncomment it before the bug fix lands. For now we are using [a monkey-patch version of `docutils`](https://github.com/ansible/docutils.git) that comes with the bug fix. It's included in `requirements_git.txt` and `requirements_ansible_git.txt`. |