mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Remove requirements_setup_requires and related handling.
Adjust requirements to keep docutils in awx requirements; these are downstream packaging adjustments. Override azure wheel dependency to a version that can install bcrypt properly.
This commit is contained in:
parent
6e2bd828a1
commit
4c8a4013cc
3
Makefile
3
Makefile
@ -167,8 +167,7 @@ virtualenv_awx:
|
||||
fi; \
|
||||
if [ ! -d "$(VENV_BASE)/awx" ]; then \
|
||||
virtualenv -p $(PYTHON) $(VENV_BASE)/awx; \
|
||||
$(VENV_BASE)/awx/bin/pip install $(PIP_OPTIONS) $(VENV_BOOTSTRAP) && \
|
||||
$(VENV_BASE)/awx/bin/pip install $(PIP_OPTIONS) flit; \
|
||||
$(VENV_BASE)/awx/bin/pip install $(PIP_OPTIONS) $(VENV_BOOTSTRAP); \
|
||||
fi; \
|
||||
fi
|
||||
|
||||
|
||||
@ -38,8 +38,6 @@ 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`
|
||||
|
||||
|
||||
## Licenses and Source Files
|
||||
|
||||
@ -129,6 +127,11 @@ This breaks a very large amount of AWX code that assumes these fields
|
||||
are returned as dicts. Upgrading this library will require a refactor
|
||||
to accomidate this change.
|
||||
|
||||
### wheel
|
||||
|
||||
azure-cli-core requires a version of wheel that is incompatible with
|
||||
certain packages building with later versions of pip, so we override it.
|
||||
|
||||
### pip and setuptools
|
||||
|
||||
The offline installer needs to have functionality confirmed before upgrading these.
|
||||
|
||||
@ -37,7 +37,7 @@ django-taggit==1.2.0
|
||||
django==2.2.8
|
||||
djangorestframework-yaml==1.0.3
|
||||
djangorestframework==3.11.0
|
||||
|
||||
docutils==0.15.2 # via python-daemon
|
||||
future==0.16.0 # via django-radius
|
||||
gitdb2==2.0.6 # via gitpython
|
||||
gitpython==3.0.5
|
||||
|
||||
@ -111,7 +111,7 @@ stevedore==1.31.0 # via keystoneauth1
|
||||
tabulate==0.8.2 # via azure-cli-core, knack
|
||||
typing==3.7.4.1; python_version < "3" # via msrest
|
||||
urllib3==1.25.7 # via botocore, requests
|
||||
wheel==0.30.0 # via azure-cli-core
|
||||
wheel==0.33.6 # via azure-cli-core (overriden, see upgrade blockers)
|
||||
xmltodict==0.12.0 # via pywinrm
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
|
||||
@ -1,20 +0,0 @@
|
||||
pbr>=1.8
|
||||
setuptools_scm>=3.1.0
|
||||
setuptools==41.6.0
|
||||
vcversioner>=2.16.0.0
|
||||
pytest-runner
|
||||
isort
|
||||
m2r
|
||||
cffi>=1.1
|
||||
wheel>=0.33.6,<42.0.0
|
||||
backports.functools_lru_cache
|
||||
more-itertools==5.0.0
|
||||
poetry==0.12.17
|
||||
functools32<4.0.0,>=3.2.3; python_version >= "2.7" and python_version < "2.8"
|
||||
flit==2.2.0; python_version >= "3.5"
|
||||
zipp==0.6.0 # indirect dependency, higher versions will require setuptools>=42
|
||||
twine; python_version >= "3.6"
|
||||
incremental>=16.10.1; python_version >= "3.6"
|
||||
lxml>=3.0; python_version >= "3.6"
|
||||
pkgconfig; python_version >= "3.6"
|
||||
shellingham==1.3.1
|
||||
@ -77,7 +77,8 @@ main() {
|
||||
generate_requirements_v3
|
||||
generate_requirements_v2
|
||||
|
||||
sed -i 's/^docutils.*//g' requirements.txt
|
||||
sed -i 's/^wheel==0.30.0.*/wheel==0.33.6 # via azure-cli-core (overriden, see upgrade blockers)/g' requirements_ansible.txt
|
||||
sed -i 's/^wheel==0.30.0.*/wheel==0.33.6 # via azure-cli-core (overriden, see upgrade blockers)/g' requirements_ansible_py3.txt
|
||||
generate_patch | patch -p4 requirements_ansible_py3.txt
|
||||
|
||||
cp -vf requirements_ansible_py3.txt "${requirements_ansible}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user