File tree Expand file tree Collapse file tree 7 files changed +33
-13
lines changed Expand file tree Collapse file tree 7 files changed +33
-13
lines changed Original file line number Diff line number Diff line change 1- sqlalchemy[asyncio]>=2.0
2- aiosqlite== 0.19.0
3- pymssql== 2.2.10
4- asyncpg== 0.29.0
5- asyncmy== 0.2.9
1+ sqlalchemy[asyncio]>=2.0,<3.0
2+ aiosqlite>= 0.19,<0.20
3+ pymssql>= 2.2,<2.3
4+ asyncpg>= 0.29,<0.30
5+ asyncmy>= 0.2,<0.3
Original file line number Diff line number Diff line change 1- pytest== 7.4.3
2- pytest-asyncio== 0.21.1
1+ pytest>= 7.4,<7.5
2+ pytest-asyncio>= 0.21,<0.22
Original file line number Diff line number Diff line change 1- PyNaCl== 1.5.0
1+ PyNaCl>= 1.5,<1.6
Original file line number Diff line number Diff line change 1- selenium== 4.15.2
2- undetected-chromedriver== 3.5.4
3- webdriver-manager== 4.0.1
1+ selenium>= 4.15,<4.16
2+ undetected-chromedriver>= 3.5,<3.6
3+ webdriver-manager>= 4.0,<4 .1
Original file line number Diff line number Diff line change 1616from .convert import *
1717from .remote import *
1818
19+ import sys
20+ import warnings
1921
20- VERSION = "3.1.1"
22+
23+ VERSION = "3.1.2"
24+
25+
26+ if sys .version_info .minor == 12 and sys .version_info .major == 3 :
27+ warnings .warn (
28+ "DAF's support on Python 3.12 is limited. Web browser features and"
29+ " SQL logging are not supported in Python 3.12. Please install Python 3.11 instead."
30+ " Additional GUI may be unstable on Python 3.12"
31+ )
Original file line number Diff line number Diff line change 2121import random as rd
2222import aiohttp as http
2323
24-
2524class GLOBALS :
2625 "Global variables of the web module"
2726 selenium_installed = False
Original file line number Diff line number Diff line change 4747import os
4848import daf
4949import webbrowser
50+ import warnings
5051
5152
5253WIN_UPDATE_DELAY = 0.005
@@ -157,6 +158,15 @@ def __init__(self) -> None:
157158 # Connection
158159 self .connection : AbstractConnectionCLIENT = None
159160
161+
162+ if sys .version_info .minor == 12 and sys .version_info .major == 3 :
163+ tkdiag .Messagebox .show_warning (
164+ "DAF's support on Python 3.12 is limited. Web browser features and"
165+ " SQL logging are not supported in Python 3.12. Please install Python 3.11 instead.\n "
166+ "Additional GUI can be unstable on Python 3.12" ,
167+ "Compatibility warning!"
168+ )
169+
160170 def init_event_listeners (self ):
161171 "Initializes event listeners."
162172 bootstyle_map = {
You can’t perform that action at this time.
0 commit comments