Skip to content

Commit 04f7662

Browse files
committed
Merge branch 'release/1.0.2'
2 parents 2ccbadb + 63bb162 commit 04f7662

15 files changed

Lines changed: 47 additions & 17 deletions

docs/auto_examples/all_actions_machine.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"outputs": [],
1010
"source": [
11-
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')"
11+
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')\n# import patch_repr_svg"
1212
]
1313
},
1414
{

docs/auto_examples/guess_the_number_machine.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"outputs": [],
1010
"source": [
11-
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')"
11+
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')\n# import patch_repr_svg"
1212
]
1313
},
1414
{

docs/auto_examples/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Examples
66
Below is a gallery of StateMachine examples.
77

88

9-
.. tip:: Try Python State Machine directly from your browser!
9+
.. tip:: Try Python State Machine directly from your browser! (experimental)
1010

1111
Run our examples and try hacks right now on this `JupyterLab <../lite/lab/index.html>`_
1212

docs/auto_examples/order_control_machine.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"outputs": [],
1010
"source": [
11-
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')"
11+
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')\n# import patch_repr_svg"
1212
]
1313
},
1414
{

docs/auto_examples/order_control_rich_model_machine.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"outputs": [],
1010
"source": [
11-
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')"
11+
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')\n# import patch_repr_svg"
1212
]
1313
},
1414
{

docs/auto_examples/order_control_rich_model_machine.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Since there's still $6 left to fulfill the payment, we cannot process the order.
214214
.. code-block:: none
215215
216216
217-
OrderControl(model=<__main__.Order object at 0x7fe51b7b5fd0>, state_field='state', current_state='waiting_for_payment')
217+
OrderControl(model=<__main__.Order object at 0x7f5730b462e0>, state_field='state', current_state='waiting_for_payment')
218218
219219
220220
@@ -258,7 +258,7 @@ Now paying the left amount, we can proceed.
258258
.. code-block:: none
259259
260260
261-
OrderControl(model=<__main__.Order object at 0x7fe51b7b5fd0>, state_field='state', current_state='processing')
261+
OrderControl(model=<__main__.Order object at 0x7f5730b462e0>, state_field='state', current_state='processing')
262262
263263
264264
@@ -292,7 +292,7 @@ Now paying the left amount, we can proceed.
292292
.. code-block:: none
293293
294294
295-
OrderControl(model=<__main__.Order object at 0x7fe51b7b5fd0>, state_field='state', current_state='shipping')
295+
OrderControl(model=<__main__.Order object at 0x7f5730b462e0>, state_field='state', current_state='shipping')
296296
297297
298298
@@ -391,7 +391,7 @@ Just checking the final expected state
391391
.. code-block:: none
392392
393393
394-
OrderControl(model=<__main__.Order object at 0x7fe51b7b5fd0>, state_field='state', current_state='completed')
394+
OrderControl(model=<__main__.Order object at 0x7f5730b462e0>, state_field='state', current_state='completed')
395395
396396
397397

docs/auto_examples/traffic_light_machine.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"outputs": [],
1010
"source": [
11-
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')"
11+
"# import piplite\n# await piplite.install('python-statemachine[diagrams]')\n# import patch_repr_svg"
1212
]
1313
},
1414
{

docs/releases/1.0.2.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# StateMachine 1.0.2
2+
3+
*January 12, 2023*
4+
5+
6+
StateMachine 1.0.2 fixes a regression bug blocking the library usage on
7+
Python 3.11.
8+
9+
10+
## Bugfixes
11+
12+
- Fixes [#316](https://github.com/fgmacedo/python-statemachine/issues/316) a bad
13+
import of 'inspect.getargspec' that was removed on Python 3.11,
14+
still backwards compatible with older versions.

docs/releases/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Below are release notes through StateMachine and its patch releases.
1515
```{toctree}
1616
:maxdepth: 1
1717
18+
1.0.2
1819
1.0.1
1920
1.0.0
2021

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.0.1
2+
current_version = 1.0.2
33
commit = True
44
tag = True
55

0 commit comments

Comments
 (0)