Describe the bug
I noticed that my CI (using CircleCI) started failing suddenly, but would pass on my main branch. It should have been obvious, but I didn't expect a dependency change to be the issue.
With the new branch, CircleCI pulled all new dependences and got pydantic v2.0 and now I get
ImportError: cannot import name 'BaseSettings' from 'pydantic.env_settings' (/home/circleci/project/venv/lib/python3.10/site-packages/pydantic/env_settings.py)
To Reproduce
Steps to reproduce the behavior:
Create a clean virtualenv (python -m venv .venv)
Install Django project requirements (in my case python -m pip install -r requirements/local.txt which includes django-bootstrap-datepicker-plus==5.0.2, same problem with 5.0.3)
Try to run a test that uses a form that has a datepicker
Test fails with ImportError shown above.
Expected behavior
Test should pass without issue.
Setup Information (please complete the following information):
OS: Windows 10 (local)/Ubuntu 20.04.5 LTS (CircleCI)
Describe the bug I noticed that my CI (using CircleCI) started failing suddenly, but would pass on my main branch. It should have been obvious, but I didn't expect a dependency change to be the issue.
With the new branch, CircleCI pulled all new dependences and got pydantic v2.0 and now I get
ImportError: cannot import name 'BaseSettings' from 'pydantic.env_settings' (/home/circleci/project/venv/lib/python3.10/site-packages/pydantic/env_settings.py)
To Reproduce Steps to reproduce the behavior:
python -m venv .venv
)python -m pip install -r requirements/local.txt
which includesdjango-bootstrap-datepicker-plus==5.0.2
, same problem with 5.0.3)ImportError
shown above.Expected behavior Test should pass without issue.
Setup Information (please complete the following information):
[x] I have followed the configuration instructions and checked out the common error troubleshooting page.