You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by qu...@apache.org on 2018/01/26 10:18:31 UTC

[1/3] libcloud git commit: Made pytest-runner optional

Repository: libcloud
Updated Branches:
  refs/heads/trunk 91257d533 -> ecfde67c4


Made pytest-runner optional

Signed-off-by: Quentin Pradet <qu...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/2ec85aa1
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/2ec85aa1
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/2ec85aa1

Branch: refs/heads/trunk
Commit: 2ec85aa144b3fd293e40abbc84d54c1ce39573f6
Parents: 91257d5
Author: Vlad Glagolev <sc...@vaygr.net>
Authored: Thu Jan 25 11:19:36 2018 -0500
Committer: Quentin Pradet <qu...@apache.org>
Committed: Thu Jan 25 22:11:02 2018 +0400

----------------------------------------------------------------------
 setup.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/2ec85aa1/setup.py
----------------------------------------------------------------------
diff --git a/setup.py b/setup.py
index 2b54296..d752fc1 100644
--- a/setup.py
+++ b/setup.py
@@ -125,6 +125,9 @@ install_requires = ['requests']
 if PY2_pre_279:
     install_requires.append('backports.ssl_match_hostname')
 
+needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
+pytest_runner = ['pytest-runner'] if needs_pytest else []
+
 setup(
     name='apache-libcloud',
     version=read_version_string(),
@@ -141,7 +144,7 @@ setup(
     package_data={'libcloud': get_data_files('libcloud', parent='libcloud')},
     license='Apache License (2.0)',
     url='http://libcloud.apache.org/',
-    setup_requires=['pytest-runner'],
+    setup_requires=pytest_runner,
     tests_require=TEST_REQUIREMENTS,
     cmdclass={
         'apidocs': ApiDocsCommand,


[2/3] libcloud git commit: PEP8++

Posted by qu...@apache.org.
PEP8++

Signed-off-by: Quentin Pradet <qu...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b49357d5
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b49357d5
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b49357d5

Branch: refs/heads/trunk
Commit: b49357d510bc0cf746c078f9b016b9703ad8feaa
Parents: 2ec85aa
Author: Vlad Glagolev <sc...@vaygr.net>
Authored: Thu Jan 25 11:24:04 2018 -0500
Committer: Quentin Pradet <qu...@apache.org>
Committed: Thu Jan 25 22:11:03 2018 +0400

----------------------------------------------------------------------
 setup.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/b49357d5/setup.py
----------------------------------------------------------------------
diff --git a/setup.py b/setup.py
index d752fc1..383fd98 100644
--- a/setup.py
+++ b/setup.py
@@ -167,5 +167,6 @@ setup(
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: Implementation :: CPython',
-        'Programming Language :: Python :: Implementation :: PyPy']
-    )
+        'Programming Language :: Python :: Implementation :: PyPy'
+    ]
+)


[3/3] libcloud git commit: Add changes for #1167

Posted by qu...@apache.org.
Add changes for #1167

Closes #1167


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/ecfde67c
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/ecfde67c
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/ecfde67c

Branch: refs/heads/trunk
Commit: ecfde67c4cc91bec49dfc8baf00f397e28fec5e1
Parents: b49357d
Author: Quentin Pradet <qu...@apache.org>
Authored: Fri Jan 26 14:17:48 2018 +0400
Committer: Quentin Pradet <qu...@apache.org>
Committed: Fri Jan 26 14:17:48 2018 +0400

----------------------------------------------------------------------
 CHANGES.rst | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/ecfde67c/CHANGES.rst
----------------------------------------------------------------------
diff --git a/CHANGES.rst b/CHANGES.rst
index 84581e6..2775535 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -9,6 +9,9 @@ Changes in Apache Libcloud in development
   drop support: two of our test dependencies no longer support them.
   [Quentin Pradet]
 
+- Made pytest-runner optional (GITHUB-1167)
+  [Vlad Glagolev]
+
 Common
 ~~~~~~