Trying to get some basic snap bits in place for apache-airflow it looks like I need to set an environment variable at pip install
time.
Here are my initial airflow snap bits https://github.com/omnivector-solutions/snap-airflow, and here is the error Iβm getting that seems to be forcing me to set an environment variable prior to pip install
.
Fetching and installing setuptools...
Collecting setuptools
Downloading https://files.pythonhosted.org/packages/37/06/754589caf971b0d2d48f151c2586f62902d93dc908e2fd9b9b9f6aa3c9dd/setuptools-40.6.3-py2.py3-none-any.whl (573kB)
100% |ββββββββββββββββββββββββββββββββ| 573kB 13.4MB/s
Saved ./parts/apache-airflow/python-packages/setuptools-40.6.3-py2.py3-none-any.whl
Successfully downloaded setuptools
Looking in links: /root/build_airflow/parts/apache-airflow/python-packages
Collecting setuptools
Installing collected packages: setuptools
Successfully installed setuptools-40.6.3
Collecting apache-airflow[all]
Downloading https://files.pythonhosted.org/packages/02/4c/44af9c88308fc07322c42a19a8b8a692a2ffae9f9100ab46339981621b1e/apache-airflow-1.10.1.tar.gz (4.3MB)
100% |ββββββββββββββββββββββββββββββββ| 4.3MB 5.8MB/s
Saved ./parts/apache-airflow/python-packages/apache-airflow-1.10.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-download-f0qrnlpp/apache-airflow/setup.py", line 394, in <module>
do_setup()
File "/tmp/pip-download-f0qrnlpp/apache-airflow/setup.py", line 259, in do_setup
verify_gpl_dependency()
File "/tmp/pip-download-f0qrnlpp/apache-airflow/setup.py", line 49, in verify_gpl_dependency
raise RuntimeError("By default one of Airflow's dependencies installs a GPL "
RuntimeError: By default one of Airflow's dependencies installs a GPL dependency (unidecode). To avoid this dependency set SLUGIFY_USES_TEXT_UNIDECODE=yes in your environment when you install or upgrade Airflow. To force installing the GPL version set AIRFLOW_GPL_UNIDECODE
Any insight on how this might be accomplished using the python plugin would be very helpful.
Thanks!