ccage-simp edited a comment 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'
   ```
   
   OK, got it working by referencing constraints file from path 
`./docker-context-files/constraints-2.7.txt` which is accessible inside docker.
   
   - additional compatibility updates:
   natsort==6.2.1
   pandas-gbq==0.10.0
   Pygments==2.5.2
   SQLAlchemy-JSONField==0.8.0
   


----------------------------------------------------------------
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]


Reply via email to