Skip to content

Bump version: 2.0.2 → 2.0.3 #88

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.0.2
current_version = 2.0.3
commit = True
tag = False

Expand Down
14 changes: 13 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,22 @@
Changelog
=========

2.0.3 (2024-06-06)
------------------

Patch release with bug fixes. No breaking changes.

Bug fixes
~~~~~~~~~
* HTTP timeout wasn't always being correctly applied in the downstream ``c-questdb-client`` dependency.
* ``request_timeout > 0`` will now be enforced. This was always required, but would not error.
* Fixed the source distribution "sdist" package: This allows the package to be installed from source
via "pip install" on previously unsupported platforms (YMMV).

2.0.2 (2024-04-11)
------------------

Patch release with performance bug fix. No breaking changes.
Patch release with a performance bug fix. No breaking changes.

Bug fixes
~~~~~~~~~
Expand Down
17 changes: 17 additions & 0 deletions DEV_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,23 @@ As this is very time-consuming, instead download all targets
(except for Apple Silicon) from the CI.


The "sdist" source distribution
-------------------------------

This is a tarball containing all the sources necessary to build the package
locally.

Its contents are controlled by the ``MANIFEST.in`` file.

To test it:

.. code-block:: bash

./proj clean
./proj sdist
python3 -m pip install dist/*.tar.gz --user -v


Checking `pip install` works
----------------------------

Expand Down
7 changes: 7 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ include proj
recursive-include src *.html
recursive-include src *.pxd
recursive-include src *.pyx
recursive-include src *.h
recursive-include src *.inc
recursive-include src *.py
recursive-include src *.md
recursive-include src *.pxi
recursive-include src *.c
graft pystr-to-utf8
graft c-questdb-client
prune c-questdb-client/src/tests/json_tests.rs
prune c-questdb-client/.git
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ and full-connection encryption with
Quickstart
==========

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

::

Expand Down
1 change: 0 additions & 1 deletion RELEASING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ From a MacOS ARM computer install UTM.

* Download from https://mac.getutm.app/
* Install MacOS X 12.4 (Monterey). See https://docs.getutm.app/guest-support/macos/
* Install Xcode from the App Store
* Install Rust from https://rustup.rs/
* Install Firefox
* Install *all* OFFICIAL Python Releases from Python 3.8 onwards. Use the latest patch version for each minor release.
Expand Down
9 changes: 8 additions & 1 deletion ci/pip_install_deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import textwrap
import platform
import argparse
import os


arg_parser = argparse.ArgumentParser(
Expand Down Expand Up @@ -72,7 +73,13 @@ def main(args):
else:
try_pip_install('pandas')
try_pip_install('numpy')
try_pip_install('pyarrow')
if (sys.platform == 'darwin') and (platform.processor() == 'i386'):
# Workaround for https://github.com/apache/arrow/issues/41696
# Remove if/once resolved.
# We only seem to get this issue on intel mac.
try_pip_install('pyarrow==16.0.0')
else:
try_pip_install('pyarrow')

on_linux_is_glibc = (
(not platform.system() == 'Linux') or
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
year = '2024'
author = 'QuestDB'
copyright = '{0}, {1}'.format(year, author)
version = release = '2.0.2'
version = release = '2.0.3'

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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See: https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
name = "questdb"
requires-python = ">=3.8"
version = "2.0.2"
version = "2.0.3"
description = "QuestDB client library for Python"
readme = "README.rst"
classifiers = [
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def readme():

setup(
name='questdb',
version='2.0.2',
version='2.0.3',
platforms=['any'],
python_requires='>=3.8',
install_requires=[],
Expand Down
2 changes: 1 addition & 1 deletion src/questdb/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.0.2'
__version__ = '2.0.3'
2 changes: 1 addition & 1 deletion src/questdb/ingress.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ import os
# This value is automatically updated by the `bump2version` tool.
# If you need to update it, also update the search definition in
# .bumpversion.cfg.
VERSION = '2.0.2'
VERSION = '2.0.3'


cdef bint _has_gil(PyThreadState** gs):
Expand Down
8 changes: 4 additions & 4 deletions test/system_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import questdb.ingress as qi


QUESTDB_VERSION = '7.3.7'
QUESTDB_VERSION = '8.0.0'
QUESTDB_PLAIN_INSTALL_PATH = None
QUESTDB_AUTH_INSTALL_PATH = None

Expand Down Expand Up @@ -106,7 +106,7 @@ def _test_scenario(self, qdb, protocol, **kwargs):
{'name': 'name_b', 'type': 'BOOLEAN'},
{'name': 'name_c', 'type': 'LONG'},
{'name': 'name_d', 'type': 'DOUBLE'},
{'name': 'name_e', 'type': 'STRING'},
{'name': 'name_e', 'type': 'VARCHAR'},
{'name': 'timestamp', 'type': 'TIMESTAMP'}]
self.assertEqual(resp['columns'], exp_columns)

Expand Down Expand Up @@ -172,7 +172,7 @@ def test_basic_dataframe(self):
exp_columns = [
{'name': 'col_e', 'type': 'SYMBOL'},
{'name': 'col_a', 'type': 'LONG'},
{'name': 'col_b', 'type': 'STRING'},
{'name': 'col_b', 'type': 'VARCHAR'},
{'name': 'col_c', 'type': 'BOOLEAN'},
{'name': 'col_d', 'type': 'DOUBLE'},
{'name': 'col_f', 'type': 'TIMESTAMP'},
Expand Down Expand Up @@ -215,7 +215,7 @@ def test_http(self):
{'name': 'name_b', 'type': 'BOOLEAN'},
{'name': 'name_c', 'type': 'LONG'},
{'name': 'name_d', 'type': 'DOUBLE'},
{'name': 'name_e', 'type': 'STRING'},
{'name': 'name_e', 'type': 'VARCHAR'},
{'name': 'timestamp', 'type': 'TIMESTAMP'}]
self.assertEqual(resp['columns'], exp_columns)

Expand Down
Loading