Skip to content

keyring.py is shadows and create confusion with the keyring package #1764

@candleindark

Description

@candleindark

The keyring.py file shadows the keyring dependency in some environments. For example, the shadowing happens in the debug environment of PyCharm which starts Python with something like

.../pydevd.py --file .../_jb_pytest_runner.py --path <path to local dandi package source>

which adds the package directory .../dandi-cli/dandi directly to sys.path. Additionally, the setup of importing from the keyring dependency in side a file named keyring.py is quite confusing.

I propose renaming the keyring.py file to keyring_utils.py or some other similar name.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions