Poetry version upgrade and pyproject.toml update #1012
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The first error message:
ItemNotFoundException
Item does not exist!
at polaris-venv/lib/python3.9/site-packages/secretstorage/util.py:52 in send_and_get_reply
48│ raise DBusErrorResponse(resp_msg)
49│ return resp_msg.body
50│ except DBusErrorResponse as resp:
51│ if resp.name in (DBUS_UNKNOWN_METHOD, DBUS_NO_SUCH_OBJECT):
→ 52│ raise ItemNotFoundException('Item does not exist!') from resp
53│ elif resp.name in (DBUS_SERVICE_UNKNOWN, DBUS_EXEC_FAILED,
54│ DBUS_NO_REPLY):
55│ data = resp.data
56│ if isinstance(data, tuple):
Cannot install annotated-types.
/media/user_DdGiX601V/DataDisk/workspace/openresource/polaris
First time setup complete.
Traceback (most recent call last):
File "/media/user_DdGiX601V/DataDisk/workspace/openresource/polaris/regtests/client/python/cli/polaris_cli.py", line 28, in
from polaris.management import ApiClient, Configuration
File "/media/user_DdGiX601V/DataDisk/workspace/openresource/polaris/regtests/client/python/polaris/management/init.py", line 38, in
from polaris.management.api.polaris_default_api import PolarisDefaultApi
File "/media/user_DdGiX601V/DataDisk/workspace/openresource/polaris/regtests/client/python/polaris/management/api/init.py", line 22, in
from polaris.management.api.polaris_default_api import PolarisDefaultApi
File "/media/user_DdGiX601V/DataDisk/workspace/openresource/polaris/regtests/client/python/polaris/management/api/polaris_default_api.py", line 33, in
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
ModuleNotFoundError: No module named 'pydantic'
The second error message:
Installing the current project: polaris (1.0.0)
Error: The current project could not be installed: No file/folder found for package polaris
If you do not want to install the current project use --no-root.
If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file.
If you did intend to install the current project, you may need to set
packages
in your pyproject.toml file.