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

[Doc] 安装omicron前,需要先安装Cython #17

Open
zillionare opened this issue Apr 24, 2022 · 0 comments
Open

[Doc] 安装omicron前,需要先安装Cython #17

zillionare opened this issue Apr 24, 2022 · 0 comments

Comments

@zillionare
Copy link
Owner

Since 2.0.0.dev4, Zigzag is introduced. However, this package requires Cython to build itself and it doesn't state this dependency on its build file.

从omicron 2.0.0.dev4起,引入了Zigzag。这个库需要Cython来完成构建,但它并没有把这个依赖写入它的构建文件中。当Omicron引入这个库时,尽管我们在omicron的构建文件中加入了这一依赖,但安装omicron时,由于没有此依赖信息,pip可能并发地安装zigzag和cython,导致zigzag安装使用,最终导致omicron无法安装。

在omicron CI中,我们通过向tox.ini中加入以下两行来workaround这个问题:

deps = cython numpy

但在其它场合,omicron安装仍然可能失败。我们需要在文档中声明这一点。

另外,在zillionare其它子系统中,如果使用了omicron,为了保证CI成功,也需要将上述两行加入各自的tox.ini

zillionare pushed a commit to zillionare/backtesting that referenced this issue Apr 24, 2022
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

1 participant