diff --git a/dbt/adapters/sqlite/__version__.py b/dbt/adapters/sqlite/__version__.py index d6588af..8fa663b 100644 --- a/dbt/adapters/sqlite/__version__.py +++ b/dbt/adapters/sqlite/__version__.py @@ -1 +1 @@ -version = '1.1.2' +version = '1.2.0a1' diff --git a/setup.py b/setup.py index 150e77a..0e6d53a 100644 --- a/setup.py +++ b/setup.py @@ -15,14 +15,9 @@ def _get_plugin_version_dict(): ) _semver = r'''(?P\d+)\.(?P\d+)\.(?P\d+)''' - # not sure why this works in dbt-snowflake: - # it causes setuptools to populate prekind and pre with 'None' strings - # so we just don't parse it + _pre = r"""((?Pa|b|rc)(?P
\d+))?"""
+    _version_pattern = fr"""version\s*=\s*["']{_semver}{_pre}["']"""
 
-    #_pre = r'''((?Pa|b|rc)(?P
\d+))?'''
-    #_version_pattern = fr'''version\s*=\s*["']{_semver}{_pre}["']'''
-
-    _version_pattern = fr'''version\s*=\s*["']{_semver}["']'''
     with open(_version_path) as f:
         match = re.search(_version_pattern, f.read().strip())
         if match is None:
@@ -32,8 +27,7 @@ def _get_plugin_version_dict():
 
 def _get_plugin_version():
     parts = _get_plugin_version_dict()
-    #return "{major}.{minor}.{patch}{prekind}{pre}".format(**parts)
-    return "{major}.{minor}.{patch}".format(**parts)
+    return "{major}.{minor}.{patch}{prekind}{pre}".format(**parts)
 
 
 package_name = "dbt-sqlite"
@@ -63,7 +57,7 @@ def _get_plugin_version():
         ]
     },
     install_requires=[
-        "dbt-core>=1.1.0"
+        "dbt-core>=1.2.0"
     ],
     classifiers=[
         'Development Status :: 4 - Beta',