← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1471891] [NEW] requirements.txt allows for pbr version too old to handle ; sys_platform=='win32'

 

Public bug reported:

Requirements.txt defines the pbr version as
pbr<2.0,>=0.11

but version 0.11 cannot handle the following syntax in the windows
section:

# Windows-only requirements
pywin32;sys_platform=='win32'
wmi;sys_platform=='win32'

This causes the following error when installing neutron.

RequirementParseError: Expected version spec in
pywin32;sys_platform=='win32' at ;sys_platform=='win32'

** Affects: neutron
     Importance: Undecided
         Status: New

** Description changed:

- Requirements.txt defines the pbr version as 
+ Requirements.txt defines the pbr version as
  pbr<2.0,>=0.11
  
- but version 0.11 cannot handle the syntax in the window section:
+ but version 0.11 cannot handle the following syntax in the windows
+ section:
  
  # Windows-only requirements
  pywin32;sys_platform=='win32'
  wmi;sys_platform=='win32'
  
- 
  This causes the following error when installing neutron.
  
  RequirementParseError: Expected version spec in
  pywin32;sys_platform=='win32' at ;sys_platform=='win32'

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1471891

Title:
  requirements.txt allows for pbr version too old to handle
  ;sys_platform=='win32'

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  Requirements.txt defines the pbr version as
  pbr<2.0,>=0.11

  but version 0.11 cannot handle the following syntax in the windows
  section:

  # Windows-only requirements
  pywin32;sys_platform=='win32'
  wmi;sys_platform=='win32'

  This causes the following error when installing neutron.

  RequirementParseError: Expected version spec in
  pywin32;sys_platform=='win32' at ;sys_platform=='win32'

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1471891/+subscriptions


Follow ups

References