From 1a0609341002775e240fefc452d350e2498ec55c Mon Sep 17 00:00:00 2001 From: David Arnold Date: Thu, 20 Jul 2023 15:55:15 -0500 Subject: [PATCH] python310Packages.python-youtube: 0.9.0 -> 0.9.1 --- .../python-modules/python-youtube/default.nix | 24 ++----------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/pkgs/development/python-modules/python-youtube/default.nix b/pkgs/development/python-modules/python-youtube/default.nix index bab4d145629..f9a0841fdcb 100644 --- a/pkgs/development/python-modules/python-youtube/default.nix +++ b/pkgs/development/python-modules/python-youtube/default.nix @@ -11,19 +11,17 @@ }: buildPythonPackage rec { pname = "python-youtube"; - version = "0.9.0"; + version = "0.9.1"; format = "pyproject"; src = fetchFromGitHub { owner = "sns-sdks"; repo = "python-youtube"; rev = "v${version}"; - hash = "sha256-uimipYgf8nfYd1J/K6CStbzIkQiRSosu7/yOfgXYCks="; + hash = "sha256-PbPdvUv7I9NKW6w4OJbiUoRNVJ1SoXychSXBH/y5nzY="; }; postPatch = '' - substituteInPlace pyproject.toml \ - --replace "poetry.masonry.api" "poetry.core.masonry.api" substituteInPlace pytest.ini \ --replace "--cov=pyyoutube" "" \ --replace "--cov-report xml" "" @@ -47,24 +45,6 @@ buildPythonPackage rec { responses ]; - disabledTests = [ - # On both tests, upstream compares a string to an integer - - /* - python3.10-python-youtube> > self.assertEqual(m.viewCount, "160361638") - python3.10-python-youtube> E AssertionError: 160361638 != '160361638' - python3.10-python-youtube> tests/models/test_channel.py:62: AssertionError - */ - "testChannelStatistics" - - /* - python3.10-python-youtube> > self.assertEqual(m.viewCount, "8087") - python3.10-python-youtube> E AssertionError: 8087 != '8087' - python3.10-python-youtube> tests/models/test_videos.py:76: AssertionError - */ - "testVideoStatistics" - ]; - meta = with lib; { description = "A simple Python wrapper around for YouTube Data API"; homepage = "https://github.com/sns-sdks/python-youtube";