Skip to content

Commit 5cb36f2

Browse files
committed
feat: support 3.14 env
1 parent e225763 commit 5cb36f2

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

LSP-basedpyright.sublime-settings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
// so ST package dependecies can be resolved by the LSP server.
3939
// - "sublime_text_33": Similar to "sublime_text" but Python 3.3 forced.
4040
// - "sublime_text_38": Similar to "sublime_text" but Python 3.8 forced.
41-
// - "sublime_text_313": Similar to "sublime_text" but Python 3.13 forced.
41+
// - "sublime_text_314": Similar to "sublime_text" but Python 3.14 forced.
4242
// - "blender": Suitable for people who are developing Blender add-ons. `sys.path` from Blender's embedded
4343
// Python interpreter will be added into "python.analysis.extraPaths". Note that this requires
4444
// invoking Blender, headless, to query the additional Python paths. The setting

plugin/dev_environment/impl/sublime_text.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ def is_available(cls) -> bool:
8989
return 4200 >= ST_VERSION >= 4107
9090

9191

92-
class SublimeText313DevEnvironmentHandler(BaseVersionedSublimeTextDevEnvironmentHandler):
93-
"""This handler will just assume the project uses Python 3.13."""
92+
class SublimeText314DevEnvironmentHandler(BaseVersionedSublimeTextDevEnvironmentHandler):
93+
"""This handler will just assume the project uses Python 3.14."""
9494

95-
python_version = (3, 13)
96-
python_version_no_dot = "313"
95+
python_version = (3, 14)
96+
python_version_no_dot = "314"
9797

9898
@classmethod
9999
def is_available(cls) -> bool:
100-
return ST_VERSION >= 4201
100+
return ST_VERSION >= 4203
101101

102102

103103
def list_all_subclasses(

scripts/update_schema_settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"sublime_text",
99
"sublime_text_33",
1010
"sublime_text_38",
11-
"sublime_text_313",
11+
"sublime_text_314",
1212
"blender",
1313
"gdb"
1414
],
@@ -17,7 +17,7 @@
1717
"Suitable for people who are developing ST python plugins. The Python version which the developed plugin runs on will be used. - `sys.path` from the plugin_host will be added into \"basedpyright.analysis.extraPaths\" so that ST package dependencies can be resolved by the LSP server.",
1818
"Similar to \"sublime_text\" but Python 3.3 forced.",
1919
"Similar to \"sublime_text\" but Python 3.8 forced.",
20-
"Similar to \"sublime_text\" but Python 3.13 forced.",
20+
"Similar to \"sublime_text\" but Python 3.14 forced.",
2121
"Suitable for people who are developing Blender add-ons. `sys.path` from Blender's embedded Python interpreter will be added into \"python.analysis.extraPaths\". Note that this requires invoking Blender, headless, to query the additional Python paths. The setting \"basedpyright.dev_environment_blender.binary\" controls which executable to call to invoke Blender.",
2222
"Suitable for people who are developing GDB automation scripts. `sys.path` from GDB's embedded Python interpreter will be added into \"python.analysis.extraPaths\". Note that this requires invoking GDB, in batch mode, to query the additional Python paths. The setting \"basedpyright.dev_environment_gdb.binary\" controls which exectuable to call to invoke GDB."
2323
]

sublime-package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@
443443
"sublime_text",
444444
"sublime_text_33",
445445
"sublime_text_38",
446-
"sublime_text_313",
446+
"sublime_text_314",
447447
"blender",
448448
"gdb"
449449
],
@@ -452,7 +452,7 @@
452452
"Suitable for people who are developing ST python plugins. The Python version which the developed plugin runs on will be used. - `sys.path` from the plugin_host will be added into \"basedpyright.analysis.extraPaths\" so that ST package dependencies can be resolved by the LSP server.",
453453
"Similar to \"sublime_text\" but Python 3.3 forced.",
454454
"Similar to \"sublime_text\" but Python 3.8 forced.",
455-
"Similar to \"sublime_text\" but Python 3.13 forced.",
455+
"Similar to \"sublime_text\" but Python 3.14 forced.",
456456
"Suitable for people who are developing Blender add-ons. `sys.path` from Blender's embedded Python interpreter will be added into \"python.analysis.extraPaths\". Note that this requires invoking Blender, headless, to query the additional Python paths. The setting \"basedpyright.dev_environment_blender.binary\" controls which executable to call to invoke Blender.",
457457
"Suitable for people who are developing GDB automation scripts. `sys.path` from GDB's embedded Python interpreter will be added into \"python.analysis.extraPaths\". Note that this requires invoking GDB, in batch mode, to query the additional Python paths. The setting \"basedpyright.dev_environment_gdb.binary\" controls which exectuable to call to invoke GDB."
458458
]

0 commit comments

Comments
 (0)