diff --git a/pkgs/development/python-modules/openai/default.nix b/pkgs/development/python-modules/openai/default.nix index 23af146291af..7e7ae6fe13f3 100644 --- a/pkgs/development/python-modules/openai/default.nix +++ b/pkgs/development/python-modules/openai/default.nix @@ -111,6 +111,8 @@ buildPythonPackage rec { pytestFlagsArray = [ "-W" "ignore::DeprecationWarning" + # snapshot mismatches + "--inline-snapshot=update" ]; disabledTests = diff --git a/pkgs/development/python-modules/termcolor/default.nix b/pkgs/development/python-modules/termcolor/default.nix index 625f12b1ad2e..7dd4e5fc12e3 100644 --- a/pkgs/development/python-modules/termcolor/default.nix +++ b/pkgs/development/python-modules/termcolor/default.nix @@ -9,12 +9,12 @@ buildPythonPackage rec { pname = "termcolor"; - version = "2.5.0"; + version = "3.0.0"; pyproject = true; src = fetchPypi { inherit pname version; - hash = "sha256-mY2NJ9ptSEQujh8BYRkHa2kNliUHUx30iQ/NLbLvim8="; + hash = "sha256-DNhVyHFjg/FSrQK7s5hB1uRpRTj/XUJAiOVsi4H95SU="; }; build-system = [ @@ -26,12 +26,8 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; - preCheck = '' - substituteInPlace pyproject.toml \ - --replace-fail ".ini_options" "" - ''; - meta = with lib; { + changelog = "https://github.com/termcolor/termcolor/releases/tag/${version}"; description = "ANSI color formatting for output in terminal"; homepage = "https://github.com/termcolor/termcolor"; license = licenses.mit;