You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jens-scheffler-bosch (via GitHub)" <gi...@apache.org> on 2023/05/17 21:15:16 UTC

[GitHub] [airflow] jens-scheffler-bosch opened a new issue, #31366: Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx

jens-scheffler-bosch opened a new issue, #31366:
URL: https://github.com/apache/airflow/issues/31366

   ### Apache Airflow version
   
   2.6.1
   
   ### What happened
   
   See also discussion in Slack: https://apache-airflow.slack.com/archives/CCQ7EGB1P/p1684331895556709
   
   We use Airflow based on docker image `apache/airflow:2.6.1-python3.8` and build custom PIP packages on-top. Of course following the setup guide we source the constraints 3.8.txt alongside to keep a consistent setup.
   
   With the upgrade to Airflow 2.6.1 we are trying to install `Sphinx` which is pinned to 5.3.0, this sources the dependency of `docutils`. Constraints pins this to 0.20. Install of `Sphinx` fails with a dependency error:
   ```
   ERROR: Cannot install sphinx==5.3.0 because these package versions have conflicting dependencies.
   
   The conflict is caused by:
       sphinx 5.3.0 depends on docutils<0.20 and >=0.14
       The user requested (constraint) docutils==0.20
   ```
   
   How 
   
   ### What you think should happen instead
   
   Pip install of `Sphinx` should be possible with the standard constraints.
   
   ### How to reproduce
   
   Run:
   * `docker run -it apache/airflow:2.6.1-python3.8 bash`
   * `pip install sphinx --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.6.1/constraints-3.8.txt"`
   
   ### Operating System
   
   Ubuntu 20.04
   
   ### Versions of Apache Airflow Providers
   
   Default provider packages
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   n/a
   
   ### Anything else
   
   Workaround: Patch docutils down to 0.19 manually in downloaded constraints-3.8.txt
   This was the version used in Airflow 2.6.0
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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

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


Re: [I] Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #31366:
URL: https://github.com/apache/airflow/issues/31366#issuecomment-2370358024

   This issue has been automatically marked as stale because it has been open for 365 days without any activity. There has been several Airflow releases since last activity on this issue. Kindly asking to recheck the report against latest Airflow version and let us know if the issue is reproducible. The issue will be closed in next 30 days if no further activity occurs from the issue author.


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


[GitHub] [airflow] potiuk commented on issue #31366: Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #31366:
URL: https://github.com/apache/airflow/issues/31366#issuecomment-1553761591

   This is if I try to manually update sphinx to latest. Seems like a number of projects have the same issue https://github.com/readthedocs/sphinx_rtd_theme/issues/1463


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


[GitHub] [airflow] potiuk commented on issue #31366: Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #31366:
URL: https://github.com/apache/airflow/issues/31366#issuecomment-1553762413

   PR seem to be in review (and green) to fix it. Opened 3 weeks ago https://github.com/readthedocs/sphinx_rtd_theme/pull/1464


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


[GitHub] [airflow] jens-scheffler-bosch commented on issue #31366: Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx

Posted by "jens-scheffler-bosch (via GitHub)" <gi...@apache.org>.
jens-scheffler-bosch commented on issue #31366:
URL: https://github.com/apache/airflow/issues/31366#issuecomment-1552931490

   Currently Sphinx is defined in constraints to 5.3.0, taking a look to changelogs the most recent version 7.0.1 states:
   
   Release 7.0.1 (released May 12, 2023)
   Dependencies
   * [#11411](https://github.com/sphinx-doc/sphinx/issues/11411): Support [Docutils 0.20](https://docutils.sourceforge.io/RELEASE-NOTES.html#release-0-20-2023-05-04). Patch by Adam Turner.
   
   Don't know how, just in `setup.py` I see `sphinx>=5.2.0` - is this the point to upgrade?


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


Re: [I] Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #31366: Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx
URL: https://github.com/apache/airflow/issues/31366


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


[GitHub] [airflow] potiuk commented on issue #31366: Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #31366:
URL: https://github.com/apache/airflow/issues/31366#issuecomment-1553759682

   The problem is sphinx-rtd-theme which is used to build our docs:
   
   ```
   sphinx-rtd-theme 1.2.0 has requirement docutils<0.19, but you have docutils 0.20.1.
   sphinx-rtd-theme 1.2.0 has requirement sphinx<7,>=1.6, but you have sphinx 7.0.1.
   ````
   
   


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


Re: [I] Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #31366:
URL: https://github.com/apache/airflow/issues/31366#issuecomment-2439657345

   This issue has been closed because it has not received response from the issue author.


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


[GitHub] [airflow] potiuk commented on issue #31366: Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #31366:
URL: https://github.com/apache/airflow/issues/31366#issuecomment-1676476687

   The fix to upgrade sphinx version to 7 is coming in #33156 


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


[GitHub] [airflow] jens-scheffler-bosch commented on issue #31366: Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx

Posted by "jens-scheffler-bosch (via GitHub)" <gi...@apache.org>.
jens-scheffler-bosch commented on issue #31366:
URL: https://github.com/apache/airflow/issues/31366#issuecomment-1627645299

   Just did a status check, fix in https://github.com/readthedocs/sphinx_rtd_theme/pull/1464 is still not merged :-(
   Airflow 2.6.2 though has changed the error message a bit to:
   
   ```
   The conflict is caused by:
       sphinx 5.3.0 depends on docutils<0.20 and >=0.14
       The user requested (constraint) docutils==0.20.1
   ```


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


[GitHub] [airflow] potiuk commented on issue #31366: Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #31366:
URL: https://github.com/apache/airflow/issues/31366#issuecomment-1552104789

   Thanks - I will ahve a look at that - that sounds very strange indeed.


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


[GitHub] [airflow] potiuk commented on issue #31366: Airflow 2.6.1 Constraints Inconsistency prevents custom install of Sphinx

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #31366:
URL: https://github.com/apache/airflow/issues/31366#issuecomment-1553762582

   Encouraging it is most welcome
   


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