spyder: 6.1.0a2 -> 6.1.0
Changelog: https://github.com/spyder-ide/spyder/blob/v6.1.0/changelogs/Spyder-6.md
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
pyls-spyder,
|
||||
pyopengl,
|
||||
python-lsp-black,
|
||||
python-lsp-ruff,
|
||||
python-lsp-server,
|
||||
pyuca,
|
||||
pyzmq,
|
||||
@@ -58,12 +59,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spyder";
|
||||
version = "6.1.0a2";
|
||||
version = "6.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-KbGfG9T3XkYXntIQx325mYb0Bh8c0idb+25awFlWD9s=";
|
||||
hash = "sha256-UgDGJJuwNzB0VfAMgGM/UIhNarQ6da18XKE9JGJXRjY=";
|
||||
};
|
||||
|
||||
patches = [ ./dont-clear-pythonpath.patch ];
|
||||
@@ -106,6 +107,7 @@ buildPythonPackage rec {
|
||||
pyopengl
|
||||
pyqtwebengine
|
||||
python-lsp-black
|
||||
python-lsp-ruff
|
||||
python-lsp-server
|
||||
pyuca
|
||||
pyzmq
|
||||
|
||||
@@ -1,21 +1,20 @@
|
||||
diff --git a/spyder/app/start.py b/spyder/app/start.py
|
||||
index ad9f2b8d0..442b4fc46 100644
|
||||
index 3f225a164..10e6017b1 100644
|
||||
--- a/spyder/app/start.py
|
||||
+++ b/spyder/app/start.py
|
||||
@@ -6,16 +6,8 @@
|
||||
# (see spyder/__init__.py for details)
|
||||
# -----------------------------------------------------------------------------
|
||||
@@ -9,15 +9,6 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
-# Remove PYTHONPATH paths from sys.path before other imports to protect against
|
||||
-# shadowed standard libraries.
|
||||
import os
|
||||
import sys
|
||||
-if os.environ.get('PYTHONPATH'):
|
||||
- for path in os.environ['PYTHONPATH'].split(os.pathsep):
|
||||
- try:
|
||||
- sys.path.remove(path.rstrip(os.sep))
|
||||
- except ValueError:
|
||||
- pass
|
||||
-
|
||||
# Remove PYTHONEXECUTABLE. See spyder-ide/spyder#24743
|
||||
os.environ.pop("PYTHONEXECUTABLE", None)
|
||||
|
||||
# Standard library imports
|
||||
import ctypes
|
||||
|
||||
Reference in New Issue
Block a user