From 9817d601094f65d2ffbd72225d45fc3c5ccec8ab Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 16 Aug 2023 23:59:28 +0200 Subject: [PATCH 1/2] python310Packages.oauthenticator: 16.0.4 -> 16.0.5 Changelog: https://github.com/jupyterhub/oauthenticator/blob/16.0.5/docs/source/reference/changelog.md --- pkgs/development/python-modules/oauthenticator/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/oauthenticator/default.nix b/pkgs/development/python-modules/oauthenticator/default.nix index d9169997a246..aab9ae98c024 100644 --- a/pkgs/development/python-modules/oauthenticator/default.nix +++ b/pkgs/development/python-modules/oauthenticator/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "oauthenticator"; - version = "16.0.4"; + version = "16.0.5"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-6dZt+GIbmOgC+R5KlFc5W2jpPaxCn+GkNkVhR/4Tke8="; + hash = "sha256-ddCqr6qIIyU3EQ6p2i+U6F359j3hcZ7E2X8qbeUz2e8="; }; postPatch = '' From a06675df221319506efb363272648b2ab56fb858 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 17 Aug 2023 00:01:45 +0200 Subject: [PATCH 2/2] python311Packages.jupyterhub: allow tests with require executable --- .../python-modules/jupyterhub/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/jupyterhub/default.nix b/pkgs/development/python-modules/jupyterhub/default.nix index fecc8c1aeaa4..e15e910eb6eb 100644 --- a/pkgs/development/python-modules/jupyterhub/default.nix +++ b/pkgs/development/python-modules/jupyterhub/default.nix @@ -141,11 +141,6 @@ buildPythonPackage rec { importlib-metadata ]; - preCheck = '' - substituteInPlace jupyterhub/tests/test_spawner.py --replace \ - "'jupyterhub-singleuser'" "'$out/bin/jupyterhub-singleuser'" - ''; - nativeCheckInputs = [ beautifulsoup4 cryptography @@ -161,12 +156,18 @@ buildPythonPackage rec { virtualenv ]; + preCheck = '' + substituteInPlace jupyterhub/tests/test_spawner.py --replace \ + "'jupyterhub-singleuser'" "'$out/bin/jupyterhub-singleuser'" + export PATH="$PATH:$out/bin"; + ''; + disabledTests = [ # Tries to install older versions through pip "test_upgrade" # Testcase fails to find requests import "test_external_service" - # attempts to do ssl connection + # Attempts to do TLS connection "test_connection_notebook_wrong_certs" # AttributeError: 'coroutine' object... "test_valid_events"