Projet

Général

Profil

Bug #24600

Build Jenkins cassé

Ajouté par Emmanuel Cazenave il y a presque 6 ans. Mis à jour il y a presque 6 ans.

Statut:
Rejeté
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
18 juin 2018
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:

Description

Nouvelle release de pytest-django 3.3.0 qui casse le build :

coverage-django18-passerelle runtests: commands[1] | py.test --junitxml=junit-coverage-django18-passerelle.xml --cov-report xml --cov=hobo/ --cov-config .coveragerc tests_passerelle/
Traceback (most recent call last):
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/bin/py.test", line 11, in <module>
    sys.exit(main())
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/_pytest/config.py", line 50, in main
    config = _prepareconfig(args, plugins)
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/_pytest/config.py", line 160, in _prepareconfig
    pluginmanager=pluginmanager, args=args)
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/pluggy/__init__.py", line 617, in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/pluggy/__init__.py", line 222, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/pluggy/__init__.py", line 216, in <lambda>
    firstresult=hook.spec_opts.get('firstresult'),
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/pluggy/callers.py", line 196, in _multicall
    gen.send(outcome)
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/_pytest/helpconfig.py", line 68, in pytest_cmdline_parse
    config = outcome.get_result()
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/pluggy/callers.py", line 77, in get_result
    _reraise(*ex)  # noqa
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/pluggy/callers.py", line 180, in _multicall
    res = hook_impl.function(*args)
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/_pytest/config.py", line 943, in pytest_cmdline_parse
    self.parse(args)
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/_pytest/config.py", line 1108, in parse
    self._preparse(args, addopts=addopts)
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/_pytest/config.py", line 1071, in _preparse
    self.pluginmanager.load_setuptools_entrypoints('pytest11')
  File "/tmp/tox-jenkins/hobo/coverage-django18-passerelle/local/lib/python2.7/site-packages/pluggy/__init__.py", line 402, in load_setuptools_entrypoints
    "Plugin %r could not be loaded: %s!" % (ep.name, e))
pluggy.PluginValidationError: Plugin 'django' could not be loaded: (pytest 3.3.2 (/tmp/tox-jenkins/hobo/coverage-django18-passerelle/lib/python2.7/site-packages), Requirement.parse('pytest>=3.6'))!

Demandes liées

Lié à Hobo - Bug #21628: tests cassé avec pytest 3.4.0Fermé04 février 2018

Actions

Historique

#1

Mis à jour par Emmanuel Cazenave il y a presque 6 ans

  • Lié à Bug #21628: tests cassé avec pytest 3.4.0 ajouté
#2

Mis à jour par Emmanuel Cazenave il y a presque 6 ans

pytest-django qui demande une version récente de pytest, qu'il n'obtient pas parce que #21628

#3

Mis à jour par Emmanuel Cazenave il y a presque 6 ans

  • Statut changé de Nouveau à Rejeté

Corrigé par #21628

Formats disponibles : Atom PDF