sdist release of `pyo3-introspection` 0.29.2 failed
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 1k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 66
Description
See https://github.com/PyO3/pyo3/actions/runs/31040797061/job/92427238643
Uploading pyo3_introspection-0.29.2.tar.gz
INFO Response from https://upload.pypi.org/legacy/:
400 Bad Request
INFO <html>
<head>
<title>400 License-File LICENSE-APACHE does not exist in distribution
file pyo3_introspection-0.29.2.tar.gz at
pyo3_introspection-0.29.2/LICENSE-APACHE</title>
</head>
<body>
<h1>400 License-File LICENSE-APACHE does not exist in distribution
file pyo3_introspection-0.29.2.tar.gz at
pyo3_introspection-0.29.2/LICENSE-APACHE</h1>
The server could not comply with the request since it is either
malformed or otherwise incorrect.<br/><br/>
License-File LICENSE-APACHE does not exist in distribution file
pyo3_introspection-0.29.2.tar.gz at
pyo3_introspection-0.29.2/LICENSE-APACHE
</body>
</html>
ERROR HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Bad Request
... it's probably the licence files being a problem again, maybe we should go back to the symlink solution and figure out the root cause in maturin.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked GitHub Actions run and inspect the generated pyo3_introspection-0.29.2.tar.gz, especially whether LICENSE-APACHE is included. Then investigate how maturin handles the license files and compare that with the proposed symlink solution. Done means the sdist contains the declared license files and the PyPI upload succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, python, rust
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100