简体   繁体   English

需求包中的文件版本错误

[英]Wrong file version in requirement package

A file seems to be outdated in requirements package synergine-0.0.1.9 when environment is build. 构建环境时,需求软件包synergine-0.0.1.9中的文件似乎已过时。

.travis.yml .travis.yml

language: python
python:
  - "3.4"
install:
  - "pip install -r tests_requirements.txt --upgrade"
  - "pip install python-coveralls"
script:
  - coverage run tests.py --rcfile=.coveragerc -v && coverage report -m && python3.4 tests.py
after_success:
  - coveralls

tests_requirements.txt tests_requirements.txt

synergine>=0.0.1
synergine_xyz>=0.0.1

travis-ci.org build log: travis-ci.org构建日志:

[...]
pip 6.0.7 from /home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages (python 3.4)
install.1

1.74s $ pip install -r tests_requirements.txt --upgrade

You are using pip version 6.0.7, however version 7.0.3 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

Collecting synergine>=0.0.1 (from -r tests_requirements.txt (line 1))

  Downloading synergine-0.0.1.9.tar.gz

    pypandoc not found

Collecting synergine-xyz>=0.0.1 (from -r tests_requirements.txt (line 2))

  Downloading synergine_xyz-0.0.1.9.tar.gz

Installing collected packages: synergine-xyz, synergine

  Running setup.py install for synergine-xyz

  Running setup.py install for synergine

    pypandoc not found

Successfully installed synergine-0.0.1.9 synergine-xyz-0.0.1.9

[...]

[...]
0.31s$ coverage run tests.py --rcfile=.coveragerc -v && coverage report -m && python3.4 tests.py

[...]

  File "/home/travis/virtualenv/python3.4.2/lib/python3.4/site-packages/synergine/core/simulation/MetaValue.py", line 19, in unset

    del (state[subject])

NameError: name 'state' is not defined

The synergine/core/simulation/MetaValue.py", line 19, in unset on travis-ci build is: travis-ci构建synergine/core/simulation/MetaValue.py", line 19, in unsetsynergine/core/simulation/MetaValue.py", line 19, in unset是:

del (state[subject])

If we look synergine/core/simulation/MetaValue.py", line 19, in unset available on pypi : 如果我们查看synergine/core/simulation/MetaValue.py", line 19, in unset pypi上未synergine/core/simulation/MetaValue.py", line 19, in unset

del(metas[subject])

Files are not identicals. 文件不完全相同。 Problem is in a travis-ci cache ? 问题出在travis-ci缓存中? How can i fix that ? 我该如何解决?

Build page available here . 构建页面可在此处获得

在通过电子邮件与travis-ci支持进行讨论之后,我们认为问题不是来自travis-ci,而是可能来自pypi(奇怪的特定缓存规则?)。

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

相关问题 找不到满足要求的版本<package></package> - Could not find a version that satisfies the requirement <package> 限制需求的package版本,setup.py中设置复杂 - Restrict requirement's package version with complicated settings in setup.py Python 使用了错误的包版本 - Python uses wrong Package version 无法从 requirements.txt 中找到满足要求“ ”的版本。 找不到与该软件包匹配的分发版 - Could not find a version that satisfies a requirement ' ' from requirement.txt. No matching distribution found for the package Pip 通过需求文件安装单个 package 的多个额外依赖项 - Pip install multiple extra dependencies of a single package via requirement file 如何从 requirements.txt 文件中选择特定版本 - how to pick a particular version from requirement.txt file upgradepkg使用错误版本的python进行软件包安装 - upgradepkg uses wrong version of python for package installs Python版本+要求 - Python Version + Requirement 开始使用 Google Analytics API 缺少 package 或 package 的错误版本? - Getting started with Google Analytics API missing a package or wrong version of the package? 创建PyPi包 - 找不到满足iso8601要求的版本 - Creating PyPi package - Could not find a version that satisfies the requirement iso8601
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM