rmlocal-rmapi-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module rmlocal-rmapi-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed rmlocal-rmapi-1 | File "/usr/local/lib/python3.11/site-packages/rasenmaeher_api/web/application.py", line 5, in <module> rmlocal-rmapi-1 | from rasenmaeher_api.settings import settings rmlocal-rmapi-1 | File "/usr/local/lib/python3.11/site-packages/rasenmaeher_api/settings.py", line 9, in <module> rmlocal-rmapi-1 | from pydantic import BaseSettings rmlocal-rmapi-1 | File "/usr/local/lib/python3.11/site-packages/pydantic/__init__.py", line 210, in __getattr__ rmlocal-rmapi-1 | return _getattr_migration(attr_name) rmlocal-rmapi-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rmlocal-rmapi-1 | File "/usr/local/lib/python3.11/site-packages/pydantic/_migration.py", line [289](https://github.com/pvarki/docker-rasenmaeher-integration/actions/runs/5990117815/job/16247079829#step:6:290), in wrapper rmlocal-rmapi-1 | raise PydanticImportError( rmlocal-rmapi-1 | pydantic.errors.PydanticImportError:BaseSettingshas been moved to thepydantic-settingspackage. See https://docs.pydantic.dev/2.3/migration/#basesettings-has-moved-to-pydantic-settings for more details. rmlocal-rmapi-1 | rmlocal-rmapi-1 | rmlocal-rmapi-1 | For further information visit https://errors.pydantic.dev/2.3/u/import-error rmlocal-rmapi-1 | [2023-08-27 09:35:45 +0000] [10] [INFO] Worker exiting (pid: 10)
The complete error stack trace is visible in this repo's github actions visible at: https://github.com/pvarki/docker-rasenmaeher-integration/actions/runs/5990117815/job/16247079829
Here is a snippet taken from the complete trace:
rmlocal-rmapi-1 | File "<frozen importlib._bootstrap_external>", line 940, in exec_module rmlocal-rmapi-1 | File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed rmlocal-rmapi-1 | File "/usr/local/lib/python3.11/site-packages/rasenmaeher_api/web/application.py", line 5, in <module> rmlocal-rmapi-1 | from rasenmaeher_api.settings import settings rmlocal-rmapi-1 | File "/usr/local/lib/python3.11/site-packages/rasenmaeher_api/settings.py", line 9, in <module> rmlocal-rmapi-1 | from pydantic import BaseSettings rmlocal-rmapi-1 | File "/usr/local/lib/python3.11/site-packages/pydantic/__init__.py", line 210, in __getattr__ rmlocal-rmapi-1 | return _getattr_migration(attr_name) rmlocal-rmapi-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rmlocal-rmapi-1 | File "/usr/local/lib/python3.11/site-packages/pydantic/_migration.py", line [289](https://github.com/pvarki/docker-rasenmaeher-integration/actions/runs/5990117815/job/16247079829#step:6:290), in wrapper rmlocal-rmapi-1 | raise PydanticImportError( rmlocal-rmapi-1 | pydantic.errors.PydanticImportError:
BaseSettingshas been moved to the
pydantic-settingspackage. See https://docs.pydantic.dev/2.3/migration/#basesettings-has-moved-to-pydantic-settings for more details. rmlocal-rmapi-1 | rmlocal-rmapi-1 | rmlocal-rmapi-1 | For further information visit https://errors.pydantic.dev/2.3/u/import-error rmlocal-rmapi-1 | [2023-08-27 09:35:45 +0000] [10] [INFO] Worker exiting (pid: 10)