简体   繁体   English

无法通过构建安装geopy 0.96.1

[英]Cannot install geopy 0.96.1 with buildout

A lot of builds in our CI failed this morning. 今天上午,我们CI中的许多构建都失败了。 Example: https://jenkins.4teamwork.ch/job/ftw.contentpage-master-test-plone-4.3.x.cfg/427/console 示例: https//jenkins.4teamwork.ch/job/ftw.contentpage-master-test-plone-4.3.x.cfg/427/console

...
No eggs found in...geopy-0.96.1...(setup script problem?)
...

Error: Couldn't install: geopy 0.96.1

I can reproduced this also on my machine with the same buildout. 我也可以在我的机器上以相同的构造复制该内容。

I downloaded and installed geopy 0.96.1 with a "clean" virtualenv manually: 我手动下载并安装了带有“干净” virtualenv的geopy 0.96.1:

virtualenv-python2.7 setup.py build -> works
virtualenv-python2.7 setup.py install -> works too

I could use an older version of geopy, but I guess there's something wrong with this version of geopy. 我可以使用较早版本的geopy,但是我猜这个geopy版本存在问题。 And I also want to test against the most recent version. 我也想针对最新版本进行测试。

I also removed the cached geopy source (tar.gz) on the server and downloaded the file manually, but also no success. 我还删除了服务器上的缓存的geopy源(tar.gz)并手动下载了文件,但也没有成功。

When I look at the History of geopy it seems to be broken because of a wrong MANIFEST.IN which was fixed in master( https://github.com/geopy/geopy/commit/57133938328dc55eeca896ebfbe883cebf860a47 ). 当我查看geopy的历史时,它似乎由于错误的MANIFEST.IN而被破坏,该错误已在master( https://github.com/geopy/geopy/commit/57133938328dc55eeca896ebfbe883cebf860a47 )中修复。 There is also a new tag on github already but not yet on pypi. github上已经有一个新标签,但pypi上还没有。

I took the package from Source and checked out the 0.96.2 tag. 我从Source那里拿了包,并签出了0.96.2标签。 This worked fine for me. 这对我来说很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM