You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/05 18:35:37 UTC

[GitHub] [airflow] potiuk commented on issue #19428: python_requires constraint set too strict, 3.6 only.

potiuk commented on issue #19428:
URL: https://github.com/apache/airflow/issues/19428#issuecomment-962126328


   This statement is absolutely correct: "- apache-airflow requires Python ~=3.6, so it will not be satisfied for Python >=4.0" . Presumably python 4.0 will contain some breaking changes  (no-one knows for sure as it is not even planned), yet Python 3.6+ is really supposed to be backwards compatible, so barring some dependencies (that prevent us from 3.10 support) it also supports all 3.6+ versions. 
   
   The specification ~3.6 is correctly describing this statement (it means "support any 3.x version above 3.6". I think the message from Poetry is quite wrong. You should silence it, or even better - the project that has >= 3.7 should be corrected, because >= 3.7 is pretty wrong and it SHOULD be changed to ~3.7. 
   
   No-one knows what is the scope of the Python 4.0 except tha it will be a breaking release when it comes, so stating that project will work for it is for sure wrong.


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

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org