← All tasks
pythonpypa/twine #1228Not a task: already works

Insufficient minimum keyring version required due to use of keyring.errors.NoKeyringError

envgap__pypa__twine-1228

01 / FAILURE SIGNATURE

As reported upstream

- [x] I have searched the existing issues (open and closed), and could not find an existing issue
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
d9e4b080f0934b274f9f2896ea1f8812987cac7b
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

pypa/twine #1228 · read the original issue
### Is there an existing issue for this?

- [x] I have searched the existing issues (open and closed), and could not find an existing issue

### What keywords did you use to search existing issues?

NoKeyringError

### What operating system are you using?

Linux

### If you selected 'Other', describe your Operating System here

_No response_

### What version of Python are you running?

```console
Python 3.10.16
```

### How did you install twine? Did you use your operating system's package manager or pip or something else?

```console
pip install --upgrade twine
```

### What version of twine do you have installed (include the complete output)

```console
twine version 6.1.0 (keyring: 19.2.0, packaging: 24.2, requests: 2.32.3, requests-toolbelt: 1.0.0, urllib3: 2.3.0, id: 1.5.0)
```

### Which package repository are you using?

pypi.org

### Please describe the issue that you are experiencing

When I run twine upload with version 19.2.0 of keyring, it fails since NoKeyringError was only implemented in v21.2.0 of keyring, and it's used in https://github.com/pypa/twine/blob/main/twine/auth.py#L16

### Please list the steps required to reproduce this behaviour

1. Pin keyring to  version 19.2.0
2. Install twine in a virtual environment
3. Run twine upload 'dist/*'

### Anything else you'd like to mention?

_No response_
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]