Hochfrequenz / Hochfrequenz/TransformerBeeClient.py

Packaging Test fails: 'Invalid distribution metadata: 2.5 is not a valid metadata version'

Open Beginner friendly
#211 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

`check_packaging` fails on every PR right now, unrelated to the PR contents.

```
Checking dist/transformerbeeclient-0.1.dev1+g47ac9e3f6-py3-none-any.whl:
ERROR InvalidDistribution: Invalid distribution metadata: '2.5' is not a valid metadata version
```

The build backend now emits `Metadata-Version: 2.5`, which the `twine` version resolved in the test env does not recognise. Nothing in the repo changed to cause it — the job last passed on 2026-08-12 (`migrate-to-ruff`) and fails on runs since, so it is dependency drift in an unpinned tool, not a code regression.

Fix is presumably to pin/raise `twine` (>= 6.2 recognises metadata 2.5) in the packaging test environment.

Found while working on #210, where this is the only failure not attributable to that PR.

*Filed with Claude Code.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the check_packaging job and its packaging test environment, then inspect how twine is resolved. Ensure the environment uses twine >= 6.2 and rerun check_packaging; done means the wheel with Metadata-Version 2.5 passes validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, ci-cd, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.