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

Fix minos-cli new microservice template #107

Open
Rey092 opened this issue Jun 12, 2022 · 1 comment
Open

Fix minos-cli new microservice template #107

Rey092 opened this issue Jun 12, 2022 · 1 comment

Comments

@Rey092
Copy link

Rey092 commented Jun 12, 2022

minos-cli 0.4.0 Quickstart doesn't work.

microservice-testmicroservice_1  | Traceback (most recent call last):
microservice-testmicroservice_1  |   File "/usr/local/bin/microservice", line 5, in <module>
microservice-testmicroservice_1  |     from src.cli import main
microservice-testmicroservice_1  |   File "/usr/local/lib/python3.9/site-packages/src/__init__.py", line 5, in <module>
microservice-testmicroservice_1  |     from .aggregates import (
microservice-testmicroservice_1  |   File "/usr/local/lib/python3.9/site-packages/src/aggregates.py", line 5, in <module>
microservice-testmicroservice_1  |     from minos.aggregate import (
microservice-testmicroservice_1  | ImportError: cannot import name 'RootEntity' from 'minos.aggregate' (/usr/local/lib/python3.9/site-packages/minos/aggregate/__init__.py)
@Rey092
Copy link
Author

Rey092 commented Jun 12, 2022

Looks like problem with new prereleases. Maybe minos-cli should create new templates with 'allow-prereleases' set to false (in pyproject.toml).

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

1 participant