From a7c96408dd6d1bb884a882004771df873b0327fa Mon Sep 17 00:00:00 2001 From: Scott Gunn <99990724+sagunn-echo@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:00:53 -0700 Subject: [PATCH 1/2] Update setup.py Explicitly defining utf-8 encoding to avoid UnicodeDecodeError on setup.py in Windows environment --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1441b2c..b463b88 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,7 @@ def _core_version(plugin_version: str = _plugin_version()) -> str: name="dbt-mysql", version=_plugin_version(), description="The MySQL adapter plugin for dbt", - long_description=README.read_text(), + long_description=README.read_text(encoding='utf-8'), long_description_content_type="text/markdown", author="Doug Beatty", author_email="doug.beatty@gmail.com", From 51018ce531eea096f977f7b7a62f7739f72cb3c1 Mon Sep 17 00:00:00 2001 From: Scott Gunn <99990724+sagunn-echo@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:12:17 -0700 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d79f1bf..e89c5e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Fixes - Fix incremental composite keys ([#144](https://github.com/dbeatty10/dbt-mysql/issues/144)) +- Fix UnicodeDecodeErorr on setup.py ([#160](https://github.com/dbeatty10/dbt-mysql/issues/160)) ### Contributors - [@lpezet](https://github.com/lpezet) ([#146](https://github.com/dbeatty10/dbt-mysql/pull/146), [#144](https://github.com/dbeatty10/dbt-mysql/issues/144))