Skip to content

Commit 6d470c7

Browse files
committed
bumped version, disabled async server tests
1 parent d3f6c71 commit 6d470c7

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed
File renamed without changes.

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Changelog
22

3-
## v3.1.0 (2023-10-16)
3+
## v3.1.1 (2023-10-16)
44

55
### Updates
66

77
* updated class parameters
8-
* enabled support for async queries in `server_mode` (Linux only)
98
* added additional tests
109

1110
## v3.0.0 (2023-10-11)

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,4 @@ To publish the package to PyPI, run the following command:
193193

194194
::
195195

196-
twine upload dist/pystackql-3.1.0.tar.gz
196+
twine upload dist/pystackql-3.1.1.tar.gz

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# The short X.Y version
2727
version = ''
2828
# The full version, including alpha/beta/rc tags
29-
release = '3.1.0'
29+
release = '3.1.1'
3030

3131

3232
# -- General configuration ---------------------------------------------------

pystackql/stackql.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
_get_version,
88
_format_auth
99
)
10-
import sys, subprocess, json, os, asyncio, functools, psycopg2, platform
10+
import sys, subprocess, json, os, asyncio, functools, psycopg2
1111
from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor
1212
from psycopg2.extras import RealDictCursor
1313
import pandas as pd
@@ -557,10 +557,10 @@ async def executeQueriesAsync(self, queries):
557557
>>> res = stackql.executeQueriesAsync(queries)
558558
559559
Note:
560-
- When operating in `server_mode`, this method is supported only on Linux systems.
560+
- When operating in `server_mode`, this method is not supported.
561561
"""
562-
if self.server_mode and platform.system() != 'Linux':
563-
raise ValueError("executeQueriesAsync in sever_mode not supported on MacOS or Linux.")
562+
if self.server_mode:
563+
raise ValueError("executeQueriesAsync are not supported in sever_mode.")
564564
if self.output not in ['dict', 'pandas']:
565565
raise ValueError("executeQueriesAsync supports only 'dict' or 'pandas' output modes.")
566566
async def main():

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name='pystackql',
13-
version='3.1.0',
13+
version='3.1.1',
1414
description='A Python interface for StackQL',
1515
long_description=readme,
1616
author='Jeffrey Aven',

0 commit comments

Comments
 (0)