Changed install scripts and pyproject.toml files to allow installation with Python 3.13. eric7

Wed, 09 Oct 2024 15:48:08 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 09 Oct 2024 15:48:08 +0200
branch
eric7
changeset 10959
377ef1594e36
parent 10958
79842be466d3
child 10960
8b23bcae1f81

Changed install scripts and pyproject.toml files to allow installation with Python 3.13.

docs/changelog.md file | annotate | diff | comparison | revisions
pyproject-server.toml file | annotate | diff | comparison | revisions
pyproject.toml file | annotate | diff | comparison | revisions
scripts/install-debugclients.py file | annotate | diff | comparison | revisions
scripts/install-server.py file | annotate | diff | comparison | revisions
scripts/install.py file | annotate | diff | comparison | revisions
--- a/docs/changelog.md	Tue Oct 08 19:27:23 2024 +0200
+++ b/docs/changelog.md	Wed Oct 09 15:48:08 2024 +0200
@@ -2,6 +2,8 @@
 
 ### Version 24.11
 - bug fixes
+- General
+    - Made the code compatible with Python 3.13.
 - IDE Server
     - Extended the eric-ide server integration in the file browser.
 
--- a/pyproject-server.toml	Tue Oct 08 19:27:23 2024 +0200
+++ b/pyproject-server.toml	Wed Oct 09 15:48:08 2024 +0200
@@ -36,6 +36,7 @@
     "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
     "Programming Language :: Python :: 3.12",
+    "Programming Language :: Python :: 3.13",
     "Programming Language :: Python :: Implementation :: CPython",
     "Topic :: Software Development",
     "Topic :: Software Development :: Debuggers",
@@ -47,7 +48,7 @@
     "IDE",
     "Python3", 
 ]
-requires-python = ">=3.8, <3.13"
+requires-python = ">=3.8, <3.14"
 dependencies = [
     "pip>=21.1",
     "EditorConfig",
--- a/pyproject.toml	Tue Oct 08 19:27:23 2024 +0200
+++ b/pyproject.toml	Wed Oct 09 15:48:08 2024 +0200
@@ -41,6 +41,7 @@
     "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
     "Programming Language :: Python :: 3.12",
+    "Programming Language :: Python :: 3.13",
     "Programming Language :: Python :: Implementation :: CPython",
     "Topic :: Internet :: WWW/HTTP :: Browsers",
     "Topic :: Software Development",
@@ -56,7 +57,7 @@
     "IDE",
     "Python3", 
 ]
-requires-python = ">=3.8, <3.13"
+requires-python = ">=3.8, <3.14"
 dependencies = [
     "pip>=21.1",
     "wheel",
--- a/scripts/install-debugclients.py	Tue Oct 08 19:27:23 2024 +0200
+++ b/scripts/install-debugclients.py	Wed Oct 09 15:48:08 2024 +0200
@@ -351,7 +351,7 @@
         print("\n")
 
     # perform dependency checks
-    if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 13, 0):
+    if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 14, 0):
         print("Sorry, you must have Python 3.8.0 or higher, but less 3.13.0.")
         print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3])))
         exit(5)
--- a/scripts/install-server.py	Tue Oct 08 19:27:23 2024 +0200
+++ b/scripts/install-server.py	Wed Oct 09 15:48:08 2024 +0200
@@ -416,8 +416,8 @@
         print("\n")
 
     # perform dependency checks
-    if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 13, 0):
-        print("Sorry, you must have Python 3.8.0 or higher, but less 3.13.0.")
+    if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 14, 0):
+        print("Sorry, you must have Python 3.8.0 or higher, but less 3.14.0.")
         print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3])))
         exit(5)
 
--- a/scripts/install.py	Tue Oct 08 19:27:23 2024 +0200
+++ b/scripts/install.py	Wed Oct 09 15:48:08 2024 +0200
@@ -1611,8 +1611,8 @@
         print("\n")
 
     # perform dependency checks
-    if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 13, 0):
-        print("Sorry, you must have Python 3.8.0 or higher, but less 3.13.0.")
+    if sys.version_info < (3, 8, 0) or sys.version_info >= (3, 14, 0):
+        print("Sorry, you must have Python 3.8.0 or higher, but less 3.14.0.")
         print("Yours is {0}.".format(".".join(str(v) for v in sys.version_info[:3])))
         exit(5)
 

eric ide

mercurial