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

Dependencies issue #820

Closed
ALeksandr-Fuze opened this issue Jan 11, 2023 · 2 comments
Closed

Dependencies issue #820

ALeksandr-Fuze opened this issue Jan 11, 2023 · 2 comments
Labels
bug Describes a bug in the system.

Comments

@ALeksandr-Fuze
Copy link

Describe the bug
Dependencies issue between FastAPI and gino[gino-starlette]

To Reproduce
poetry add FastAPI
poetry add gino[pg,starlette]
Expected result

Successful installing

Actual result

Because no versions of gino match >1.0.1,<2.0.0
 and gino (1.0.1) depends on gino-starlette (>=0.1.1,<0.2.0), gino (>=1.0.1,<2.0.0) requires gino-starlette (>=0.1.1,<0.2.0).
Thus, gino (>=1.0.1,<2.0.0) requires starlette (>=0.13.0,<0.15.0 || >=0.16,<0.18 || >=0.19,<0.20).
And because fastapi (0.89.1) depends on starlette (0.22.0)
 and no versions of fastapi match >0.89.1,<0.90.0, gino (>=1.0.1,<2.0.0) is incompatible with fastapi (>=0.89.1,<0.90.0).
So, because auth service based on jwt tecnology depends on both fastapi (^0.89.1) and gino (^1.0.1), version solving failed.

Environment (please complete the following information):

  • GINO: [e.g. 1.0.1]
  • python = "^3.11"
  • fastapi = "^0.89.1"
@ALeksandr-Fuze ALeksandr-Fuze added the bug Describes a bug in the system. label Jan 11, 2023
@Pentusha
Copy link

Please take a look on this issue and related PR python-gino/gino-starlette#37

@ALeksandr-Fuze
Copy link
Author

Sounds like yes

@wwwjfy wwwjfy closed this as completed Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Describes a bug in the system.
Projects
None yet
Development

No branches or pull requests

3 participants