[Python-modules-commits] [sparqlwrapper] 02/05: Drop keepalive from requirements.txt (Closes: #846871)

chrysn chrysn-guest at moszumanska.debian.org
Tue Dec 6 08:54:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

chrysn-guest pushed a commit to branch master
in repository sparqlwrapper.

commit 50ce8301ed453915a58dd9403c02dee74f89236d
Author: chrysn <chrysn at fsfe.org>
Date:   Mon Dec 5 19:20:56 2016 +0100

    Drop keepalive from requirements.txt (Closes: #846871)
    
    As keepalive support is a weak dependency (absence makes keepalive
    enabling only raise a warning and otherwise a no-op), listing it as a
    dependency causes trouble with test setups. Demoting it to an extra
    (feature) dependency.
    
    Bug: https://github.com/RDFLib/sparqlwrapper/pull/79
---
 requirements.txt | 1 -
 setup.py         | 3 +++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/requirements.txt b/requirements.txt
index cdd0693..55ec214 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,2 +1 @@
 rdflib>=4.0
-keepalive>=0.5
diff --git a/setup.py b/setup.py
index 5198f46..035525f 100755
--- a/setup.py
+++ b/setup.py
@@ -57,6 +57,9 @@ setup(
       platforms = ['any'],
       packages = ['SPARQLWrapper'],
       install_requires = _install_requires,
+      extras_require = {
+        'keepalive': ['keepalive>=0.5'],
+      },
       classifiers =  [
         'Development Status :: 5 - Production/Stable',
         'Intended Audience :: Developers',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sparqlwrapper.git



More information about the Python-modules-commits mailing list