craft-store is not compatible with keyring 25.x
Metadata
Current evaluation
Closed without resolution. An internal Jira ticket (CRAFT-2653) was created to track the keyring 25.x incompatibility, but no code changes or merge details were provided. The issue appears abandoned.
Suggested action: —
No scores available.
Issue body
### Bug Description
craft-store uses a private _compat module in keyring, which is removed in keyring 25.
### To Reproduce
See: https://github.com/canonical/snapcraft/actions/runs/8437694793/job/23108074098?pr=4693#step:4:364
### part yaml
_No response_
### Relevant log output
```shell
Traceback (most recent call last):
File "/home/runner/work/snapcraft/snapcraft/.tox/docs/lib/python3.10/site-packages/sphinx/config.py", line 358, in eval_config_file
exec(code, namespace) # NoQA: S102
File "/home/runner/work/snapcraft/snapcraft/docs/conf.py", line 12, in <module>
import snapcraft
File "/home/runner/work/snapcraft/snapcraft/snapcraft/__init__.py", line 23, in <module>
import snapcraft.sources # noqa: F401
File "/home/runner/work/snapcraft/snapcraft/snapcraft/sources.py", line 22, in <module>
from snapcraft_legacy.sources import get
File "/home/runner/work/snapcraft/snapcraft/snapcraft_legacy/__init__.py", line 352, in <module>
from snapcraft_legacy._store import ( # noqa
File "/home/runner/work/snapcraft/snapcraft/snapcraft_legacy/_store.py", line 30, in <module>
import craft_store
File "/home/runner/work/snapcraft/snapcraft/.tox/docs/lib/python3.10/site-packages/craft_store/__init__.py", line 23, in <module>
from .auth import Auth
File "/home/runner/work/snapcraft/snapcraft/.tox/docs/lib/python3.10/site-packages/craft_store/auth.py", line 32, in <module>
from keyring._compat import properties
ModuleNotFoundError: No module named 'keyring._compat'
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. An internal Jira ticket (CRAFT-2653) was created to track the keyring 25.x incompatibility, but no code changes or merge details were provided. The issue appears abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The only activity was an automated Jira ticket creation. The keyring 25.x incompatibility caused by a removed private _compat module remains unaddressed. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without a direct fix. The keyring 25.x incompatibility was logged as internal ticket CRAFT-2653, but no code changes or resolution details were provided. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #58 Keyring failures give bad error messages | craft-store | closed | Transferred to craft-store for generic keyring error handling. Closed and superseded by internal Jira tickets CRAFT-5223 and CRAFT-5224. |