question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python3.8 and botocore install issue for docutils

See original GitHub issue

Apache Airflow version: 1.10.12

Environment:

  • Cloud provider or hardware configuration: AWS
  • OS (e.g. from /etc/os-release): ubuntu 20.04 LTS

What happened:

Trying to install Airflow as recommanded with 3.8 constraint.

`pip install “apache-airflow[crypto,password,postgres,aws]”==1.10.12 --constraint “https://raw.githubusercontent.com/apache/airflow/constraints-1.10.12/constraints-3.8.txt”``

I got the error :

ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

botocore 1.17.43 requires docutils<0.16,>=0.10, but you'll have docutils 0.16 which is incompatible.

In the constraint file botocore is set to 1.17.41, but reading this issue it should be 1.18.0 (1.19.23 in fact) : https://github.com/boto/botocore/issues/2120

I recomend to upgrade the file to botocore to 1.19.23 & boto3 to 1.16.23.

What you expected to happen: Install should go flowless

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
potiukcommented, Apr 8, 2021

BTW. I would not recommend going to 1.10.12 as an intermediate step. There is no reason to do it I think. While there are a number of deprecated things in 1.10.14 (or rather 1.10.15 now), the deprecated functionality continue to work there. So I would strongly encourage you to upgrade straight to 1.10.15.

0reactions
github-actions[bot]commented, Jun 1, 2021

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

[GitHub] [airflow] potiuk commented on issue #12545: Python3.8 and ...
[GitHub] [airflow] potiuk commented on issue #12545: Python3.8 and botocore install issue for docutils. Posted to commits@airflow.apache.org.
Read more >
pip complains about dependency versions but installs them ...
When I hit pip install -r requirements.txt I see this error: botocore 1.15.11 has requirement docutils<0.16,>=0.10 ...
Read more >
[GitHub] [airflow] gfelot opened a new issue #12545: Python3.8 and ...
[GitHub] [airflow] gfelot opened a new issue #12545: Python3.8 and botocore install issue for docutils · GitBox Sun, 22 Nov 2020 03:53:53 -0800....
Read more >
Install Python AWS SDK Boto3 - DEV Community ‍ ‍
This post is about installing AWS SDK boto3 on Mac. ... attempt to upgrade the Python will give the error as " Error:...
Read more >
Install Python AWS SDK Boto3 - Medium
This post is about installing AWS SDK boto3 on Mac. ... attempt to upgrade the Python will give the error as “ Error:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found