matrix-org / matrix-org/python-signedjson
tox packaging job fails in CI
未关闭
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 13
- 派生
- 10
- PR 合并指标
- 30 天内没有已合并 PR
描述
E.g. as in https://travis-ci.org/github/matrix-org/python-signedjson/jobs/770347173
$ tox
GLOB sdist-make: /home/travis/build/matrix-org/python-signedjson/setup.py
packaging create: /home/travis/build/matrix-org/python-signedjson/.tox/packaging
packaging installdeps: check-manifest
packaging inst: /home/travis/build/matrix-org/python-signedjson/.tox/.tmp/package/1/signedjson-1.1.2.dev6+gde64b47.zip
packaging installed: canonicaljson==1.1.4,cffi==1.14.0,check-manifest==0.41,frozendict==1.2,importlib-metadata==1.6.0,pep517==0.8.2,pycparser==2.20,PyNaCl==1.3.0,signedjson==1.1.2.dev6+gde64b47,simplejson==3.17.0,six==1.14.0,toml==0.10.0,typing-extensions==3.7.4.2,unpaddedbase64==1.1.0,zipp==3.1.0
packaging run-test-pre: PYTHONHASHSEED='2381353217'
packaging run-test: commands[0] | check-manifest
lists of files in version control and sdist do not match!
missing from sdist:
CHANGELOG.md
RELEASING.md
changelog.d
pyproject.toml
suggested MANIFEST.in rules:
include *.md
include *.toml
ERROR: InvocationError for command /home/travis/build/matrix-org/python-signedjson/.tox/packaging/bin/check-manifest (exited with code 1)
___________________________________ summary ____________________________________
ERROR: packaging: commands failed
The command "tox" exited with 1.
Done. Your build exited with 1.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先运行 tox,并检查 setup.py、打包作业配置以及 check-manifest 的输出。确认 CHANGELOG.md、RELEASING.md、changelog.d 和 pyproject.toml 未包含在源代码分发包中的原因,然后验证打包作业在包含所有必需文件的情况下能够成功通过。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- build-system, ci-cd
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100