tox packaging job fails in CI
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- build-system, ci-cd
调研方向
首先运行 tox,并检查 setup.py、打包作业配置以及 check-manifest 的输出。确认 CHANGELOG.md、RELEASING.md、changelog.d 和 pyproject.toml 未包含在源代码分发包中的原因,然后验证打包作业在包含所有必需文件的情况下能够成功通过。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Python
- 星标
- 13
- 派生
- 10
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
matrix-org/python-signedjson 的其他 Issue
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
-
enhancement
难度 3/5 1-2 天 新手友好度 25/100
-
enhancement
难度 3/5 1-2 天 新手友好度 25/100
-
难度 1/5 1 小时以内 新手友好度 45/100
matrix-org/python-signedjson#10 · 1 条评论 ·
-
pip install of synapse with a custom package mirror fails if setuptools_scm not already installed 未关闭
难度 4/5 3-5 天 新手友好度 35/100
matrix-org/python-signedjson#8 · 1 条评论 ·
查看 matrix-org/python-signedjson 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
难度 1/5 1 小时以内 新手友好度 90/100
-
难度 2/5 1-3 小时 新手友好度 70/100
huggingface/Repo2RLEnv#163 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
难度 2/5 1-3 小时 新手友好度 70/100
NousResearch/hermes-agent#121143 ·