ccage-simp commented on issue #14211:
URL: https://github.com/apache/airflow/issues/14211#issuecomment-778508323
Ah, embarrassed to say I realized that I didn't have latest of master branch
so did not have the constraint option yet. Thank you!
Now it starts OK except for strange error about date option:
```
*************** PRODUCTION IMAGE *************************
Python version: 2.7
Additional extras : aws, datadog, hdfs, jdbc, ssh, vertica
Installs version of Airflow: 1.10.11 and skip mounting sources
Constraints location: ./constraints-2.7.txt
Build image
date: illegal option -- -
usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
Sending build context to Docker daemon 35.99MB
...
```
but ends with :```
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020.
Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will
drop support for Python 2.7 in January 2021. More details about Python 2
support in pip can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip
21.0 will remove support for this functionality.
ERROR: Could not open requirements file: [Errno 2] No such file or
directory: './constraints-2.7.txt'
```
However, I know `constraints-2.7.txt` file is in same directory because
iterm is recognizing the path as valid.
Strange...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]