Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove push event trigger for the release workflow #5268

Closed
wants to merge 1 commit into from

Conversation

andersy005
Copy link
Member

It turns out that pushes on main branch result in an invalid package version. To address this issue, I am disabling the push event trigger on the release workflow

Cc @keewis

Uploading xarray-0.17.1.dev108+gf5e4fd5f-py3-none-any.whl

  0%|          | 0.00/796k [00:00<?, ?B/s]
 73%|███████▎  | 584k/796k [00:00<00:00, 3.39MB/s]
100%|██████████| 796k/796k [00:00<00:00, 1.52MB/s]
Content received from server:
<html>
 <head>
  <title>400 '0.17.1.dev108+gf5e4fd5f' is an invalid value for Version. Error: Can't use PEP 440 local versions. See packaging.python.org/specifications/core-metadata for more information.</title>
 </head>
 <body>
  <h1>400 '0.17.1.dev108+gf5e4fd5f' is an invalid value for Version. Error: Can't use PEP 440 local versions. See packaging.python.org/specifications/core-metadata for more information.</h1>
  The server could not comply with the request since it is either malformed or otherwise incorrect.<br/><br/>
&#x27;0.17.1.dev108+gf5e4fd5f&#x27; is an invalid value for Version. Error: Can&#x27;t use PEP 440 local versions. See packaging.python.org/specifications/core-metadata for more information.


 </body>
</html>
HTTPError: 400 Bad Request from test.pypi.org/legacy
'0.17.1.dev108+gf5e4fd5f' is an invalid value for Version. Error: Can't use PEP 440 local versions. See packaging.python.org/specifications/core-metadata for more information.

@andersy005
Copy link
Member Author

Duplicate of #5269

@andersy005 andersy005 marked this as a duplicate of #5269 May 6, 2021
@andersy005 andersy005 closed this May 6, 2021
@andersy005 andersy005 deleted the ci/fix-release-workflow branch May 6, 2021 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant