File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 1
- version = '1.1.2 '
1
+ version = '1.2.0a1 '
Original file line number Diff line number Diff line change @@ -15,14 +15,9 @@ def _get_plugin_version_dict():
15
15
)
16
16
_semver = r'''(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)'''
17
17
18
- # not sure why this works in dbt-snowflake:
19
- # it causes setuptools to populate prekind and pre with 'None' strings
20
- # so we just don't parse it
18
+ _pre = r"""((?P<prekind>a|b|rc)(?P<pre>\d+))?"""
19
+ _version_pattern = fr"""version\s*=\s*["']{ _semver } { _pre } ["']"""
21
20
22
- #_pre = r'''((?P<prekind>a|b|rc)(?P<pre>\d+))?'''
23
- #_version_pattern = fr'''version\s*=\s*["']{_semver}{_pre}["']'''
24
-
25
- _version_pattern = fr'''version\s*=\s*["']{ _semver } ["']'''
26
21
with open (_version_path ) as f :
27
22
match = re .search (_version_pattern , f .read ().strip ())
28
23
if match is None :
@@ -32,8 +27,7 @@ def _get_plugin_version_dict():
32
27
33
28
def _get_plugin_version ():
34
29
parts = _get_plugin_version_dict ()
35
- #return "{major}.{minor}.{patch}{prekind}{pre}".format(**parts)
36
- return "{major}.{minor}.{patch}" .format (** parts )
30
+ return "{major}.{minor}.{patch}{prekind}{pre}" .format (** parts )
37
31
38
32
39
33
package_name = "dbt-sqlite"
@@ -63,7 +57,7 @@ def _get_plugin_version():
63
57
]
64
58
},
65
59
install_requires = [
66
- "dbt-core>=1.1 .0"
60
+ "dbt-core>=1.2 .0"
67
61
],
68
62
classifiers = [
69
63
'Development Status :: 4 - Beta' ,
You can’t perform that action at this time.
0 commit comments