sqlalchemy-state-machine 2.0.0__tar.gz → 2.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/.github/workflows/ci.yml +1 -1
  2. sqlalchemy_state_machine-2.2.0/CHANGELOG.md +175 -0
  3. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/PKG-INFO +5 -4
  4. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/README.md +1 -1
  5. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/pyproject.toml +3 -3
  6. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/src/sqlalchemy_state_machine/__init__.py +1 -1
  7. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/tests/test_public_api.py +1 -1
  8. sqlalchemy_state_machine-2.2.0/uv.lock +626 -0
  9. sqlalchemy_state_machine-2.0.0/CHANGELOG.md +0 -189
  10. sqlalchemy_state_machine-2.0.0/uv.lock +0 -597
  11. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/.github/SECURITY.md +0 -0
  12. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/.github/dependabot.yml +0 -0
  13. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/.github/workflows/publish.yml +0 -0
  14. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/.gitignore +0 -0
  15. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/LICENSE +0 -0
  16. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/Makefile +0 -0
  17. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/codecov.yml +0 -0
  18. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/examples/basic_usage.py +0 -0
  19. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/src/sqlalchemy_state_machine/exceptions.py +0 -0
  20. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/src/sqlalchemy_state_machine/machine.py +0 -0
  21. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/src/sqlalchemy_state_machine/mixin.py +0 -0
  22. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/tests/test_examples.py +0 -0
  23. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/tests/test_machine.py +0 -0
  24. {sqlalchemy_state_machine-2.0.0 → sqlalchemy_state_machine-2.2.0}/tests/test_mixin.py +0 -0
@@ -25,7 +25,7 @@ jobs:
25
25
  strategy:
26
26
  fail-fast: false
27
27
  matrix:
28
- python-version: ["3.11", "3.12", "3.13", "3.14"]
28
+ python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
29
29
  steps:
30
30
  - uses: actions/checkout@v4
31
31
  - uses: actions/setup-python@v5
@@ -0,0 +1,175 @@
1
+ # Changelog
2
+
3
+ ## 2.0.0 (2026-07-20)
4
+
5
+ * Update changelog [Pavel Liashkov]
6
+ * feat: modernize state machine library [Pavel Liashkov]
7
+
8
+ ## 1.11.0 (2024-10-18)
9
+
10
+ * Update pipeline [Pavel Liashkov]
11
+ * Update version [Pavel Liashkov]
12
+
13
+ ## 1.10.0 (2023-08-03)
14
+
15
+ * Update sqlalchemy requirement from <1.5,>=1.4 to >=1.4,<2.1 [dependabot[bot]]
16
+ * Update pipeline [Pavel Liashkov]
17
+ * Update version [Pavel Liashkov]
18
+
19
+ ## 1.9.0 (2023-01-19)
20
+
21
+ * Update transitions requirement from <0.9,>=0.8 to >=0.8,<0.10 [dependabot[bot]]
22
+ * Bump version [Pavel Liashkov]
23
+
24
+ ## 1.8.0 (2021-07-26)
25
+
26
+ * Relax reqs version [Pavel Liashkov]
27
+
28
+ ## 1.7.0 (2021-07-23)
29
+
30
+ * Bump sqlalchemy from 1.4.18 to 1.4.19 [dependabot[bot]]
31
+ * Bump sqlalchemy from 1.4.19 to 1.4.22 [dependabot[bot]]
32
+ * Update version.py [Pavel Liashkov]
33
+
34
+ ## 1.6.0 (2021-06-18)
35
+
36
+ * Bump sqlalchemy from 1.4.17 to 1.4.18 [dependabot[bot]]
37
+ * Update version.py [Pavel Liashkov]
38
+
39
+ ## 1.5.0 (2021-06-04)
40
+
41
+ * Bump sqlalchemy from 1.4.15 to 1.4.17 [dependabot[bot]]
42
+ * Update version.py [Pavel Liashkov]
43
+
44
+ ## 1.4.0 (2021-05-18)
45
+
46
+ * Bump sqlalchemy from 1.4.13 to 1.4.15 [dependabot[bot]]
47
+ * Update version.py [Pavel Liashkov]
48
+
49
+ ## 1.3.0 (2021-05-05)
50
+
51
+ * Bump sqlalchemy from 1.4.8 to 1.4.13 [dependabot[bot]]
52
+ * Update version.py [Pavel Liashkov]
53
+
54
+ ## 1.2.0 (2021-04-16)
55
+
56
+ * Bump transitions from 0.8.7 to 0.8.8 [dependabot[bot]]
57
+ * Bump sqlalchemy from 1.4.5 to 1.4.8 [dependabot[bot]]
58
+ * Update version.py [Pavel Liashkov]
59
+
60
+ ## 1.1.0 (2021-04-05)
61
+
62
+ * Bump sqlalchemy from 1.4.0 to 1.4.2 [dependabot[bot]]
63
+ * Bump sqlalchemy from 1.4.2 to 1.4.5 [dependabot[bot]]
64
+ * Bump version [Pavel Liashkov]
65
+
66
+ ## 1.0.0 (2021-03-17)
67
+
68
+ * Add command for check code quality [Pavel Liashkov]
69
+ * Fix githib workflow [Pavel Liashkov]
70
+ * Bump sqlalchemy from 1.3.23 to 1.4.0 [dependabot[bot]]
71
+ * NOTASK: Bump version [Pavel Liashkov]
72
+ * Bump version [Pavel Liashkov]
73
+
74
+ ## 0.5.5 (2021-02-20)
75
+
76
+ * Bump version [Pavel Liashkov]
77
+ * Update Makefile [Pavel Liashkov]
78
+ * Add codecov workflow [Pavel Liashkov]
79
+ * Add codecov badge [Pavel Liashkov]
80
+ * Bump transitions from 0.8.6 to 0.8.7 [dependabot[bot]]
81
+ * Add codecov workflow [Pavel Liashkov]
82
+ * Add codecov badge [Pavel Liashkov]
83
+ * Add codecov settings [Pavel Liashkov]
84
+ * Bump version [Pavel Liashkov]
85
+
86
+ ## 0.5.4 (2021-02-15)
87
+
88
+ * Bump transitions from 0.8.6 to 0.8.7 [dependabot[bot]]
89
+ * Bump version [Pavel Liashkov]
90
+
91
+ ## 0.5.2 (2021-02-02)
92
+
93
+ * Bump sqlalchemy from 1.3.22 to 1.3.23 [dependabot[bot]]
94
+ * Bump version [Pavel Liashkov]
95
+
96
+ ## 0.5.1 (2021-02-01)
97
+
98
+ * Add download count in readme [Pavel Liashkov]
99
+ * Bump version [Pavel Liashkov]
100
+
101
+ ## 0.5.0 (2021-02-01)
102
+
103
+ * Fix package format [Pavel Liashkov]
104
+ * Add licence link to readme [Pavel Liashkov]
105
+ * Change readme format [Pavel Liashkov]
106
+ * Add link on security policy [Pavel Liashkov]
107
+ * NOTASK: Bump version [Pavel Liashkov]
108
+
109
+ ## 0.4.0 (2021-01-13)
110
+
111
+ * Add state mixin [Pavel Liashkov]
112
+
113
+ ## 0.3.3 (2021-01-13)
114
+
115
+ * Update readme [Pavel Liashkov]
116
+
117
+ ## 0.3.2 (2021-01-13)
118
+
119
+ * Fix rst error in readme [Pavel Liashkov]
120
+
121
+ ## 0.3.1 (2021-01-13)
122
+
123
+ * Fix icon url in readme [Pavel Liashkov]
124
+
125
+ ## 0.3.0 (2021-01-13)
126
+
127
+ * Fix github actions [Pavel Liashkov]
128
+ * Add separeted steps lint and tests [Pavel Liashkov]
129
+ * Rename git action job [Pavel Liashkov]
130
+ * Update readme [Pavel Liashkov]
131
+
132
+ ## 0.2.1 (2021-01-08)
133
+
134
+ * Added dependency between jobs in workflow [Pavel Liashkov]
135
+ * Bump version [Pavel Liashkov]
136
+
137
+ ## 0.2.0 (2021-01-08)
138
+
139
+ * Fix dependabot config [Pavel Liashkov]
140
+ * Fix python version in pyproject [Pavel Liashkov]
141
+ * Fix types [Pavel Liashkov]
142
+ * Add LICENSE, fix setup for pypi [Pavel Liashkov]
143
+ * Bump version [Pavel Liashkov]
144
+
145
+ ## 0.1.6 (2021-01-06)
146
+
147
+ * Add config for dependabot [Pavel Liashkov]
148
+
149
+ ## 0.1.5 (2021-01-06)
150
+
151
+ * Merge workflow [Pavel Liashkov]
152
+ * Bump version [Pavel Liashkov]
153
+
154
+ ## 0.1.3 (2021-01-05)
155
+
156
+ * Fix requires [Pavel Liashkov]
157
+
158
+ ## 0.1.2 (2021-01-05)
159
+
160
+ * Fix version settings [Pavel Liashkov]
161
+
162
+ ## 0.1.1 (2021-01-05)
163
+
164
+ * Initial commit [Pavel Liashkov]
165
+ * Add base for helper [Pavel Liashkov]
166
+ * Add helper [Pavel Liashkov]
167
+ * Add lint workflow [Pavel Liashkov]
168
+ * Fix lint workflow [Pavel Liashkov]
169
+ * Add tests [Pavel Liashkov]
170
+ * Add test workflow [Pavel Liashkov]
171
+ * Fix error after linter [Pavel Liashkov]
172
+ * Add publish workflow [Pavel Liashkov]
173
+ * Fix github workflow [Pavel Liashkov]
174
+ * Fix publish workflow [Pavel Liashkov]
175
+
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: sqlalchemy-state-machine
3
- Version: 2.0.0
3
+ Version: 2.2.0
4
4
  Summary: Explicit, typed state transitions for SQLAlchemy models
5
5
  Project-URL: Changelog, https://github.com/bigbag/sqlalchemy-state-machine/blob/main/CHANGELOG.md
6
6
  Project-URL: Homepage, https://github.com/bigbag/sqlalchemy-state-machine
@@ -17,10 +17,11 @@ Classifier: Programming Language :: Python :: 3.11
17
17
  Classifier: Programming Language :: Python :: 3.12
18
18
  Classifier: Programming Language :: Python :: 3.13
19
19
  Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Programming Language :: Python :: 3.15
20
21
  Classifier: Topic :: Database
21
22
  Classifier: Topic :: Software Development :: Libraries
22
23
  Requires-Python: >=3.11
23
- Requires-Dist: sqlalchemy>=2.0.51
24
+ Requires-Dist: sqlalchemy<3.0.0,>=2.0.51
24
25
  Description-Content-Type: text/markdown
25
26
 
26
27
  # sqlalchemy-state-machine
@@ -29,7 +30,7 @@ Explicit, typed state transitions for SQLAlchemy models.
29
30
 
30
31
  ## Requirements
31
32
 
32
- - Python 3.11+ (CI validates Python 3.11, 3.12, 3.13, and 3.14)
33
+ - Python 3.11+ (CI validates Python 3.11, 3.12, 3.13, 3.14, and 3.15)
33
34
  - SQLAlchemy 2.x
34
35
 
35
36
  ## Install
@@ -4,7 +4,7 @@ Explicit, typed state transitions for SQLAlchemy models.
4
4
 
5
5
  ## Requirements
6
6
 
7
- - Python 3.11+ (CI validates Python 3.11, 3.12, 3.13, and 3.14)
7
+ - Python 3.11+ (CI validates Python 3.11, 3.12, 3.13, 3.14, and 3.15)
8
8
  - SQLAlchemy 2.x
9
9
 
10
10
  ## Install
@@ -4,15 +4,15 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "sqlalchemy-state-machine"
7
- version = "2.0.0"
7
+ version = "2.2.0"
8
8
  description = "Explicit, typed state transitions for SQLAlchemy models"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
11
11
  license = "Apache-2.0"
12
12
  authors = [{ name = "Pavel Liashkov", email = "pavel.liashkov@protonmail.com" }]
13
13
  keywords = ["sqlalchemy", "state-machine", "workflow", "transitions"]
14
- classifiers = ["Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Topic :: Database", "Topic :: Software Development :: Libraries"]
15
- dependencies = ["sqlalchemy>=2.0.51"]
14
+ classifiers = ["Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3.15", "Topic :: Database", "Topic :: Software Development :: Libraries"]
15
+ dependencies = ["sqlalchemy>=2.0.51,<3.0.0"]
16
16
 
17
17
  [dependency-groups]
18
18
  dev = ["mypy>=2.3.0", "pytest>=9.1.1", "pytest-cov>=7.1.0", "ruff>=0.15.22"]
@@ -4,7 +4,7 @@ from .exceptions import ConfigurationError, InvalidTransitionError
4
4
  from .machine import StateMachine, Transition
5
5
  from .mixin import StateMachineMixin
6
6
 
7
- __version__ = "2.0.0"
7
+ __version__ = "2.2.0"
8
8
 
9
9
  __all__ = [
10
10
  "ConfigurationError",
@@ -2,7 +2,7 @@ import sqlalchemy_state_machine as state_machine
2
2
 
3
3
 
4
4
  def test_public_api_has_expected_version_and_exports() -> None:
5
- assert state_machine.__version__ == "2.0.0"
5
+ assert state_machine.__version__ == "2.2.0"
6
6
  assert state_machine.__all__ == [
7
7
  "ConfigurationError",
8
8
  "InvalidTransitionError",