You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My CI pipeline (generated with maturin generate-ci github) started failing recently in the last step (maturin upload), with the error:
💥 maturin failed
Caused by: 💥 Failed to upload "righor-0.2.9.tar.gz" (1000.7 KB)
Caused by: Failed to upload the wheel with status 400: <html>
<head>
<title>400 Invalid distribution file. PKG-INFO not found at righor/PKG-INFO</title>
</head>
<body>
<h1>400 Invalid distribution file. PKG-INFO not found at righor/PKG-INFO</h1>
The server could not comply with the request since it is either malformed or otherwise incorrect.<br/><br/>
Invalid distribution file. PKG-INFO not found at righor/PKG-INFO
This error may be related (?) to an earlier warning (still in the Release step)
No pyproject.toml found at /home/runner/work/righor-py/righor-py/pyproject.toml, fallback to latest
All the "building" steps earlier complete successfully (and, notably, locate pyproject.toml without issues).
Interestingly, a nearly identical pipeline was functioning well two months ago, even though it still displayed the "No pyproject.toml found" warning message. The primary difference appears to be the Maturin version (1.7.4 vs. 1.7.1).
Any thoughts on what I did wrong? I've attached the current log, the old (successful) log, and the CI file. Here's my file structure:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
My CI pipeline (generated with
maturin generate-ci github
) started failing recently in the last step (maturin upload
), with the error:This error may be related (?) to an earlier warning (still in the
Release
step)All the "building" steps earlier complete successfully (and, notably, locate pyproject.toml without issues).
Interestingly, a nearly identical pipeline was functioning well two months ago, even though it still displayed the "No pyproject.toml found" warning message. The primary difference appears to be the Maturin version (1.7.4 vs. 1.7.1).
Any thoughts on what I did wrong? I've attached the current log, the old (successful) log, and the CI file. Here's my file structure:
CI.yml.txt
successful_run.zip
failed_run.zip
Thanks a lot !
Thomas
Beta Was this translation helpful? Give feedback.
All reactions