Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

tox packaging job fails in CI

未关闭
#13 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
python

调研方向

首先运行 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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

matrix-org/python-signedjson 的其他 Issue

查看 matrix-org/python-signedjson 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。