Skip to content

Commit 4d78220

Browse files
authored
Typing Support (ingress.pyi file) (#95)
1 parent 2fa8e29 commit 4d78220

File tree

9 files changed

+1090
-19
lines changed

9 files changed

+1090
-19
lines changed

ci/pip_install_deps.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,7 @@ def main(args):
8080
else:
8181
install_new_pandas_and_numpy()
8282

83-
if (sys.platform == 'darwin') and (platform.processor() == 'i386'):
84-
# Workaround for https://github.com/apache/arrow/issues/41696
85-
# Remove if/once resolved.
86-
# We only seem to get this issue on intel mac.
87-
try_pip_install('pyarrow==16.0.0')
88-
else:
89-
try_pip_install('pyarrow')
83+
try_pip_install('pyarrow')
9084

9185
on_linux_is_glibc = (
9286
(not platform.system() == 'Linux') or
@@ -99,7 +93,8 @@ def main(args):
9993
import pandas
10094
import numpy
10195
import pyarrow
102-
if (sys.version_info >= (3, 8)):
96+
if (sys.version_info >= (3, 8) and sys.version_info < (3, 13)):
97+
# As of this commit, fastparquet does not have a binary built for 3.13
10398
import fastparquet
10499

105100

examples/auth.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from questdb.ingress import Sender, IngressError, TimestampNanos
22
import sys
3-
import datetime
43

54

65
def example(host: str = 'localhost', port: int = 9009):

examples/auth_and_tls.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from questdb.ingress import Sender, IngressError, TimestampNanos
22
import sys
3-
import datetime
43

54

65
def example(host: str = 'localhost', port: int = 9009):

examples/basic.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from questdb.ingress import Sender, IngressError, TimestampNanos
22
import sys
3-
import datetime
43

54

65
def example(host: str = 'localhost', port: int = 9009):

examples/from_conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from questdb.ingress import Sender, IngressError, TimestampNanos
22
import sys
3-
import datetime
43

54

65
def example():

examples/http.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from questdb.ingress import Sender, IngressError, TimestampNanos
22
import sys
3-
import datetime
43

54

65
def example(host: str = 'localhost', port: int = 9009):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ requires = [
5252

5353
[tool.cibuildwheel]
5454
# See: https://cibuildwheel.readthedocs.io/en/stable/options/#configuration-file
55-
build-verbosity = "3"
55+
build-verbosity = 3
5656
before-build = "python {project}/install_rust.py"
5757
before-test = "python {project}/ci/pip_install_deps.py"
5858
test-command = "python {project}/test/test.py -v"

0 commit comments

Comments
 (0)