Skip to content

Commit e127bc2

Browse files
committed
changed server_address defaults
1 parent f80c780 commit e127bc2

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

.github/workflows/async_server_tests.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
matrix:
1111
os:
1212
- ubuntu-latest
13-
# - windows-latest
13+
- windows-latest
1414
- macos-latest
1515
python-version:
1616
- "3.7"
@@ -19,11 +19,9 @@ jobs:
1919
- "3.10"
2020
- "3.11"
2121
- "3.12"
22-
exclude:
23-
- os: windows-latest
24-
python-version: "3.12"
25-
# - os: ubuntu-latest
26-
# python-version: "3.12"
22+
# exclude:
23+
# - os: windows-latest
24+
# python-version: "3.12"
2725
runs-on: ${{matrix.os}}
2826
name: 'Run Tests on ${{matrix.os}} with Python ${{matrix.python-version}}'
2927

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
- "3.10"
2020
- "3.11"
2121
- "3.12"
22-
exclude:
23-
- os: windows-latest
24-
python-version: "3.12"
22+
# exclude:
23+
# - os: windows-latest
24+
# python-version: "3.12"
2525
runs-on: ${{matrix.os}}
2626
name: 'Run Tests on ${{matrix.os}} with Python ${{matrix.python-version}}'
2727

pystackql/stackql.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class StackQL:
2222
2323
server_address: The address of the StackQL server (server_mode only).
2424
:type server_address: str
25-
:default: '0.0.0.0'
25+
:default: '127.0.0.1'
2626
2727
server_port: The port of the StackQL server (server_mode only).
2828
:type server_port: int
@@ -264,8 +264,6 @@ def __init__(self,
264264

265265
if self.server_mode:
266266
# server mode, connect to a server via the postgres wire protocol
267-
if this_os == 'Windows':
268-
server_address = '127.0.0.1'
269267
self.server_address = server_address
270268
self.server_port = server_port
271269
# establish the connection

0 commit comments

Comments
 (0)