Skip to content

Commit 203792f

Browse files
authored
Merge pull request #133 from DanCardin/dc/release
chore: Release.
2 parents eea161c + 69d2be7 commit 203792f

File tree

2 files changed

+55
-79
lines changed

2 files changed

+55
-79
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,16 @@
22

33
### 0.17.0
44

5-
- feat: Add support for Postgres sqlbody functions.
6-
75
## 0.16
86

7+
### 0.16.6
8+
9+
- fix: postgresql parsing of existing function defaults.
10+
11+
### 0.16.5
12+
13+
- feat: Add support for Postgres sqlbody functions.
14+
915
### 0.16.4
1016

1117
- fix: Handle unnamed parameters during normalization and CREATE statements.

pyproject.toml

Lines changed: 47 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,33 @@
11
[project]
22
name = "sqlalchemy-declarative-extensions"
3-
version = "0.16.5"
4-
authors = [
5-
{name = "Dan Cardin", email = "[email protected]"},
6-
]
3+
version = "0.16.6"
4+
authors = [{ name = "Dan Cardin", email = "[email protected]" }]
75
description = "Library to declare additional kinds of objects not natively supported by SQLAlchemy/Alembic."
8-
license = {file = "LICENSE"}
6+
license = { file = "LICENSE" }
97
readme = 'README.md'
108

119
keywords = [
12-
"sqlalchemy",
13-
"alembic",
14-
"declarative",
15-
16-
"mysql",
17-
"postgresql",
18-
"snowflake",
19-
"sqlite",
20-
21-
"schema",
22-
"role",
23-
"grant",
24-
"view",
25-
"function",
26-
"trigger",
27-
]
28-
classifiers = [
29-
"Topic :: Software Development :: Libraries :: Python Modules",
10+
"sqlalchemy",
11+
"alembic",
12+
"declarative",
13+
14+
"mysql",
15+
"postgresql",
16+
"snowflake",
17+
"sqlite",
18+
19+
"schema",
20+
"role",
21+
"grant",
22+
"view",
23+
"function",
24+
"trigger",
3025
]
26+
classifiers = ["Topic :: Software Development :: Libraries :: Python Modules"]
3127

3228
requires-python = ">=3.8,<4"
3329

34-
dependencies = [
35-
"sqlalchemy >= 1.3",
36-
]
30+
dependencies = ["sqlalchemy >= 1.3"]
3731

3832
[project.urls]
3933
documentation = "https://sqlalchemy-declarative-extensions.readthedocs.io/en/latest/"
@@ -47,23 +41,23 @@ parse = ["sqlglot"]
4741

4842
[dependency-groups]
4943
dev = [
50-
"alembic-utils >= 0.8.1",
51-
"coverage >= 5",
52-
"mypy == 1.8.0",
53-
"pymysql[rsa]",
54-
"pytest >= 7",
55-
"pytest-alembic",
56-
"pytest-mock-resources[docker] >= 2.6.13",
57-
"pytest-xdist",
58-
"ruff >= 0.5.0",
59-
"sqlalchemy[mypy] >= 1.4",
60-
"psycopg[binary]",
61-
"psycopg2-binary",
62-
63-
# snowflake
64-
"fakesnow >= 0.9.21; python_version >= '3.9'",
65-
"snowflake-connector-python >= 3.7; python_version >= '3.9'",
66-
"snowflake-sqlalchemy >= 1.6.0; python_version >= '3.9'",
44+
"alembic-utils >= 0.8.1",
45+
"coverage >= 5",
46+
"mypy == 1.8.0",
47+
"pymysql[rsa]",
48+
"pytest >= 7",
49+
"pytest-alembic",
50+
"pytest-mock-resources[docker] >= 2.6.13",
51+
"pytest-xdist",
52+
"ruff >= 0.5.0",
53+
"sqlalchemy[mypy] >= 1.4",
54+
"psycopg[binary]",
55+
"psycopg2-binary",
56+
57+
# snowflake
58+
"fakesnow >= 0.9.21; python_version >= '3.9'",
59+
"snowflake-connector-python >= 3.7; python_version >= '3.9'",
60+
"snowflake-sqlalchemy >= 1.6.0; python_version >= '3.9'",
6761
]
6862

6963
[tool.uv]
@@ -81,11 +75,7 @@ exclude = "tests/examples"
8175
[tool.coverage.report]
8276
show_missing = true
8377
skip_covered = true
84-
exclude_lines = [
85-
"pragma: no cover",
86-
"if TYPE_CHECKING:",
87-
"if __name__ == .__main__.:",
88-
]
78+
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:", "if __name__ == .__main__.:"]
8979

9080
[tool.coverage.run]
9181
include = ["src/*"]
@@ -97,22 +87,16 @@ doctest_optionflags = "NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS"
9787
addopts = "--doctest-modules -vv --ff --strict-markers"
9888
norecursedirs = ".* build dist *.egg bin tests/examples --junitxml=junit.xml"
9989
filterwarnings = [
100-
'error',
101-
'ignore:invalid escape sequence.*',
102-
'ignore:distutils Version classes are deprecated. Use packaging.version instead.:DeprecationWarning',
103-
'ignore:_SixMetaPathImporter.find_spec.*:ImportWarning',
104-
'ignore:`ignore_views` is deprecated, use `ignore` instead:DeprecationWarning',
105-
'ignore:The GenericFunction.*:sqlalchemy.exc.SAWarning',
106-
'ignore:Did not recognize type.*:sqlalchemy.exc.SAWarning',
90+
'error',
91+
'ignore:invalid escape sequence.*',
92+
'ignore:distutils Version classes are deprecated. Use packaging.version instead.:DeprecationWarning',
93+
'ignore:_SixMetaPathImporter.find_spec.*:ImportWarning',
94+
'ignore:`ignore_views` is deprecated, use `ignore` instead:DeprecationWarning',
95+
'ignore:The GenericFunction.*:sqlalchemy.exc.SAWarning',
96+
'ignore:Did not recognize type.*:sqlalchemy.exc.SAWarning',
10797
]
10898
pytester_example_dir = "tests/examples"
109-
markers = [
110-
'grant',
111-
'schema',
112-
'role',
113-
'row',
114-
'alembic',
115-
]
99+
markers = ['grant', 'schema', 'role', 'row', 'alembic']
116100
pmr_multiprocess_safe = true
117101
log_level = 'WARNING'
118102
log_cli_level = 'WARNING'
@@ -125,21 +109,7 @@ target-version = "py37"
125109
select = ["C", "D", "E", "F", "I", "N", "Q", "RET", "RUF", "S", "T", "UP", "YTT"]
126110
ignore = ["C901", "E501", "S101"]
127111
extend-select = ["D"]
128-
extend-ignore = [
129-
"D1",
130-
131-
"D203",
132-
"D204",
133-
"D213",
134-
"D215",
135-
"D400",
136-
"D404",
137-
"D406",
138-
"D407",
139-
"D408",
140-
"D409",
141-
"D413",
142-
]
112+
extend-ignore = ["D1", "D203", "D204", "D213", "D215", "D400", "D404", "D406", "D407", "D408", "D409", "D413"]
143113

144114
[tool.ruff.lint.isort]
145115
known-first-party = ["sqlalchemy_declarative_extensions", "tests"]

0 commit comments

Comments
 (0)