HI, I'm new in linux, django and ansible and I'm playing around with django and ansible and found an old playbook entry.
name: djangoInst | Install requirements pip: requirements=/home/abc/req/requirements.txt extra_args="--allow-external mysql-connector-python --allow-unverified mysql-connector-python" If I run this playbook against a new debian installation I get the error: Collecting mysql-connector-python==1.0.12 (from -r /home/abc/req/ requirements.txt (line 13)) :stderr: DEPRECATION: --allow-external has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect. DEPRECATION: --allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect. Could not find a version that satisfies the requirement mysql-connector- python==1.0.12 (from -r /home/abc/req/requirements.txt (line 13)) (from versions: ) No matching distribution found for mysql-connector-python==1.0.12 (from -r / home/abc/req/requirements.txt (line 13)) I know that the playbook tries to install a very old environment: Django 1.5.1 In the new debian installation I have the PIP has a version which no longer supports --allow-external and --allow-unverified. But I get the same error, that it can't find the mysql-connector-python, also if I exchange the requirements.txt entry for mysql-connector-python==1.0.12 with the direct path to download the tar.gz. Do you have any hints? Is there something like an exchange for the --allow-external and --allow-unverified ? Thanks Marcel -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/62571872-2094-47d9-8369-904606814ba2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
