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

Core installation throws ModuleNotFoundError: sqlalchemy #143

Closed
migduroli opened this issue Dec 15, 2023 · 0 comments
Closed

Core installation throws ModuleNotFoundError: sqlalchemy #143

migduroli opened this issue Dec 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@migduroli
Copy link
Collaborator

Summary

Basic installation is incompatible with flama CLI

Reproduce steps

After installing flama core (i.e., without any extra), we cannot run flama version because the submodule ddd requires sqlalchemy.

Schema library

None

Models library

None

Error logs

❯ poetry run flama --version
Traceback (most recent call last):
  File ".venv/bin/flama", line 5, in <module>
    from flama.cli.__main__ import cli
  File ".venv/lib/python3.11/site-packages/flama/__init__.py", line 1, in <module>
    from flama.applications import *  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".venv/lib/python3.11/site-packages/flama/applications.py", line 5, in <module>
    from flama.ddd.components import WorkerComponent
  File ".venv/lib/python3.11/site-packages/flama/ddd/__init__.py", line 1, in <module>
    from flama.ddd.components import *  # noqa
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".venv/lib/python3.11/site-packages/flama/ddd/components.py", line 4, in <module>
    from flama.ddd.workers import AbstractWorker
  File ".venv/lib/python3.11/site-packages/flama/ddd/workers.py", line 5, in <module>
    from sqlalchemy.ext.asyncio import AsyncTransaction
ModuleNotFoundError: No module named 'sqlalchemy'
@migduroli migduroli added the bug Something isn't working label Dec 15, 2023
github-actions bot pushed a commit that referenced this issue Sep 3, 2024
# [v1.7.0](v1.6.0...v1.7.0) (2024-09-03)

## ✨ New Features
- [`96229a1`](96229a1)  Decouple table manager logic from repositories (#118) (Issues: [`#118`](https://github.com/vortico/flama/issues/))
- [`d944180`](d944180)  Enhanced OpenAPI docstrings (#121) (Issues: [`#121`](https://github.com/vortico/flama/issues/))
- [`a66d5ee`](a66d5ee)  Enhanced actions for DDD repositories (#124) (Issues: [`#124`](https://github.com/vortico/flama/issues/))
- [`0695c77`](0695c77)  ASGI Cookies component
- [`cd06bdb`](cd06bdb)  Python 3.12 compatibility (#119) (Issues: [`#119`](https://github.com/vortico/flama/issues/))
- [`a2ef280`](a2ef280)  Single type injection (#126) (Issues: [`#126`](https://github.com/vortico/flama/issues/))
- [`869711d`](869711d)  Connections manager for SQLAlchemy module (#135) (Issues: [`#135`](https://github.com/vortico/flama/issues/))
- [`4899473`](4899473)  Authentication mechanism (#137) (Issues: [`#137`](https://github.com/vortico/flama/issues/))
- [`03634c2`](03634c2)  Ordering for repositories list (#139) (Issues: [`#139`](https://github.com/vortico/flama/issues/))
- [`070fb4f`](070fb4f)  Enhanced operations for CRUD (#141) (Issues: [`#141`](https://github.com/vortico/flama/issues/))
- [`bd4f6c1`](bd4f6c1)  Non-blocking errors on schema generation
- [`4e5ba47`](4e5ba47)  Implement DDD for HTTP resources
- [`c177eef`](c177eef)  Use PartialSchema for all-optional schema version
- [`336914e`](336914e)  HTTPWorker accepts client kwargs

## 🐛 Bug Fixes
- [`518a4eb`](518a4eb)  Fix resolution for routes within nested resources
- [`3e1c0a8`](3e1c0a8)  Include nested applications in Lifespan (#130) (Issues: [`#130`](https://github.com/vortico/flama/issues/))
- [`036264e`](036264e)  Resolve url match multiple path params
- [`2664aba`](2664aba)  Remove unintended sqlalchemy import (#143) (Issues: [`#143`](https://github.com/vortico/flama/issues/))
- [`cde8071`](cde8071)  Serve flama logo from its repository (#144) (Issues: [`#144`](https://github.com/vortico/flama/issues/))
- [`9bcd6d7`](9bcd6d7)  Accept empty body as a valid input for schema validation
- [`c4d0915`](c4d0915)  Fix middleware types
- [`5716a6f`](5716a6f)  Allow nullable nested schemas for Pydantic
- [`8836aa7`](8836aa7)  Atomic operations on SQLAlchemy connections management
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