-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AIRFLOW-2817] Force explicit choice on GPL dependency (#3660)
By default one of Apache Airflow's dependencies pulls in a GPL library. Airflow should not install (and upgrade) without an explicit choice. This is part of the Apache requirements as we cannot depend on Category X software.
- Loading branch information
1 parent
c26c564
commit c37fc0b
Showing
6 changed files
with
51 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
# INSTALL / BUILD instruction for Apache Airflow (incubating) | ||
# fetch the tarball and untar the source | ||
# INSTALL / BUILD instructions for Apache Airflow (incubating) | ||
|
||
# [required] fetch the tarball and untar the source | ||
# change into the directory that was untarred. | ||
|
||
# [optional] run Apache RAT (release audit tool) to validate license headers | ||
# RAT docs here: https://creadur.apache.org/rat/ | ||
# RAT docs here: https://creadur.apache.org/rat/. Requires Java and Apache Rat | ||
java -jar apache-rat.jar -E ./.rat-excludes -d . | ||
|
||
# [optional] by default one of Apache Airflow's dependencies pulls in a GPL | ||
# library. If this is a concern issue (also every upgrade): | ||
# export SLUGIFY_USES_TEXT_UNIDECODE=yes | ||
# [optional] Airflow pulls in quite a lot of dependencies in order | ||
# to connect to other services. You might want to test or run Airflow | ||
# from a virtual env to make sure those dependencies are separated | ||
# from your system wide versions | ||
python -m my_env | ||
source my_env/bin/activate | ||
|
||
# [required] by default one of Apache Airflow's dependencies pulls in a GPL | ||
# library. Airflow will not install (and upgrade) without an explicit choice. | ||
# | ||
# To make sure not to install the GPL dependency: | ||
# export SLUGIFY_USES_TEXT_UNIDECODE=yes | ||
# In case you do not mind: | ||
# export GPL_UNIDECODE=yes | ||
|
||
# [required] building and installing | ||
# by pip (preferred) | ||
pip install . | ||
|
||
# install the release | ||
# or directly | ||
python setup.py install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters