chore: drop poetry in favor of pip-tools
test(nlp): fix broken test
chore: update dependencies to latest Also bundled this up with a few other changes: - use pip-tools to compile and pin dependencies - upgrade pydantic to v2 (required refactoring)
chore: drop poetry dependency for API
chore: drop flake8 in pre-commit hook
style: remove whitespace after running linter
chore: do not fail on help if not installed
chore(nlp): update to python 3.10
refactor(nlp): only use `/posts` for fetching
refactor(nlp): make use of argparse subparsers
chore(nlp): add CLI help to makefile
chore: update env vars docker-compose In the start.sh for the API, we no longer use DEBUG environment variable but rather ENV, which is either debug, development or production.
refactor(nlp): simplify path handling and run ids
refactor(nlp): dest arg is not needed for parsing
chore(nlp): use gitignore over keep
refactor(nlp): add Command enum as source of truth
chore: simplify main make tests
test(api): do not share state and rollback db
chore(api): add asgi-lifespan to dev dependencies This is necessary for yielding the asgi app test client. If the test client is not wrapped in this context manager, then the startup and shutdown events will not be triggered.
chore(ci): build and push images