Skip to content

Commit 8025299

Browse files
committed
Remove tests around Python 3.6 detection
rdflib 6.0.0 moved us to Python >= 3.7, so the <3.7 tests are now moot. Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
1 parent b5a04ae commit 8025299

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ python_requires = >=3.7
2828
console_scripts =
2929
case_file = case_utils.case_file:main
3030
case_sparql_construct = case_utils.case_sparql_construct:main
31-
# Note that numpy (pandas dependency, and pandas is dependency of case_sparql_select) is only supported in Python >= 3.7.
3231
case_sparql_select = case_utils.case_sparql_select:main
3332

3433
[options.package_data]

tests/Makefile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,8 @@ all-case_sparql_construct: \
7272

7373
all-case_sparql_select: \
7474
.venv.done.log
75-
# Only descend if python>=3.7, due to pandas dependency unsatisfiable in 3.6.x.
76-
# Boolean explanation: sys.exit(False) has exit status 0.
77-
venv/bin/python3 -c 'import sys ; sys.exit(not (sys.version_info < (3, 7)))' \
78-
|| $(MAKE) \
79-
--directory case_sparql_select
75+
$(MAKE) \
76+
--directory case_sparql_select
8077

8178
# These check calls are provided in preferred run-order.
8279
check: \
@@ -106,12 +103,9 @@ check-case_sparql_construct: \
106103

107104
check-case_sparql_select: \
108105
.venv.done.log
109-
# Only descend if python>=3.7, due to pandas dependency unsatisfiable in 3.6.x.
110-
# Boolean explanation: sys.exit(False) has exit status 0.
111-
venv/bin/python3 -c 'import sys ; sys.exit(not (sys.version_info < (3, 7)))' \
112-
|| $(MAKE) \
113-
--directory case_sparql_select \
114-
check
106+
$(MAKE) \
107+
--directory case_sparql_select \
108+
check
115109

116110
check-isomorphic_diff: \
117111
.venv.done.log

0 commit comments

Comments
 (0)