oslo-*: rip
oslo-vmware: rip
oslo-serialization: rip
pycadf: rip
os-brick: rip
taskflow: rip
oslo-utils: rip
oslo-middlewar: rip
oslo-versionedobjects: rip
oslo-messaging: rip
oslo-reports: rip
oslo-db: rip
oslo-rootwrap: rip
oslo-service: rip
oslo-cache: rip
oslo-config: rip
glance_store: rip
networking-hyperv: rip
ryu: rip
keystoneauth1: rip
os-client-config: rip
oslo-log: rip
tempest-lib: rip
oslo-context: rip
oslo-i18n: rip
oslotest: rip
futurist: rip
bandit: rip
cliff: rip
cliff-tablib: rip
oslosphinx: rip
osprofile: rip
os-testr: rip
stevedore: remove oslosphinx from buildInputs
oslo-policy: rip
oslo-concurrency: rip
unused packages:
swiftclient: rip
debtcollector: rip
automaton: rip
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
From f37947a7e083532676a9f2ed079dff6bdc19a8e9 Mon Sep 17 00:00:00 2001
|
||||
From: Sabari Kumar Murugesan <smurugesan@vmware.com>
|
||||
Date: Tue, 15 Sep 2015 14:22:11 -0700
|
||||
Subject: [PATCH] Fix swift store tests for latest swiftclient
|
||||
|
||||
The latest swiftclient (2.6.0) breaks some of the swift store
|
||||
tests as a mock function's parameters got changed.
|
||||
|
||||
Change-Id: I36512fbe642f4f12cf1382fdf0e37eccbf1acba4
|
||||
---
|
||||
glance_store/tests/unit/test_swift_store.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/glance_store/tests/unit/test_swift_store.py b/glance_store/tests/unit/test_swift_store.py
|
||||
index f738cf9..3fe4699 100644
|
||||
--- a/glance_store/tests/unit/test_swift_store.py
|
||||
+++ b/glance_store/tests/unit/test_swift_store.py
|
||||
@@ -92,7 +92,7 @@ def fake_head_container(url, token, container, **kwargs):
|
||||
def fake_put_container(url, token, container, **kwargs):
|
||||
fixture_containers.append(container)
|
||||
|
||||
- def fake_post_container(url, token, container, headers, http_conn=None):
|
||||
+ def fake_post_container(url, token, container, headers, **kwargs):
|
||||
for key, value in six.iteritems(headers):
|
||||
fixture_container_headers[key] = value
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
{ buildPythonPackage, isPyPy, fetchPypi, python
|
||||
, pbr, testtools, testresources, testrepository, mock
|
||||
, pep8, fixtures, mox3, requests-mock
|
||||
, iso8601, requests, six, stevedore, webob, oslo-config
|
||||
, pyyaml, betamax, oauthlib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "keystoneauth1";
|
||||
version = "3.2.0";
|
||||
name = "${pname}-${version}";
|
||||
disabled = isPyPy; # a test fails
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0rg3harfyvai34lrjiqnl1crmvswjvj8nsviasnz4b9pcvp3d03n";
|
||||
};
|
||||
|
||||
buildInputs = [ pbr ];
|
||||
checkInputs = [ pyyaml betamax oauthlib testtools testresources
|
||||
testrepository mock pep8 fixtures mox3 requests-mock ];
|
||||
propagatedBuildInputs = [ iso8601 requests six stevedore webob ];
|
||||
|
||||
doCheck = true;
|
||||
# 1. oslo-config
|
||||
# 2. oslo-utils
|
||||
# 3. requests-kerberos
|
||||
preCheck = ''
|
||||
rm keystoneauth1/tests/unit/loading/test_{session,conf,adapter}.py
|
||||
rm keystoneauth1/tests/unit/access/test_v{2,3}_access.py
|
||||
rm keystoneauth1/tests/unit/extras/kerberos/test_fedkerb_loading.py
|
||||
'';
|
||||
postPatch = ''
|
||||
sed -i 's@python@${python.interpreter}@' .testr.conf
|
||||
substituteInPlace requirements.txt --replace "argparse" ""
|
||||
'';
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, python,
|
||||
pbr, Babel, testrepository, subunit, testtools,
|
||||
coverage, oslosphinx, oslotest, testscenarios, six, ddt
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
version = "0.8.2";
|
||||
pname = "os-testr";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d8a60bd56c541714a5cab4d1996c8ddfdb5c7c35393d55be617803048c170837";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i 's@python@${python.interpreter}@' .testr.conf
|
||||
sed -i 's@python@${python.interpreter}@' os_testr/tests/files/testr-conf
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
export PATH=$PATH:$out/bin
|
||||
${python.interpreter} setup.py test
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ pbr Babel testrepository subunit testtools ];
|
||||
buildInputs = [ coverage oslosphinx oslotest testscenarios six ddt ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A testr wrapper to provide functionality for OpenStack projects";
|
||||
homepage = http://docs.openstack.org/developer/os-testr/;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pbr, six, netaddr, stevedore, mock,
|
||||
debtcollector, rfc3986, pyyaml, oslo-i18n }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oslo.config";
|
||||
version = "4.13.2";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "882e5f1dcc0e5b0d7af877b2df0e2692113c5975db8cbbbf0dd3d2b905aefc0b";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pbr six netaddr stevedore debtcollector rfc3986 pyyaml oslo-i18n ];
|
||||
buildInputs = [ mock ];
|
||||
|
||||
# TODO: circular import on oslo-i18n
|
||||
doCheck = false;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt --replace "argparse" ""
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Oslo Configuration API";
|
||||
homepage = "https://docs.openstack.org/oslo.config/latest/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ makefu ];
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, oslosphinx, pbr, six, argparse }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, pbr, six, argparse }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stevedore";
|
||||
@@ -12,7 +12,6 @@ buildPythonPackage rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ oslosphinx ];
|
||||
propagatedBuildInputs = [ pbr six argparse ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user