Skip to content

Commit 249edb9

Browse files
committed
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.
1 parent 8016e59 commit 249edb9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
rdflib>=4.0
2-
keepalive>=0.5

setup.py

+3
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@
5757
platforms = ['any'],
5858
packages = ['SPARQLWrapper'],
5959
install_requires = _install_requires,
60+
extras_require = {
61+
'keepalive': ['keepalive>=0.5'],
62+
},
6063
classifiers = [
6164
'Development Status :: 5 - Production/Stable',
6265
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)