Where are these PydanticDeprecatedSince20 and RemovedInDjango60Warning warnings coming from?
I am getting the following output in my warnings summary:
venv/lib/python3.11/site-packages/pydantic/_internal/_config.py:323: 15 warnings
/Users/darshankalola/Desktop/roon-be/roon-doctor-service/.venv/lib/python3.11/site-packages/pydantic/_internal/_config.py:323: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)
.venv/lib/python3.11/site-packages/django/db/models/fields/__init__.py:1148: 15 warnings
/Users/darshankalola/Desktop/roon-be/roon-doctor-service/.venv/lib/python3.11/site-packages/django/db/models/fields/__init__.py:1148: RemovedInDjango60Warning: The default scheme will be changed from 'http' to 'https' in Django 6.0. Pass the forms.URLField.assume_scheme argument to silence this warning, or set the FORMS_URLFIELD_ASSUME_HTTPS transitional setting to True to opt into using 'https' as the new default scheme.
return form_class(**defaults)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Results (7.89s):
45 passed
I have searched and ensure that none of my tests are producing these warnings. In fact I have no idea where they are coming from.
I have updated required packages to their latest versions, and have corrected instances of deprecated functionality.