Skip to content

Commit

Permalink
Prep for v0.8.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kesmit13 committed Aug 28, 2023
1 parent e8a14be commit 12d4d17
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 17 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ jobs:
pip install -r requirements.txt
pip install -r test-requirements.txt
- name: Install MySQLdb on Linux
if: ${{ matrix.os == 'ubuntu-20.04' }}
run: |
pip install mysqlclient
- name: Install SingleStore package
run: |
pip install .
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = singlestoredb
version = 0.8.3
version = 0.8.4
description = Interface to the SingleStore database and cluster management APIs
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down
2 changes: 1 addition & 1 deletion singlestoredb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"""

__version__ = '0.8.3'
__version__ = '0.8.4'

from .alchemy import create_engine
from .config import options, get_option, set_option, describe_option
Expand Down
20 changes: 10 additions & 10 deletions singlestoredb/tests/test_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ def test_cast_bool_param(self):
assert cbp('enable') is True, cbp('enable')
assert cbp('enabled') is True, cbp('enabled')

assert cbp('false') is True, cbp('false')
assert cbp('f') is True, cbp('f')
assert cbp('False') is True, cbp('False')
assert cbp('F') is True, cbp('F')
assert cbp('FALSE') is True, cbp('FALSE')

assert cbp('off') is True, cbp('off')
assert cbp('no') is True, cbp('no')
assert cbp('disable') is True, cbp('disable')
assert cbp('disabled') is True, cbp('disabled')
assert cbp('false') is False, cbp('false')
assert cbp('f') is False, cbp('f')
assert cbp('False') is False, cbp('False')
assert cbp('F') is False, cbp('F')
assert cbp('FALSE') is False, cbp('FALSE')

assert cbp('off') is False, cbp('off')
assert cbp('no') is False, cbp('no')
assert cbp('disable') is False, cbp('disable')
assert cbp('disabled') is False, cbp('disabled')

with self.assertRaises(ValueError):
cbp('nein')
Expand Down

0 comments on commit 12d4d17

Please sign in to comment.