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

Fix upload to PyPI #302

Merged
merged 1 commit into from Mar 10, 2023
Merged

Conversation

slonopotamus
Copy link
Collaborator

@slonopotamus slonopotamus commented Mar 10, 2023

Multiple things failed at once:

  1. Link to readme was lost during conversion to pyproject.toml in f668317. This commit restores it.
  2. PyPI only accepts rst/markdown/txt, so undo conversion of readme to AsciiDoc that was done in 55191a7
  3. twine has a bug that prevents upload from working without readme. See Empty body of METADATA results into an error when twine check pypa/twine#908 and Does twine treat long_description as a mandatory field? pypa/twine#960

Also run twine check on CI to detect pyproject.toml metadata errors earlier

Multiple things failed at once:
1. Link to readme was lost during conversion to `pyproject.toml` in f668317. This commit restores it.
2. PyPI only accepts rst/markdown/txt, so undo conversion of readme to AsciiDoc that was done in 55191a7
3. twine has a bug that prevents upload from working without readme: pypa/twine#908

Also run `twine check` on CI to detect `pyproject.toml` metadata errors earlier
@slonopotamus slonopotamus merged commit 3ce9c2c into adamrehn:master Mar 10, 2023
@slonopotamus slonopotamus deleted the fix-pypi-upload branch March 10, 2023 13:40
@slonopotamus
Copy link
Collaborator Author

slonopotamus commented Mar 10, 2023

Looks like everything works properly again: https://pypi.org/project/ue4-docker/0.0.105/

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.

None yet

1 participant