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

有关依赖缺失的报错邮件不太好 #73

Closed
petronny opened this issue Aug 14, 2018 · 2 comments
Closed

有关依赖缺失的报错邮件不太好 #73

petronny opened this issue Aug 14, 2018 · 2 comments

Comments

@petronny
Copy link
Member

情况是包a是包b的依赖,包b是包c的依赖
所以b/lilac.py

depends = ['a']

c/lilac.py

depends = ['b']

然而如果此时a不存在的话,会产生报错邮件

软件包 b 的 lilac.py 指定了 depends,然而其中的 [Dependency(pkgdir=PosixPath('/path/to/repo/a'), pkgname='a')] 并不在本仓库中。

这个没什么问题,但还会收到一封

软件包 c 的 lilac.py 指定了 depends,然而其中的 [Dependency(pkgdir=PosixPath('/path/to/repo/a'), pkgname='a')] 并不在本仓库中。

这个就有一点迷惑了,因为c/lilac.py中并没有写

depends = ['a', 'b']
@lilydjwg
Copy link
Member

那写成「软件包 c 的 lilac.py 指定了 depends,其直接或者间接的依赖项 XXX 并不在本仓库中。」?

@petronny
Copy link
Member Author

大概。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants