Skip to content

Poetry version upgrade and pyproject.toml update #1012

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

Closed
wants to merge 1 commit into from

Conversation

mlsstart
Copy link
Contributor

@mlsstart mlsstart commented Feb 17, 2025

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.

  • Installing exceptiongroup (1.2.2)
  • Installing iniconfig (2.0.0)
  • Installing mccabe (0.7.0)
  • Installing mypy-extensions (1.0.0)
  • Installing pluggy (1.5.0)
  • Installing pycodestyle (2.12.1)
  • Installing pydantic-core (2.27.2)
  • Installing pyflakes (3.2.0)
  • Installing s3transfer (0.11.2)
    /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.

@MonkeyCanCode
Copy link
Contributor

There is a PR for this already: #898

@mlsstart
Copy link
Contributor Author

Thank you for sharing the PR link. I'll review it meticulously and provide my feedback as soon as possible.

@mlsstart mlsstart closed this Feb 18, 2025
@mlsstart mlsstart deleted the patch2 branch February 25, 2025 03:29
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

Successfully merging this pull request may close these issues.

2 participants