Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Griptape Does Not Fully Support Python 3.13 #1353

Open
1 task done
collindutter opened this issue Nov 15, 2024 · 0 comments
Open
1 task done

Griptape Does Not Fully Support Python 3.13 #1353

collindutter opened this issue Nov 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@collindutter
Copy link
Member

Describe the bug
Python provides py-marqo as one of the extras which uses an outdated version of urllib3 which does not support python 3.13
To Reproduce

  1. asdf install python 3.13
  2. asdf local python 3.13
  3. poetry env use 3.13
  4. make install
    Installation stalls out installing urllib3@1.26.19 and then barfs.

Trying to set urllib3 manually:

poetry add urllib3
Creating virtualenv griptape in /Users/collindutter/Documents/griptape/griptape/.venv
Using version ^2.2.3 for urllib3

Updating dependencies
Resolving dependencies... (16.6s)

Because no versions of marqo match >3.7.0,<3.8.0 || >3.8.0,<3.8.1 || >3.8.1,<3.9.0 || >3.9.0,<3.9.1 || >3.9.1,<4.0.0
 and marqo (3.7.0) depends on urllib3 (>=1.26.0,<2.0.0), marqo (>=3.7.0,<3.8.0 || >3.8.0,<3.8.1 || >3.8.1,<3.9.0 || >3.9.0,<3.9.1 || >3.9.1,<4.0.0) requires urllib3 (>=1.26.0,<2.0.0).
And because marqo (3.8.0) depends on urllib3 (>=1.26.0,<2.0.0)
 and marqo (3.8.1) depends on urllib3 (>=1.26.0,<2.0.0), marqo (>=3.7.0,<3.9.0 || >3.9.0,<3.9.1 || >3.9.1,<4.0.0) requires urllib3 (>=1.26.0,<2.0.0).
And because marqo (3.9.0) depends on urllib3 (>=1.26.0,<2.0.0)
 and marqo (3.9.1) depends on urllib3 (>=1.26.0,<2.0.0), marqo (>=3.7.0,<4.0.0) requires urllib3 (>=1.26.0,<2.0.0).
So, because griptape depends on both marqo (^3.7.0) and urllib3 (^2.2.3), version solving failed.

Expected behavior
Installation should succeed without failure.

Screenshots
NA
Desktop (please complete the following information):

  • OS: MacOS
  • Version 0.34.3

Additional context
marqo-ai/py-marqo#263
https://github.com/griptape-ai/griptape/actions/runs/11860658779/job/33057084096?pr=1352

@collindutter collindutter added the bug Something isn't working label Nov 15, 2024
@collindutter collindutter self-assigned this Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant