← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1669086] Re: pbr 2.0.0 is released and python-jenkins is breaking jjb for the version conflict

 

jjb 1.6.2 has been released to include the change.
https://pypi.python.org/pypi/jenkins-job-builder/1.6.2

-- 
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1669086

Title:
  pbr 2.0.0 is released and python-jenkins is breaking jjb for the
  version conflict

Status in Python Jenkins:
  Fix Committed

Bug description:
  In my 3rd party CI system, jjb is breaking due to pbr's new version
  number conflict with python-jenkins requirement.

  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns: INFO:root:Updating jobs in ['/etc/jenkins_jobs/config'] ([])
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns: /usr/local/lib/python2.7/dist-packages/jenkins/__init__.py:644: DeprecationWarning: get_plugins_info() is deprecated, use get_plugins()
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:   DeprecationWarning)
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns: Traceback (most recent call last):
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:   File "/usr/local/bin/jenkins-jobs", line 10, in <module>
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:     sys.exit(main())
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:   File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/cmd.py", line 191, in main
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:     execute(options, config)
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:   File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/cmd.py", line 372, in execute
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:     n_workers=options.n_workers)
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:   File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 348, in update_jobs
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:     self.load_files(input_fn)
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:   File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 245, in load_files
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:     self.parser = YamlParser(self.global_config, self.plugins_list)
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:   File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/parser.py", line 78, in __init__
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:     self.registry = ModuleRegistry(self.config, plugins_info)
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:   File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/registry.py", line 47, in __init__
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:     Mod = entrypoint.load()
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:   File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2301, in load
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:     self.require(*args, **kwargs)
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:   File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2324, in require
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:     items = working_set.resolve(reqs, env, installer, extras=self.extras)
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:   File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 859, in resolve
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns:     raise VersionConflict(dist, req).with_context(dependent_req)
  Notice: /Stage[main]/Jenkins::Job_builder/Exec[jenkins_jobs_update]/returns: pkg_resources.VersionConflict: (pbr 2.0.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('pbr<2.0,>=1.0.0'))

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1669086/+subscriptions


References