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

build: fix connexion dependency version #182

Closed
alohamora opened this issue Nov 9, 2023 · 1 comment
Closed

build: fix connexion dependency version #182

alohamora opened this issue Nov 9, 2023 · 1 comment
Assignees

Comments

@alohamora
Copy link
Contributor

Connexion has released a new major version (3.0.0) which has lead to some breaking changes as shown below.
So we should restrict the connexion dependency to <3.0.0 in requirements.txt until foca is compatible with the latest version.

[2023-11-09 22:03:57,872: INFO    ] Log formatting configured. [foca.foca]
[2023-11-09 22:03:57,872: INFO    ] Configuration file 'config.yaml' parsed. [foca.foca]
Traceback (most recent call last):
  File "app.py", line 25, in <module>
    main()
  File "app.py", line 13, in main
    app = foca.create_app()
  File "/Users/adityaarora/opt/miniforge3/envs/cloud-registry/lib/python3.8/site-packages/foca/foca.py", line 94, in create_app
    cnx_app = create_connexion_app(self.conf)
  File "/Users/adityaarora/opt/miniforge3/envs/cloud-registry/lib/python3.8/site-packages/foca/factories/connexion_app.py", line 25, in create_connexion_app
    app = App(
  File "/Users/adityaarora/opt/miniforge3/envs/cloud-registry/lib/python3.8/site-packages/connexion/utils.py", line 284, in _delayed_error
    raise type(exc)(msg).with_traceback(exc.__traceback__)
  File "/Users/adityaarora/opt/miniforge3/envs/cloud-registry/lib/python3.8/site-packages/connexion/__init__.py", line 19, in <module>
    from connexion.apps.flask import FlaskApi, FlaskApp
  File "/Users/adityaarora/opt/miniforge3/envs/cloud-registry/lib/python3.8/site-packages/connexion/apps/flask.py", line 11, in <module>
    from a2wsgi import WSGIMiddleware
ModuleNotFoundError: Please install connexion using the 'flask' extra
@uniqueg
Copy link
Member

uniqueg commented Dec 2, 2023

Closed by #185

@uniqueg uniqueg closed this as completed Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants