Skip to content

Commit ec1cab7

Browse files
committed
Version bump, fix
1 parent e792829 commit ec1cab7

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/source/changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,14 @@ Releases
3939

4040
v3.1.0
4141
===================
42+
- Compatible with Python 3.12
4243
- GUI:
4344

4445
- ViewOnly structured data will display only the data that is provided, meaning
4546
the GUI will not be constructed based on type annotations of an objects, but rather
4647
based on the data itself.
4748
- Better toast notification format and compatibility across multiple DPI screens.
49+
- Graphical object library split into a separate package.
4850

4951
- :class:`daf.logging.LoggerJSON`:
5052
- ``index`` field is now a unique snowflake-like ID (used for removing logs).
@@ -56,6 +58,8 @@ v3.1.0
5658
- Analytics are now supported.
5759
- ``index`` field added in order to allow removal of logs.
5860

61+
- |BREAK_CH| Removed long time deprecated package "framework", which was the original import.
62+
5963

6064
v3.0.4
6165
====================

src/daf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
from .remote import *
1818

1919

20-
VERSION = "3.0.4"
20+
VERSION = "3.1.0"

src/daf_gui/tkclasswiz/object_frame/frame_number.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from .frame_base import *
44
from ..extensions import extendable
55
import tkinter as tk
6-
6+
import tkinter.ttk as ttk
77

88
__all__ = (
99
"NewObjectFrameNumber",
@@ -13,7 +13,7 @@
1313
class NewObjectFrameNumber(NewObjectFrameBase):
1414
def __init__(self, class_: Any, return_widget: Any, parent=None, old_data: Any = None, check_parameters: bool = True, allow_save=True):
1515
super().__init__(class_, return_widget, parent, old_data, check_parameters, allow_save)
16-
self.storage_widget = tk.Spinbox(self.frame_main, from_=-9999, to=9999)
16+
self.storage_widget = ttk.Spinbox(self.frame_main, from_=-9999, to=9999)
1717
self.storage_widget.pack(fill=tk.X)
1818

1919
if old_data is not None: # Edit

src/framework/__init__.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)