Update requirement platform checks

pysendfile and xattr cannot be used on Windows, so we had to add
platform checks for those requirements. This has already merged
in the global requirements project.

We now have to pull those changes in glance. Without it, the
requirements test job is failing.

blueprint windows-support

Change-Id: I488537b9490591fa43a0610f7503bc05e1c72134
This commit is contained in:
Lucian Petrut 2019-03-13 14:09:54 +02:00
parent 034a4837c4
commit d7321ada06
2 changed files with 3 additions and 3 deletions

View File

@ -9,4 +9,4 @@ sphinxcontrib-apidoc>=0.2.0 # BSD
whereto>=0.3.0 # Apache-2.0
# needed for apidoc support
xattr>=0.9.2
xattr>=0.9.2;sys_platform!='win32' # MIT

View File

@ -27,6 +27,6 @@ doc8>=0.6.0 # Apache-2.0
# Optional packages that should be installed when testing
PyMySQL>=0.7.6 # MIT License
psycopg2>=2.6.2 # LGPL/ZPL
pysendfile>=2.0.0 # MIT
xattr>=0.9.2 # MIT
pysendfile>=2.0.0;sys_platform!='win32' # MIT
xattr>=0.9.2;sys_platform!='win32' # MIT
python-swiftclient>=3.2.0 # Apache-2.0