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

Missing requirements #33

Open
LittleColin opened this issue Jul 17, 2024 · 0 comments
Open

Missing requirements #33

LittleColin opened this issue Jul 17, 2024 · 0 comments

Comments

@LittleColin
Copy link

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?

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