flyte icon indicating copy to clipboard operation
flyte copied to clipboard

[BUG] Flytekit dependencies too restrictive

Open Sennuno opened this issue 2 years ago • 9 comments

Describe the bug

Flytekit dependencies are too restrictive. For example:

flytekit~=1.9.1
awscli

wields conflict errors. Whylogs is also unusable:

flytekit~=1.9.1
flytekitplugins-whylogs~=1.9.1
whylogs[s3,mlflow,whylabs]

Expected behavior

All packages are installed with no conflict errors.

Additional context to reproduce

No response

Screenshots

No response

Are you sure this issue hasn't been raised already?

  • [X] Yes

Have you read the Code of Conduct?

  • [X] Yes

Sennuno avatar Sep 29 '23 10:09 Sennuno

Thank you for opening your first issue here! 🛠

welcome[bot] avatar Sep 29 '23 10:09 welcome[bot]

@Sennuno , can you describe which conflicts you're seeing? Also, can you add a few more details like which python which python version and platform?

eapolinario avatar Sep 29 '23 18:09 eapolinario

Hey @eapolinario , I was using the python:3.9-slim-buster Docker image with linux/amd64 platform. The conflicts I get on both these cases are on botocore:

For the AWSCLI case: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. aiobotocore 2.5.4 requires botocore<1.31.18,>=1.31.17, but you have botocore 1.31.57 which is incompatible. Successfully installed awscli-1.29.57 botocore-1.31.57 colorama-0.4.4 docutils-0.16 rsa-4.7.2 s3transfer-0.7.0

For the WHYLOGS case: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. aiobotocore 2.5.4 requires botocore<1.31.18,>=1.31.17, but you have botocore 1.31.57 which is incompatible. Successfully installed boto3-1.28.57 botocore-1.31.57 databricks-cli-0.17.8 entrypoints-0.4 mlflow-skinny-2.7.1 s3transfer-0.7.0 sqlparse-0.4.4 tabulate-0.9.0

Sennuno avatar Oct 02 '23 14:10 Sennuno

Any news on this? It's preventing us from using whylogs.

Sennuno avatar Oct 11 '23 10:10 Sennuno

Problem for me too pdm add flytekit boto3 basically fails. Any other "real" package manager (e.g. poetry, basically anything that's not pip) fails big time with flyte.

VerTiGoEtrex avatar Nov 18 '23 04:11 VerTiGoEtrex

Did you solve this error mine is just pdm add flytekit but I have issues with importing traceback from rich. I have tried changing versions it has failed

EricPeter avatar Mar 09 '24 16:03 EricPeter

I solved my problem by changing to poerty

EricPeter avatar Mar 11 '24 15:03 EricPeter

"Hello 👋, this issue has been inactive for over 90 days. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will close the issue if we detect no activity in the next 7 days. Thank you for your contribution and understanding! 🙏"

github-actions[bot] avatar May 17 '25 00:05 github-actions[bot]

This is still a bug
On Fri, May 16, 2025 at 8:10 PM, github-actions[bot] @.> wrote: github-actions[bot] left a comment (flyteorg/flyte#4097) "Hello 👋, this issue has been inactive for over 90 days. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will close the issue if we detect no activity in the next 7 days. Thank you for your contribution and understanding! 🙏" — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

VerTiGoEtrex avatar May 19 '25 12:05 VerTiGoEtrex

"Hello 👋, this issue has been inactive for over 90 days. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will close the issue if we detect no activity in the next 7 days. Thank you for your contribution and understanding! 🙏"

github-actions[bot] avatar Aug 18 '25 00:08 github-actions[bot]

stilllllllllllllllllllllllllllllllllllllllllllllllllllllll a bug

VerTiGoEtrex avatar Aug 18 '25 02:08 VerTiGoEtrex

"Hello 👋, this issue has been inactive for over 90 days. To help maintain a clean and focused backlog, we'll be marking this issue as stale and will close the issue if we detect no activity in the next 7 days. Thank you for your contribution and understanding! 🙏"

github-actions[bot] avatar Nov 17 '25 00:11 github-actions[bot]

Hello 👋, this issue has been inactive for over 90 days and hasn't received any updates since it was marked as stale. We'll be closing this issue for now, but if you believe this issue is still relevant, please feel free to reopen it. Thank you for your contribution and understanding! 🙏

github-actions[bot] avatar Nov 24 '25 00:11 github-actions[bot]