File tree Expand file tree Collapse file tree 4 files changed +34
-10
lines changed Expand file tree Collapse file tree 4 files changed +34
-10
lines changed Original file line number Diff line number Diff line change 45
45
- name : Run lint checks
46
46
run : hatch run check
47
47
48
+ build-install :
49
+ name : Test package build and installation
50
+ runs-on : ubuntu-latest
51
+ needs : lint
52
+ steps :
53
+ - uses : actions/checkout@v4
54
+ with :
55
+ persist-credentials : false
56
+ - name : Setup up Python
57
+ uses : actions/setup-python@v5
58
+ with :
59
+ python-version : ' 3.8'
60
+ - name : Upgrade and install tools
61
+ run : |
62
+ python -m pip install -U pip
63
+ python -m pip install -U hatch
64
+ - name : Build package
65
+ run : |
66
+ python -m hatch clean
67
+ python -m hatch build
68
+ - name : Install and check import
69
+ run : |
70
+ python -m pip install dist/snowflake_sqlalchemy-*.whl
71
+ python -c "import snowflake.sqlalchemy; print(snowflake.sqlalchemy.__version__)"
72
+
48
73
test-dialect :
49
74
name : Test dialect ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
50
- needs : lint
75
+ needs : [ lint, build-install ]
51
76
runs-on : ${{ matrix.os }}
52
77
strategy :
53
78
fail-fast : false
93
118
94
119
test-dialect-compatibility :
95
120
name : Test dialect compatibility ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
96
- needs : lint
121
+ needs : [ lint, build-install ]
97
122
runs-on : ${{ matrix.os }}
98
123
strategy :
99
124
fail-fast : false
@@ -139,7 +164,7 @@ jobs:
139
164
140
165
test-dialect-run-v20 :
141
166
name : Test dialect run v20 ${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
142
- needs : lint
167
+ needs : [ lint, build-install ]
143
168
runs-on : ${{ matrix.os }}
144
169
strategy :
145
170
fail-fast : false
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ Source code is also available at:
9
9
10
10
# Release Notes
11
11
12
+ - v1.5.3(Unrelased)
13
+
14
+ - Limit SQLAlchemy to < 2.0.0 before releasing version compatible with 2.0
15
+
12
16
- v1.5.2(April 11, 2024)
13
17
14
18
- Bump min SQLAlchemy to 1.4.19 for outer lateral join
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ classifiers = [
38
38
" Topic :: Software Development :: Libraries :: Application Frameworks" ,
39
39
" Topic :: Software Development :: Libraries :: Python Modules" ,
40
40
]
41
- dependencies = [" snowflake-connector-python" , " SQLAlchemy" ]
41
+ dependencies = [" snowflake-connector-python<4.0.0 " , " SQLAlchemy>=1.4.19,<2.0.0 " ]
42
42
43
43
[tool .hatch .version ]
44
44
path = " src/snowflake/sqlalchemy/version.py"
@@ -73,14 +73,9 @@ exclude = ["/.github"]
73
73
packages = [" src/snowflake" ]
74
74
75
75
[tool .hatch .envs .default ]
76
- extra-dependencies = [" SQLAlchemy<2.0.0,>=1.4.19" ]
77
76
features = [" development" , " pandas" ]
78
77
python = " 3.8"
79
78
80
- [tool .hatch .envs .sa20 ]
81
- extra-dependencies = [" SQLAlchemy>=2.0.0" ]
82
- python = " 3.8"
83
-
84
79
[tool .hatch .envs .default .env-vars ]
85
80
COVERAGE_FILE = " coverage.xml"
86
81
SQLACHEMY_WARN_20 = " 1"
Original file line number Diff line number Diff line change 3
3
#
4
4
# Update this for the versions
5
5
# Don't change the forth version number from None
6
- VERSION = "1.5.2 "
6
+ VERSION = "1.5.3 "
You can’t perform that action at this time.
0 commit comments