From d7321ada06da3fa3eb1196a0ef126c2faa9f6d73 Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Wed, 13 Mar 2019 14:09:54 +0200 Subject: [PATCH] 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 --- doc/requirements.txt | 2 +- test-requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 83f6935eda..7d87bfcafa 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -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 diff --git a/test-requirements.txt b/test-requirements.txt index 4234414d96..9c754489a8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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