Skip to content

Commit 82edbd2

Browse files
committed
Reveal skip. Remove superfluous dependencies.
1 parent 28fda64 commit 82edbd2

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ python:
1616
install:
1717
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '2' ]]; then pip install -r requirements-py2.txt --use-mirrors; fi
1818
- if [[ ${TRAVIS_PYTHON_VERSION%%.*} == '3' ]]; then pip install -r requirements-py3.txt --use-mirrors; fi
19+
- if [[ ${TRAVIS_PYTHON_VERSION} == 'pypy' ]]; then pip install --upgrade 'git+https://github.com/gjhiggins/isodate#egg=isodate'; fi
20+
- if [[ ${TRAVIS_PYTHON_VERSION} == '2.5' ]]; then pip uninstall simplejson; fi
1921
- python setup.py install
2022
before_script:
21-
- sh -c "if [ $TRAVIS_PYTHON_VERSION = 'pypy' ]; then pip install --upgrade 'git+https://github.com/gjhiggins/isodate#egg=isodate'; fi"
2223
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS rdflibsqla_test;' -U postgres; fi"
2324
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database rdflibsqla_test;' -U postgres; fi"
2425
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS rdflibsqla_test'; fi"

requirements-py2.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1+
-e git+https://github.com/RDFLib/rdflib.git#egg=rdflib
12
psycopg2
23
MySQL-python
3-
-e git+https://github.com/RDFLib/rdflib.git#egg=rdflib

requirements-py3.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
psycopg2
21
-e git+https://github.com/RDFLib/rdflib.git#egg=rdflib
2+
psycopg2
33
-e git+https://github.com/davispuh/MySQL-for-Python-3#egg=MySQL-python

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,15 @@ def find_version(filename):
9797

9898
if sys.version_info[0] >= 3:
9999
from setuptools import setup
100+
assert setup
100101
config.update({'use_2to3': True})
101102
config.update({'src_root': setup_python3()})
102103
else:
103104
if sys.version_info[:2] < (2, 6):
104-
install_requires += ['pysqlite', 'hashlib', 'simplejson']
105+
install_requires += ['pysqlite']
105106
try:
106107
from setuptools import setup
108+
assert setup
107109
config.update({'test_suite': "nose.collector"})
108110
except ImportError:
109111
from distutils.core import setup

test/test_aggregate_graphs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def testAggregateRaw(self):
120120

121121

122122
class GraphAggregates2(unittest.TestCase):
123-
known_issue = True
123+
# known_issue = True
124124

125125
def setUp(self):
126126
memStore = plugin.get('SQLAlchemy', Store)(

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ deps =
2222
nose
2323
git+http://github.com/RDFLib/rdflib#egg=rdflib
2424
SQLAlchemy
25-
hashlib
2625
pysqlite
2726
psycopg2
28-
simplejson
2927
MySQL-python
3028

3129
[testenv:py32]

0 commit comments

Comments
 (0)