Skip to content

Missing requirements #33

Open
Open
@LittleColin

Description

@LittleColin

I'm having a few issues just getting this repo working out of the box and I'm hoping you can help. Specifically trying to get pytest running and facing the following:

E   ModuleNotFoundError: No module named 'asgi_lifespan'

So I added asgi_lifespan==2.1.0

Then

E   ModuleNotFoundError: No module named 'pydantic_settings'

So I added pydantic-settings==2.2.1

Then

E   ModuleNotFoundError: No module named 'pkg_resources'

So I pip install setuptools

The tests now execute but fail with:

ERROR tests/test_mock_authen.py::TestMockAuthentication::test_api_processed_jobs - pymongo.errors.ConfigurationError: No default database name defined or provided.
ERROR tests/test_mock_database.py::TestMockAuthentication::test_mock_databases - pymongo.errors.ConfigurationError: No default database name defined or provided.
ERROR tests/test_mock_database.py::TestMockAuthentication::test_mock_database - pymongo.errors.ConfigurationError: No default database name defined or provided.

This is running on python 3.10 on Linux - is there something fundamental I'm doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions