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

3.0.3 PyPI tarball is missing CODE_OF_CONDUCT #7626

Closed
mgorny opened this issue May 7, 2020 · 0 comments
Closed

3.0.3 PyPI tarball is missing CODE_OF_CONDUCT #7626

mgorny opened this issue May 7, 2020 · 0 comments
Labels
Milestone

Comments

@mgorny
Copy link
Contributor

mgorny commented May 7, 2020

Describe the bug
The 3.0.3 .tar.gz found on PyPI does not include the CODE_OF_CONDUCT file. As a result, the documentation fails to build:

Warning, treated as error:                                               
/tmp/portage/dev-python/sphinx-3.0.3/work/Sphinx-3.0.3/doc/code_of_conduct.rst:8:Problems with "include" directive path:                           
InputError: [Errno 2] No such file or directory: 'CODE_OF_CONDUCT'.

To Reproduce
Steps to reproduce the behavior:

wget https://files.pythonhosted.org/packages/12/a9/41a67d6638323b763b284a80b57461fe3557b128efcce892360cd73879ce/Sphinx-3.0.3.tar.gz
tar -xf Sphinx-3.0.3.tar.gz
cd Sphinx-3.0.3
python setup.py build_sphinx

Expected behavior
Surprisingly, I would expect it to build successfully.

Environment info

  • OS: Gentoo Linux
  • Python version: 3.8.2
  • Sphinx version: 3.0.3

Additional context
Curious enough, when I run setup.py sdist locally it includes all the files, so this might be relevant to the environment used to cut the release.

@mgorny mgorny added the type:bug label May 7, 2020
tk0miya added a commit to tk0miya/sphinx that referenced this issue May 9, 2020
@tk0miya tk0miya added this to the 3.0.4 milestone May 9, 2020
tk0miya added a commit that referenced this issue May 9, 2020
Fix #7626: release package does not contain ``CODE_OF_CONDUCT``
@tk0miya tk0miya closed this as completed in cf5660c May 9, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants