Errors with flake8 running tox
还没有人认领这个 Issue。
评估
调研方向
从 tox.ini 和 issue 中描述的 flake8 环境开始,然后在 Python 3.6 或 3.7 上重现 tox 运行。追踪 pytest-runner 安装失败和 SSL 证书错误;当文档化的课程设置能够成功运行 tox,且不要求学生移除 flake8 时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Location within the Course
- Section:4
- Lesson:2
- Language:en
Description
When running tox, I now get errors in the flake8 configuration. They are SSL errors. Tried several things to no avail. I will tell my students to remove flake8 from the envlist in tox.ini.
Happens with local dev environment as 3.6 and 3.7. Pip is 18.1 already.
Here is the start of the error message:
flake8 inst-nodeps: /Users/diane/projects/squashem_pkg/squashem/.tox/.tmp/package/1/squashem-0.1.0.zip
ERROR: invocation failed (exit code 1), logfile: /Users/diane/projects/squashem_pkg/squashem/.tox/flake8/log/flake8-4.log
ERROR: actionid: flake8
msg: installpkg
cmdargs: '/Users/diane/projects/squashem_pkg/squashem/.tox/flake8/bin/python -m pip install --no-deps -U /Users/diane/projects/squashem_pkg/squashem/.tox/.tmp/package/1/squashem-0.1.0.zip'
Processing ./.tox/.tmp/package/1/squashem-0.1.0.zip
Complete output from command python setup.py egg_info:
Download error on https://pypi.org/simple/pytest-runner/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045) -- Some packages may not be found!
Couldn't find index page for 'pytest-runner' (maybe misspelled?)
Download error on https://pypi.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045) -- Some packages may not be found!
No local packages or working download links found for pytest-runner
- 主要语言
- 没有语言数据
- 星标
- 8
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
twoscoops/Creating-and-Distributing-Python-Packages 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 35/100
twoscoops/Creating-and-Distributing-Python-Packages#35 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
-
难度 1/5 1 小时以内 新手友好度 50/100
-
难度 2/5 1-3 小时 新手友好度 45/100
-
难度 2/5 1-3 小时 新手友好度 45/100
查看 twoscoops/Creating-and-Distributing-Python-Packages 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
Flux159/mcp-server-kubernetes#384 ·
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
WaterLily-jl/WaterLily.jl#367 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
NanmiCoder/dsh-agent-teams#255 ·
维护者通常 1 天内回复
-
tech-debt
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复