Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70f0f15

Browse files
NiallEgansusodapop
authored andcommitted
Fix python packaging problem
Looking at https://setuptools.pypa.io/en/latest/userguide/declarative_config.html?highlight=setup.cfg, we did not have the setup.cfg quite right so dependencies were not being installed properly. Verified that `pip install dist/databricks_sql_connector-2.0.0b0-py3-none-any.whl` also installed dependencies
1 parent ca562ab commit 70f0f15

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

cmdexec/clients/python/setup.cfg

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ classifiers =
1313
License :: OSI Approved :: Apache Software License
1414
Operating System :: OS Independent
1515
Topic :: Database :: Front-Ends
16-
install_requires =
17-
thrift >= 0.13.0
18-
pyarrow >= 5.0.0
19-
pandas >= 1.0.0
2016

2117
[options]
2218
package_dir=
2319
=src
2420
packages = find:
2521
python_requires = >=3.7
22+
install_requires =
23+
thrift >= 0.13.0
24+
pyarrow >= 5.0.0
25+
pandas >= 1.0.0
2626

2727
[options.packages.find]
2828
where = src

cmdexec/clients/python/src/databricks/sql/HISTORY

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v2.0.0b1 - March 4, 2022
2+
- Fix packaging issue (dependencies were not being installed properly)
3+
- Fetching timestamp results will now return aware instead of naive timestamps
4+
- The client will now default to using simplified error messages
5+
16
v2.0.0b - February 8, 2022
27
- Initial beta release of V2. V2 is an internal re-write of large parts of the connector to use Databricks edge features. All public APIs from V1 remain.
38
- Added Unity Catalog support (pass catalog and / or schema key word args to the .connect method to select initial schema and catalog)

cmdexec/clients/python/src/databricks/sql/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __repr__(self):
2727
DATE = DBAPITypeObject('date')
2828
ROWID = DBAPITypeObject()
2929

30-
__version__ = "2.0.0b0"
30+
__version__ = "2.0.0b1"
3131
USER_AGENT_NAME = "PyDatabricksSqlConnector"
3232

3333
# These two functions are pyhive legacy

0 commit comments

Comments
 (0)