Merge pull request #301192 from fabaff/types-requests-bump

python312Packages.types-requests: 2.31.0.20240311 -> 2.31.0.20240403

authored by Fabian Affolter and committed by GitHub 015275cb 2600c7f3

+51 -50
+38 -34
pkgs/development/python-modules/tabcmd/default.nix
··· 1 - { lib 2 - , appdirs 3 - , argparse 4 - , buildPythonPackage 5 - , doit 6 - , fetchPypi 7 - , ftfy 8 - , mock 9 - , pyinstaller-versionfile 10 - , pytestCheckHook 11 - , python3 12 - , pythonOlder 13 - , requests 14 - , pythonRelaxDepsHook 15 - , setuptools 16 - , setuptools-scm 17 - , tableauserverclient 18 - , types-appdirs 19 - , types-mock 20 - , types-requests 21 - , types-setuptools 22 - , urllib3 23 }: 24 25 buildPythonPackage rec { ··· 34 hash = "sha256-f9zoYeb4RzcCtgcCYYvvuCuFrjqpP3Fhv38bUWH24+g="; 35 }; 36 37 pythonRelaxDeps = [ 38 "tableauserverclient" 39 "urllib3" 40 ]; 41 42 - nativeBuildInputs = [ 43 - pythonRelaxDepsHook 44 - setuptools 45 - ]; 46 47 - propagatedBuildInputs = [ 48 appdirs 49 argparse 50 doit ··· 62 63 nativeCheckInputs = [ 64 mock 65 pytestCheckHook 66 ]; 67 68 - # Remove an unneeded dependency that can't be resolved 69 - prePatch = '' 70 - sed -i "/'argparse',/d" pyproject.toml 71 - ''; 72 - 73 # Create a "tabcmd" executable 74 postInstall = '' 75 # Create a directory for our wrapped binary. ··· 87 chmod +x $out/bin/tabcmd 88 ''; 89 90 91 meta = with lib; { 92 - description = "A command line client for working with Tableau Server."; 93 - mainProgram = "tabcmd"; 94 homepage = "https://github.com/tableau/tabcmd"; 95 changelog = "https://github.com/tableau/tabcmd/releases/tag/v${version}"; 96 license = licenses.mit; 97 maintainers = with maintainers; [ ]; 98 }; 99 }
··· 1 + { 2 + lib, 3 + appdirs, 4 + argparse, 5 + buildPythonPackage, 6 + doit, 7 + fetchPypi, 8 + ftfy, 9 + mock, 10 + pyinstaller-versionfile, 11 + pytest-order, 12 + pytestCheckHook, 13 + python3, 14 + pythonOlder, 15 + pythonRelaxDepsHook, 16 + requests, 17 + setuptools, 18 + setuptools-scm, 19 + tableauserverclient, 20 + types-appdirs, 21 + types-mock, 22 + types-requests, 23 + types-setuptools, 24 + urllib3, 25 }: 26 27 buildPythonPackage rec { ··· 36 hash = "sha256-f9zoYeb4RzcCtgcCYYvvuCuFrjqpP3Fhv38bUWH24+g="; 37 }; 38 39 + prePatch = '' 40 + # Remove an unneeded dependency that can't be resolved 41 + # https://github.com/tableau/tabcmd/pull/282 42 + sed -i "/'argparse',/d" pyproject.toml 43 + ''; 44 + 45 pythonRelaxDeps = [ 46 "tableauserverclient" 47 "urllib3" 48 ]; 49 50 + nativeBuildInputs = [ pythonRelaxDepsHook ]; 51 + 52 + build-system = [ setuptools ]; 53 54 + dependencies = [ 55 appdirs 56 argparse 57 doit ··· 69 70 nativeCheckInputs = [ 71 mock 72 + pytest-order 73 pytestCheckHook 74 ]; 75 76 # Create a "tabcmd" executable 77 postInstall = '' 78 # Create a directory for our wrapped binary. ··· 90 chmod +x $out/bin/tabcmd 91 ''; 92 93 + pythonImportsCheck = [ "tabcmd" ]; 94 95 meta = with lib; { 96 + description = "A command line client for working with Tableau Server"; 97 homepage = "https://github.com/tableau/tabcmd"; 98 changelog = "https://github.com/tableau/tabcmd/releases/tag/v${version}"; 99 license = licenses.mit; 100 maintainers = with maintainers; [ ]; 101 + mainProgram = "tabcmd"; 102 }; 103 }
+13 -16
pkgs/development/python-modules/types-requests/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , setuptools 5 - , urllib3 6 - , types-urllib3 7 }: 8 9 buildPythonPackage rec { 10 pname = "types-requests"; 11 - version = "2.31.0.20240311"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 - hash = "sha256-scG2ar+3+nmq4JCXqBHEqpcTDriDHGDkeu5Mo0RzHKU="; 17 }; 18 19 - nativeBuildInputs = [ 20 - setuptools 21 - urllib3 22 - ]; 23 24 - propagatedBuildInputs = [ 25 types-urllib3 26 ]; 27 28 # Module doesn't have tests 29 doCheck = false; 30 31 - pythonImportsCheck = [ 32 - "requests-stubs" 33 - ]; 34 35 meta = with lib; { 36 description = "Typing stubs for requests";
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + setuptools, 6 + types-urllib3, 7 + urllib3, 8 }: 9 10 buildPythonPackage rec { 11 pname = "types-requests"; 12 + version = "2.31.0.20240403"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-4eDNC2VTNPOdn4craKExDw40Nkdoi/LO6TLsTCsE3lk="; 18 }; 19 20 + build-system = [ setuptools ]; 21 22 + dependencies = [ 23 types-urllib3 24 + urllib3 25 ]; 26 27 # Module doesn't have tests 28 doCheck = false; 29 30 + pythonImportsCheck = [ "requests-stubs" ]; 31 32 meta = with lib; { 33 description = "Typing stubs for requests";