Merge pull request #262430 from natsukium/qds-sdk

python311Packages.qds-sdk: rename from qds_sdk

authored by

Martin Weinelt and committed by
GitHub
b3381345 1e48f720

+53 -44
+51
pkgs/development/python-modules/qds-sdk/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , setuptools 5 + , boto 6 + , inflection 7 + , requests 8 + , six 9 + , urllib3 10 + , mock 11 + , pytestCheckHook 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "qds-sdk"; 16 + version = "1.16.1"; 17 + pyproject = true; 18 + 19 + src = fetchFromGitHub { 20 + owner = "qubole"; 21 + repo = "qds-sdk-py"; 22 + rev = "refs/tags/V${version}"; 23 + hash = "sha256-8aPIE2E3Fy2EiBM2FPRyjnJolIBdOzafI3Fvlod5hxU="; 24 + }; 25 + 26 + nativeBuildInputs = [ 27 + setuptools 28 + ]; 29 + 30 + propagatedBuildInputs = [ 31 + boto 32 + inflection 33 + requests 34 + six 35 + urllib3 36 + ]; 37 + 38 + nativeCheckInputs = [ pytestCheckHook mock ]; 39 + 40 + pythonImportsCheck = [ 41 + "qds_sdk" 42 + ]; 43 + 44 + meta = with lib; { 45 + description = "A Python module that provides the tools you need to authenticate with, and use the Qubole Data Service API"; 46 + homepage = "https://github.com/qubole/qds-sdk-py"; 47 + license = licenses.asl20; 48 + maintainers = with maintainers; [ shahrukh330 ]; 49 + mainProgram = "qds.py"; 50 + }; 51 + }
-43
pkgs/development/python-modules/qds_sdk/default.nix
··· 1 - { lib, 2 - fetchFromGitHub, 3 - buildPythonPackage, 4 - boto, 5 - inflection, 6 - pytest, 7 - mock, 8 - requests, 9 - six, 10 - urllib3 }: 11 - 12 - buildPythonPackage rec { 13 - pname = "qds_sdk"; 14 - version = "1.16.1"; 15 - 16 - # pypi does not contain tests, using github sources instead 17 - src = fetchFromGitHub { 18 - owner = "qubole"; 19 - repo = "qds-sdk-py"; 20 - rev = "V${version}"; 21 - sha256 = "05c7g63rcvvi4fgkcfsxh2a6hwlffbs18dhki222s5rpc49wi8zi"; 22 - }; 23 - 24 - propagatedBuildInputs = [ 25 - boto 26 - inflection 27 - requests 28 - six 29 - urllib3 30 - ]; 31 - 32 - nativeCheckInputs = [ pytest mock ]; 33 - checkPhase = '' 34 - py.test --disable-pytest-warnings tests 35 - ''; 36 - 37 - meta = with lib; { 38 - description = "A Python module that provides the tools you need to authenticate with, and use the Qubole Data Service API"; 39 - homepage = "https://github.com/qubole/qds-sdk-py"; 40 - license = licenses.asl20; 41 - maintainers = with maintainers; [ shahrukh330 ]; 42 - }; 43 - }
+1
pkgs/top-level/python-aliases.nix
··· 351 351 PyVirtualDisplay = pyvirtualdisplay; # added 2023-02-19 352 352 pywick = throw "pywick has been removed, since it is no longer maintained"; # added 2023-07-01 353 353 qasm2image = throw "qasm2image is no longer maintained (since November 2018), and is not compatible with the latest pythonPackages.qiskit versions."; # added 2020-12-09 354 + qds_sdk = qds-sdk; # added 2023-10-21 354 355 Quandl = quandl; # added 2023-02-19 355 356 qiskit-aqua = throw "qiskit-aqua has been removed due to deprecation, with its functionality moved to different qiskit packages"; 356 357 rabbitpy = throw "rabbitpy has been removed, since it is unmaintained and broken"; # added 2023-07-01
+1 -1
pkgs/top-level/python-packages.nix
··· 11857 11857 11858 11858 qdrant-client = callPackage ../development/python-modules/qdrant-client { }; 11859 11859 11860 - qds_sdk = callPackage ../development/python-modules/qds_sdk { }; 11860 + qds-sdk = callPackage ../development/python-modules/qds-sdk { }; 11861 11861 11862 11862 qgrid = callPackage ../development/python-modules/qgrid { }; 11863 11863