lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

spyder: 5.4.2 -> 5.4.5

+17 -20
+2 -6
pkgs/development/python-modules/spyder/default.nix
··· 7 7 , cloudpickle 8 8 , cookiecutter 9 9 , diff-match-patch 10 - , flake8 11 10 , intervaltree 12 11 , jedi 13 12 , jellyfish 14 13 , keyring 15 14 , matplotlib 16 - , mccabe 17 15 , nbconvert 18 16 , numpy 19 17 , numpydoc 20 18 , psutil 21 19 , pygments 22 - , pylint 23 20 , pylint-venv 24 21 , pyls-spyder 25 22 , pyopengl ··· 28 25 , python-lsp-server 29 26 , pyxdg 30 27 , pyzmq 31 - , pycodestyle 32 28 , qdarkstyle 33 29 , qstylizer 34 30 , qtawesome ··· 45 41 46 42 buildPythonPackage rec { 47 43 pname = "spyder"; 48 - version = "5.4.2"; 44 + version = "5.4.5"; 49 45 format = "setuptools"; 50 46 51 47 disabled = pythonOlder "3.7"; 52 48 53 49 src = fetchPypi { 54 50 inherit pname version; 55 - hash = "sha256-L8zgT7M7N+P5/9FQgf6ab7afUQXC1afzwUjAp6yKxC8="; 51 + hash = "sha256-/9p/8avjy1c3Dwos9Byx03kfVrRofVQus+Ae5beFnmo="; 56 52 }; 57 53 58 54 patches = [
+15 -14
pkgs/development/python-modules/spyder/dont-clear-pythonpath.patch
··· 1 - Don't remove sys.path entries that come from PYTHONPATH, or else the app cannot 2 - be used in Nixpkgs. 3 - 4 - Author: Bjørn Forsman <bjorn.forsman@gmail.com> 5 - diff -uNr spyder-5.4.0.orig/spyder/app/start.py spyder-5.4.0/spyder/app/start.py 6 - --- spyder-5.4.0.orig/spyder/app/start.py 2022-08-30 02:02:28.000000000 +0200 7 - +++ spyder-5.4.0/spyder/app/start.py 2023-01-02 11:38:28.138744879 +0100 8 - @@ -6,16 +6,8 @@ 1 + diff --git a/spyder/app/start.py b/spyder/app/start.py 2 + index 97b08a600..66486e510 100644 3 + --- a/spyder/app/start.py 4 + +++ b/spyder/app/start.py 5 + @@ -6,20 +6,8 @@ 9 6 # (see spyder/__init__.py for details) 10 7 # ----------------------------------------------------------------------------- 11 - 8 + 12 9 -# Remove PYTHONPATH paths from sys.path before other imports to protect against 13 10 -# shadowed standard libraries. 14 11 import os 15 12 import sys 16 13 -if os.environ.get('PYTHONPATH'): 17 14 - for path in os.environ['PYTHONPATH'].split(os.pathsep): 18 - - try: 19 - - sys.path.remove(path.rstrip(os.sep)) 20 - - except ValueError: 21 - - pass 22 - 15 + - if os.name == 'nt' and 'pkgs' in path: 16 + - # Don't remove pynsist installer entry for 'pkgs' directory 17 + - continue 18 + - else: 19 + - try: 20 + - sys.path.remove(path.rstrip(os.sep)) 21 + - except ValueError: 22 + - pass 23 + 23 24 # Standard library imports 24 25 import ctypes