cinder latest requirements breaking things, must be a string

Bug #1474219 reported by Victor Laza
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned

Bug Description

The below trace brings into my attention: https://github.com/openstack/cinder/commit/238df8b82e8d078279f98d90cf9bcfd39dd7cbc8
and more specific:

requirements.txt
+enum34;python_version=='2.7' or python_version=='2.6'

that breaks things

04:45:35 error in setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in enum34;python_version=='2.7' or python_version=='2.6' at ;python_version=='2.7' or python_version=='2.6'
04:45:35 ExecRetry : System.Management.Automation.RuntimeException: Failed to install
04:45:35 cinder from repo
04:45:35 At C:\cinder-ci\windows\scripts\create-environment.ps1:147 char:1
04:45:35 + ExecRetry {
04:45:35 + ~~~~~~~~~~~
04:45:35 + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
04:45:35 tion
04:45:35 + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
04:45:35 n,ExecRetry

Victor Laza (vlaza)
affects: neutron → cinder
Revision history for this message
Victor Laza (vlaza) wrote :

Seems also related to pbr==1.3.0 as with 1.2.0 builds were passing

Revision history for this message
Victor Laza (vlaza) wrote :

Seems that capping pbr to 1.2.0 on Windows fixes the problem for now; we will investigate further why latest pbr breaks things on Windows.

Revision history for this message
Amey Bhide (abhide) wrote :

Seems like devstack is downgrading pbr

Might be related to: https://bugs.launchpad.net/devstack/+bug/1468808

Revision history for this message
Amey Bhide (abhide) wrote :

Adding PIP_UPGRADE=True to localrc in devstack; seems to solve this problem for now

Changed in cinder:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.