-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
[3.0.0a2] connexion example not working #1670
Comments
i just saw that #1648 was merged just two weeks ago, and i would need that. so even more a reason to use 3.0.0 🥳 |
Hi @drummerwolli,
Can you try:
|
i'm using poetry, so cant use pip. but i found now finally the flag for poetry to install pre-packages: but now i get a different import error:
(adjusted the original issue text above) |
There's also an extra for |
yeah, also just saw that. i added now the uvicorn package: but now i get:
|
|
ah, i see now the server key argument in the |
Description
I'm setting up a new connexion project, and i want to directly use version 3.0.0 to not have later a costly migration. so for now, its okay to use a non-production version. But I get an import error. so i checked the most basic example, but i still get the same error.
Expected behaviour
the example project just works with the latest 3.0.0 alpha version.
Actual behaviour
I get an import error:
Steps to reproduce
git clone git@github.com:hjacobs/connexion-example.git
cd connexion-example
rm Pipfile && rm Pipfile.lock
(we gonna usepoetry
)poetry init
):poetry add connexion --allow-prereleases -E flask -E uvicorn
poetry run python3 app.py
Additional info:
I'm using poetry version 1.4.0.
Output of the commands:
poetry run python3 --version : Python 3.10.6
The text was updated successfully, but these errors were encountered: