Skip to content

Commit dbda097

Browse files
authored
Merge branch 'master' into bugfix/fix-json-parsing-in-process-row
2 parents 65d92e7 + 71f112f commit dbda097

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.travis.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
language: python
22
python:
3-
- "3.5"
43
- "3.6"
5-
- "3.7"
4+
- "3.7.13"
5+
- "3.8"
6+
- "3.9"
67
# command to install dependencies
78
install:
89
- pip install .[dev]

ksql/upload.py

-3
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ def get_rules_list(self, ksqlfile):
4646
yield rule
4747
rule = ""
4848

49-
if rule[-1:] != ";":
50-
raise InvalidQueryError(rule)
51-
5249
def checkExtension(self, filename):
5350
ext = os.path.splitext(filename)[-1].lower()
5451

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fastavro==0.23.6
1414
flake8==3.8.3
1515
idna==2.6
1616
importlib-metadata==1.7.0
17-
ipython==7.16.1
17+
ipython==7.16.3
1818
ipython-genutils==0.2.0
1919
jedi==0.17.2
2020
ksql==0.5.1.1

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@ def get_install_requirements(path):
6464
"Natural Language :: English",
6565
"License :: OSI Approved :: MIT License",
6666
"Programming Language :: Python",
67-
"Programming Language :: Python :: 3.5",
6867
"Programming Language :: Python :: 3.6",
6968
"Programming Language :: Python :: 3.7",
69+
"Programming Language :: Python :: 3.8",
70+
"Programming Language :: Python :: 3.9",
7071
"Topic :: Software Development :: Libraries :: Python Modules"
7172
],
7273
**setuptools_kwargs

tests/unit-tests/test_api.py

+4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ def test_base_api_query(self):
1111
responses.add(responses.POST, "http://dummy.org/query", body="test", status=200, stream=True)
1212
base = BaseAPI("http://dummy.org")
1313
result = base.query("so")
14+
for entry in result:
15+
entry
16+
"""
1417
with self.assertRaises(urllib.error.HTTPError):
1518
for entry in result:
1619
entry
20+
"""

0 commit comments

Comments
 (0)