Skip to content

Commit c3969d6

Browse files
authored
Bump version: 2.0.2 → 2.0.3 (#88)
1 parent fd94680 commit c3969d6

13 files changed

+56
-14
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 2.0.2
2+
current_version = 2.0.3
33
commit = True
44
tag = False
55

CHANGELOG.rst

+13-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,22 @@
33
Changelog
44
=========
55

6+
2.0.3 (2024-06-06)
7+
------------------
8+
9+
Patch release with bug fixes. No breaking changes.
10+
11+
Bug fixes
12+
~~~~~~~~~
13+
* HTTP timeout wasn't always being correctly applied in the downstream ``c-questdb-client`` dependency.
14+
* ``request_timeout > 0`` will now be enforced. This was always required, but would not error.
15+
* Fixed the source distribution "sdist" package: This allows the package to be installed from source
16+
via "pip install" on previously unsupported platforms (YMMV).
17+
618
2.0.2 (2024-04-11)
719
------------------
820

9-
Patch release with performance bug fix. No breaking changes.
21+
Patch release with a performance bug fix. No breaking changes.
1022

1123
Bug fixes
1224
~~~~~~~~~

DEV_NOTES.rst

+17
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,23 @@ As this is very time-consuming, instead download all targets
108108
(except for Apple Silicon) from the CI.
109109

110110

111+
The "sdist" source distribution
112+
-------------------------------
113+
114+
This is a tarball containing all the sources necessary to build the package
115+
locally.
116+
117+
Its contents are controlled by the ``MANIFEST.in`` file.
118+
119+
To test it:
120+
121+
.. code-block:: bash
122+
123+
./proj clean
124+
./proj sdist
125+
python3 -m pip install dist/*.tar.gz --user -v
126+
127+
111128
Checking `pip install` works
112129
----------------------------
113130

MANIFEST.in

+7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ include proj
99
recursive-include src *.html
1010
recursive-include src *.pxd
1111
recursive-include src *.pyx
12+
recursive-include src *.h
13+
recursive-include src *.inc
14+
recursive-include src *.py
15+
recursive-include src *.md
16+
recursive-include src *.pxi
17+
recursive-include src *.c
18+
graft pystr-to-utf8
1219
graft c-questdb-client
1320
prune c-questdb-client/src/tests/json_tests.rs
1421
prune c-questdb-client/.git

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ and full-connection encryption with
1818
Quickstart
1919
==========
2020

21-
The latest version of the library is 2.0.2 (`changelog <https://py-questdb-client.readthedocs.io/en/latest/changelog.html>`_).
21+
The latest version of the library is 2.0.3 (`changelog <https://py-questdb-client.readthedocs.io/en/latest/changelog.html>`_).
2222

2323
::
2424

RELEASING.rst

-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ From a MacOS ARM computer install UTM.
6161

6262
* Download from https://mac.getutm.app/
6363
* Install MacOS X 12.4 (Monterey). See https://docs.getutm.app/guest-support/macos/
64-
* Install Xcode from the App Store
6564
* Install Rust from https://rustup.rs/
6665
* Install Firefox
6766
* Install *all* OFFICIAL Python Releases from Python 3.8 onwards. Use the latest patch version for each minor release.

ci/pip_install_deps.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import textwrap
55
import platform
66
import argparse
7+
import os
78

89

910
arg_parser = argparse.ArgumentParser(
@@ -72,7 +73,13 @@ def main(args):
7273
else:
7374
try_pip_install('pandas')
7475
try_pip_install('numpy')
75-
try_pip_install('pyarrow')
76+
if (sys.platform == 'darwin') and (platform.processor() == 'i386'):
77+
# Workaround for https://github.com/apache/arrow/issues/41696
78+
# Remove if/once resolved.
79+
# We only seem to get this issue on intel mac.
80+
try_pip_install('pyarrow==16.0.0')
81+
else:
82+
try_pip_install('pyarrow')
7683

7784
on_linux_is_glibc = (
7885
(not platform.system() == 'Linux') or

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
year = '2024'
2121
author = 'QuestDB'
2222
copyright = '{0}, {1}'.format(year, author)
23-
version = release = '2.0.2'
23+
version = release = '2.0.3'
2424

2525
github_repo_url = 'https://github.com/questdb/py-questdb-client'
2626

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See: https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
33
name = "questdb"
44
requires-python = ">=3.8"
5-
version = "2.0.2"
5+
version = "2.0.3"
66
description = "QuestDB client library for Python"
77
readme = "README.rst"
88
classifiers = [

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def readme():
165165

166166
setup(
167167
name='questdb',
168-
version='2.0.2',
168+
version='2.0.3',
169169
platforms=['any'],
170170
python_requires='>=3.8',
171171
install_requires=[],

src/questdb/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.0.2'
1+
__version__ = '2.0.3'

src/questdb/ingress.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ import os
8686
# This value is automatically updated by the `bump2version` tool.
8787
# If you need to update it, also update the search definition in
8888
# .bumpversion.cfg.
89-
VERSION = '2.0.2'
89+
VERSION = '2.0.3'
9090

9191

9292
cdef bint _has_gil(PyThreadState** gs):

test/system_test.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import questdb.ingress as qi
2727

2828

29-
QUESTDB_VERSION = '7.3.7'
29+
QUESTDB_VERSION = '8.0.0'
3030
QUESTDB_PLAIN_INSTALL_PATH = None
3131
QUESTDB_AUTH_INSTALL_PATH = None
3232

@@ -106,7 +106,7 @@ def _test_scenario(self, qdb, protocol, **kwargs):
106106
{'name': 'name_b', 'type': 'BOOLEAN'},
107107
{'name': 'name_c', 'type': 'LONG'},
108108
{'name': 'name_d', 'type': 'DOUBLE'},
109-
{'name': 'name_e', 'type': 'STRING'},
109+
{'name': 'name_e', 'type': 'VARCHAR'},
110110
{'name': 'timestamp', 'type': 'TIMESTAMP'}]
111111
self.assertEqual(resp['columns'], exp_columns)
112112

@@ -172,7 +172,7 @@ def test_basic_dataframe(self):
172172
exp_columns = [
173173
{'name': 'col_e', 'type': 'SYMBOL'},
174174
{'name': 'col_a', 'type': 'LONG'},
175-
{'name': 'col_b', 'type': 'STRING'},
175+
{'name': 'col_b', 'type': 'VARCHAR'},
176176
{'name': 'col_c', 'type': 'BOOLEAN'},
177177
{'name': 'col_d', 'type': 'DOUBLE'},
178178
{'name': 'col_f', 'type': 'TIMESTAMP'},
@@ -215,7 +215,7 @@ def test_http(self):
215215
{'name': 'name_b', 'type': 'BOOLEAN'},
216216
{'name': 'name_c', 'type': 'LONG'},
217217
{'name': 'name_d', 'type': 'DOUBLE'},
218-
{'name': 'name_e', 'type': 'STRING'},
218+
{'name': 'name_e', 'type': 'VARCHAR'},
219219
{'name': 'timestamp', 'type': 'TIMESTAMP'}]
220220
self.assertEqual(resp['columns'], exp_columns)
221221

0 commit comments

Comments
 (0)