Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #311201 from Sigmanificient/python-revemove-38

python3Packages.{pxml,cadquery,globre,cryptacular,pathlib}, cq-editor: remove

authored by Martin Weinelt and committed by GitHub 0cb78770 eb078122

+10 -311
-63
pkgs/applications/graphics/cq-editor/default.nix
··· 1 - { lib 2 - , mkDerivationWith 3 - , python3Packages 4 - , fetchFromGitHub 5 - , wrapQtAppsHook 6 - }: 7 - 8 - mkDerivationWith python3Packages.buildPythonApplication rec { 9 - pname = "cq-editor"; 10 - version = "0.1.1"; 11 - 12 - src = fetchFromGitHub { 13 - owner = "CadQuery"; 14 - repo = "CQ-editor"; 15 - rev = version; 16 - sha256 = "1970izjaa60r5cg9i35rzz9lk5c5d8q1vw1rh2skvfbf63z1hnzv"; 17 - }; 18 - 19 - patches = [ 20 - ./spyder4.patch 21 - ]; 22 - 23 - propagatedBuildInputs = with python3Packages; [ 24 - cadquery 25 - logbook 26 - pyqt5 27 - pyparsing 28 - pyqtgraph 29 - spyder 30 - path 31 - qtconsole 32 - requests 33 - ]; 34 - 35 - nativeBuildInputs = [ wrapQtAppsHook ]; 36 - preFixup = '' 37 - makeWrapperArgs+=("''${qtWrapperArgs[@]}") 38 - ''; 39 - 40 - nativeCheckInputs = with python3Packages; [ 41 - pytest 42 - pytest-xvfb 43 - pytest-mock 44 - pytest-cov 45 - pytest-repeat 46 - pytest-qt 47 - ]; 48 - 49 - checkPhase = '' 50 - pytest --no-xvfb 51 - ''; 52 - 53 - # requires X server 54 - doCheck = false; 55 - 56 - meta = with lib; { 57 - description = "CadQuery GUI editor based on PyQT"; 58 - homepage = "https://github.com/CadQuery/CQ-editor"; 59 - license = licenses.asl20; 60 - maintainers = with maintainers; [ costrouc marcus7070 ]; 61 - }; 62 - 63 - }
-100
pkgs/development/python-modules/cadquery/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , toPythonModule 4 - , pythonOlder 5 - , pythonAtLeast 6 - , fetchFromGitHub 7 - , pyparsing 8 - , opencascade-occt 9 - , stdenv 10 - , python 11 - , cmake 12 - , swig 13 - , freetype 14 - , libGL 15 - , libGLU 16 - , libX11 17 - , six 18 - , pytest 19 - , makeFontsConf 20 - , freefont_ttf 21 - , Cocoa 22 - }: 23 - 24 - let 25 - pythonocc-core-cadquery = toPythonModule (stdenv.mkDerivation { 26 - pname = "pythonocc-core-cadquery"; 27 - version = "0.18.2"; 28 - format = "setuptools"; 29 - 30 - src = fetchFromGitHub { 31 - owner = "CadQuery"; 32 - repo = "pythonocc-core"; 33 - # no proper release to to use, this commit copied from the Anaconda receipe 34 - rev = "701e924ae40701cbe6f9992bcbdc2ef22aa9b5ab"; 35 - sha256 = "07zmiiw74dyj4v0ar5vqkvk30wzcpjjzbi04nsdk5mnlzslmyi6c"; 36 - }; 37 - 38 - nativeBuildInputs = [ 39 - cmake 40 - swig 41 - ]; 42 - 43 - buildInputs = [ 44 - python 45 - opencascade-occt 46 - freetype 47 - libGL 48 - libGLU 49 - libX11 50 - ] ++ lib.optionals stdenv.isDarwin [ Cocoa ]; 51 - 52 - propagatedBuildInputs = [ 53 - six 54 - ]; 55 - 56 - cmakeFlags = [ 57 - "-Wno-dev" 58 - "-DPYTHONOCC_INSTALL_DIRECTORY=${placeholder "out"}/${python.sitePackages}/OCC" 59 - ]; 60 - }); 61 - 62 - in 63 - buildPythonPackage rec { 64 - pname = "cadquery"; 65 - version = "2.0"; 66 - 67 - src = fetchFromGitHub { 68 - owner = "CadQuery"; 69 - repo = pname; 70 - rev = version; 71 - sha256 = "1n63b6cjjrdwdfmwq0zx1xabjnhndk9mgfkm4w7z9ardcfpvg84l"; 72 - }; 73 - 74 - buildInputs = [ 75 - opencascade-occt 76 - ]; 77 - 78 - propagatedBuildInputs = [ 79 - pyparsing 80 - pythonocc-core-cadquery 81 - ]; 82 - 83 - FONTCONFIG_FILE = makeFontsConf { 84 - fontDirectories = [ freefont_ttf ]; 85 - }; 86 - 87 - nativeCheckInputs = [ 88 - pytest 89 - ]; 90 - 91 - disabled = pythonOlder "3.6" || pythonAtLeast "3.8"; 92 - 93 - meta = with lib; { 94 - description = "Parametric scripting language for creating and traversing CAD models"; 95 - homepage = "https://github.com/CadQuery/cadquery"; 96 - license = licenses.asl20; 97 - maintainers = with maintainers; [ marcus7070 ]; 98 - broken = true; 99 - }; 100 - }
-27
pkgs/development/python-modules/cryptacular/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast 2 - , coverage, nose, pbkdf2 }: 3 - 4 - buildPythonPackage rec { 5 - pname = "cryptacular"; 6 - version = "1.6.2"; 7 - format = "setuptools"; 8 - 9 - src = fetchPypi { 10 - inherit pname version; 11 - sha256 = "7b529cb2b8a3c7e5be77921bf1ebc653d4d3a8f791375cc6f971b20db2404176"; 12 - }; 13 - 14 - buildInputs = [ coverage nose ]; 15 - propagatedBuildInputs = [ pbkdf2 ]; 16 - 17 - # TODO: tests fail: TypeError: object of type 'NoneType' has no len() 18 - doCheck = false; 19 - 20 - # Python >=2.7.15, >=3.6.5 are incompatible: 21 - # https://bitbucket.org/dholth/cryptacular/issues/11 22 - disabled = isPy27 || pythonAtLeast "3.6"; 23 - 24 - meta = with lib; { 25 - maintainers = with maintainers; [ domenkozar ]; 26 - }; 27 - }
-29
pkgs/development/python-modules/globre/default.nix
··· 1 - { lib 2 - , pythonAtLeast 3 - , buildPythonPackage 4 - , fetchPypi 5 - , nose 6 - , coverage 7 - }: 8 - 9 - buildPythonPackage rec { 10 - pname = "globre"; 11 - version = "0.1.5"; 12 - format = "setuptools"; 13 - # https://github.com/metagriffin/globre/issues/7 14 - disabled = pythonAtLeast "3.7"; 15 - 16 - src = fetchPypi { 17 - inherit pname version; 18 - sha256 = "1qhjpg0722871dm5m7mmldf6c7mx58fbdvk1ix5i3s9py82448gf"; 19 - }; 20 - 21 - nativeCheckInputs = [ nose coverage ]; 22 - 23 - meta = with lib; { 24 - homepage = "https://github.com/metagriffin/globre"; 25 - description = "A python glob-like regular expression generation library."; 26 - maintainers = with maintainers; [ glittershark ]; 27 - license = licenses.gpl3; 28 - }; 29 - }
-27
pkgs/development/python-modules/pathlib/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , unittestCheckHook 5 - , pythonAtLeast 6 - }: 7 - 8 - buildPythonPackage rec { 9 - pname = "pathlib"; 10 - version = "1.0.1"; 11 - format = "setuptools"; 12 - disabled = pythonAtLeast "3.4"; # Was added to std library in Python 3.4 13 - 14 - src = fetchPypi { 15 - inherit pname version; 16 - sha256 = "17zajiw4mjbkkv6ahp3xf025qglkj0805m9s41c45zryzj6p2h39"; 17 - }; 18 - 19 - nativeCheckInputs = [ unittestCheckHook ]; 20 - 21 - meta = { 22 - description = "Object-oriented filesystem paths"; 23 - homepage = "https://pathlib.readthedocs.org/"; 24 - license = lib.licenses.mit; 25 - maintainers = with lib.maintainers; [ ]; 26 - }; 27 - }
-37
pkgs/development/python-modules/pxml/default.nix
··· 1 - { lib 2 - , pythonAtLeast 3 - , buildPythonPackage 4 - , fetchPypi 5 - , blessings 6 - , six 7 - , nose 8 - , coverage 9 - }: 10 - 11 - buildPythonPackage rec { 12 - pname = "pxml"; 13 - version = "0.2.13"; 14 - format = "setuptools"; 15 - disabled = pythonAtLeast "3.8"; 16 - 17 - src = fetchPypi { 18 - inherit pname version; 19 - sha256 = "0c9zzfv6ciyf9qm7556wil45xxgykg1cj8isp1b88gimwcb2hxg4"; 20 - }; 21 - 22 - propagatedBuildInputs = [ blessings six ]; 23 - nativeCheckInputs = [ nose coverage ]; 24 - 25 - # test_prefixedWhitespace fails due to a python3 StringIO issue requiring 26 - # bytes rather than str 27 - checkPhase = '' 28 - nosetests -e 'test_prefixedWhitespace' 29 - ''; 30 - 31 - meta = with lib; { 32 - homepage = "https://github.com/metagriffin/pxml"; 33 - description = ''A python library and command-line tool to "prettify" and colorize XML.''; 34 - maintainers = with maintainers; [ glittershark ]; 35 - license = licenses.gpl3; 36 - }; 37 - }
+1 -5
pkgs/development/python-modules/pyscss/default.nix
··· 3 3 , fetchFromGitHub 4 4 , pytestCheckHook 5 5 , six 6 - , enum34 7 - , pathlib 8 - , pythonOlder 9 6 }: 10 7 11 8 buildPythonPackage rec { ··· 21 18 22 19 nativeCheckInputs = [ pytestCheckHook ]; 23 20 24 - propagatedBuildInputs = [ six ] 25 - ++ lib.optionals (pythonOlder "3.4") [ enum34 pathlib ]; 21 + propagatedBuildInputs = [ six ]; 26 22 27 23 # Test suite is broken. 28 24 # See https://github.com/Kronuz/pyScss/issues/415
+1 -4
pkgs/development/python-modules/slicedimage/default.nix
··· 3 3 , fetchFromGitHub 4 4 , boto3 5 5 , diskcache 6 - , enum34 7 6 , packaging 8 - , pathlib 9 7 , numpy 10 8 , requests 11 9 , scikit-image 12 10 , six 13 11 , pytestCheckHook 14 - , isPy27 15 12 , tifffile 16 13 }: 17 14 ··· 36 33 scikit-image 37 34 six 38 35 tifffile 39 - ] ++ lib.optionals isPy27 [ pathlib enum34 ]; 36 + ]; 40 37 41 38 nativeCheckInputs = [ 42 39 pytestCheckHook
+2 -5
pkgs/development/python-modules/sqlbag/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , isPy27 5 4 , psycopg2 6 5 , pymysql 7 6 , sqlalchemy 8 - , pathlib 9 7 , six 10 8 , flask 11 9 , pendulum ··· 17 15 , pytest-sugar 18 16 , postgresql 19 17 , postgresqlTestHook 20 - , 21 18 }: 22 19 buildPythonPackage rec { 23 20 pname = "sqlbag"; ··· 46 43 pymysql 47 44 48 45 setuptools # needed for 'pkg_resources' 49 - ] 50 - ++ lib.optional isPy27 pathlib; 46 + ]; 51 47 52 48 nativeCheckInputs = [ 53 49 pytestCheckHook ··· 91 87 homepage = "https://github.com/djrobstep/sqlbag"; 92 88 license = with licenses; [ unlicense ]; 93 89 maintainers = with maintainers; [ soispha ]; 90 + broken = true; # Fails to build against the current flask version 94 91 }; 95 92 }
+1
pkgs/top-level/aliases.nix
··· 231 231 clang_10 = throw "clang_10 has been removed from nixpkgs"; # Added 2024-01-26 232 232 clang_11 = throw "clang_11 has been removed from nixpkgs"; # Added 2023-01-24 233 233 234 + cq-editor = throw "cq-editor has been removed, as it use a dependency that was disabled since python 3.8 and was last updated in 2021"; # Added 2024-05-13 234 235 ### D ### 235 236 236 237 dagger = throw "'dagger' has been removed from nixpkgs, as the trademark policy of the upstream project is incompatible"; # Added 2023-10-16
-2
pkgs/top-level/all-packages.nix
··· 30169 30169 30170 30170 cplay-ng = callPackage ../applications/audio/cplay-ng { }; 30171 30171 30172 - cq-editor = libsForQt5.callPackage ../applications/graphics/cq-editor { }; 30173 - 30174 30172 cqrlog = callPackage ../applications/radio/cqrlog { 30175 30173 hamlib = hamlib_4; 30176 30174 };
+5
pkgs/top-level/python-aliases.nix
··· 80 80 bt_proximity = bt-proximity; # added 2021-07-02 81 81 BTrees = btrees; # added 2023-02-19 82 82 cacheyou = throw "cacheyou has been removed, as it was no longer used for the only consumer pdm"; # added 2023-12-21 83 + cadquery = throw "cadquery was removed, because it was disabled on all python version since 3.8 and marked as broken"; # added 2024-05-13 83 84 carrot = throw "carrot has been removed, as its development was discontinued in 2012"; # added 2022-01-18 84 85 cchardet = faust-cchardet; # added 2023-03-02 85 86 cepa = throw "cepa has been removed, as onionshare switched back to stem"; # added 2024-05-07 ··· 93 94 coronavirus = throw "coronavirus was removed, because the source is not providing the data anymore."; # added 2023-05-04 94 95 covCore = cov-core; # added 2024-01-03 95 96 cozy = throw "cozy was removed because it was not actually https://pypi.org/project/Cozy/."; # added 2022-01-14 97 + cryptacular = throw "cryptacular was removed, because it was disabled on all python version since 3.6 and last updated in 2021"; # Added 2024-05-13 96 98 cryptography_vectors = "cryptography_vectors is no longer exposed in python*Packages because it is used for testing cryptography only."; # Added 2022-03-23 97 99 cx_Freeze = cx-freeze; # added 2023-08-02 98 100 cx_oracle = cx-oracle; # added 2024-01-03 ··· 193 195 GitPython = gitpython; # added 2022-10-28 194 196 glances = throw "glances has moved to pkgs.glances"; # added 2020-20-28 195 197 glasgow = throw "glasgow has been promoted to a top-level attribute name: `pkgs.glasgow`"; # added 2023-02-05 198 + globre = throw "globre was removed, because it was disabled on all python version since 3.7 and last updated in 2020."; # added 2024-05-13 196 199 google_api_python_client = google-api-python-client; # added 2021-03-19 197 200 googleapis_common_protos = googleapis-common-protos; # added 2021-03-19 198 201 google-apitools = throw "google-apitools was removed because it is deprecated and unsupported by upstream"; # added 2023-02-25 ··· 307 310 pafy = throw "pafy has been removed because it is unmaintained and only a dependency of mps-youtube, itself superseded by yewtube"; # Added 2023-01-19 308 311 pam = python-pam; # added 2020-09-07. 309 312 PasteDeploy = pastedeploy; # added 2021-10-07 313 + pathlib = throw "pathlib was removed as it has been integrated in python standard library in version 3.4"; # added 2024-05-13 310 314 pathpy = path; # added 2022-04-12 311 315 pcbnew-transition = pcbnewtransition; # added 2024-03-21 312 316 pdfposter = throw "pdfposter was promoted to a top-level attribute"; # Added 2023-06-29 ··· 327 331 pur = throw "pur has been renamed to pkgs.pur"; # added 2021-11-08 328 332 pushbullet = pushbullet-py; # Added 2022-10-15 329 333 Pweave = pweave; # added 2023-02-19 334 + pxml = throw "pxml was removed, because it was disabled on all python version since 3.8 and last updated in 2020."; # added 2024-05-13 330 335 py-radix = throw "py-radix has been removed, since it abandoned"; # added 2023-07-07 331 336 py_stringmatching = py-stringmatching; # added 2023-11-12 332 337 pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02
-12
pkgs/top-level/python-packages.nix
··· 1858 1858 1859 1859 cachy = callPackage ../development/python-modules/cachy { }; 1860 1860 1861 - cadquery = callPackage ../development/python-modules/cadquery { 1862 - inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa; 1863 - }; 1864 - 1865 1861 caffe = toPythonModule (pkgs.caffe.override { 1866 1862 pythonSupport = true; 1867 1863 inherit (self) python numpy boost; ··· 2570 2566 crownstone-sse = callPackage ../development/python-modules/crownstone-sse { }; 2571 2567 2572 2568 crownstone-uart = callPackage ../development/python-modules/crownstone-uart { }; 2573 - 2574 - cryptacular = callPackage ../development/python-modules/cryptacular { }; 2575 2569 2576 2570 cryptg = callPackage ../development/python-modules/cryptg { }; 2577 2571 ··· 4841 4835 glfw = callPackage ../development/python-modules/glfw { }; 4842 4836 4843 4837 glob2 = callPackage ../development/python-modules/glob2 { }; 4844 - 4845 - globre = callPackage ../development/python-modules/globre { }; 4846 4838 4847 4839 globus-sdk = callPackage ../development/python-modules/globus-sdk { }; 4848 4840 ··· 9523 9515 9524 9516 pathlib2 = callPackage ../development/python-modules/pathlib2 { }; 9525 9517 9526 - pathlib = callPackage ../development/python-modules/pathlib { }; 9527 - 9528 9518 pathlib-abc = callPackage ../development/python-modules/pathlib-abc { }; 9529 9519 9530 9520 pathos = callPackage ../development/python-modules/pathos { }; ··· 10540 10530 pwntools = callPackage ../development/python-modules/pwntools { 10541 10531 debugger = pkgs.gdb; 10542 10532 }; 10543 - 10544 - pxml = callPackage ../development/python-modules/pxml { }; 10545 10533 10546 10534 py-air-control = callPackage ../development/python-modules/py-air-control { }; 10547 10535