python310Packages.gradio 3.43.1 -> 3.47.1 https://repology.org/project/python:gradio/versions attrpath: python310Packages.gradio Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/21j7zjmcqyarmqb6kjjaqvyvdhxy1bg2-packages.json.drv building '/nix/store/21j7zjmcqyarmqb6kjjaqvyvdhxy1bg2-packages.json.drv'... Going to be running update for following packages: - python3.10-gradio-3.43.1 Press Enter key to continue... Running update for: - python3.10-gradio-3.43.1: UPDATING ... - python3.10-gradio-3.43.1: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/gradio/default.nix b/pkgs/development/python-modules/gradio/default.nix index c09b55496bef..7eda79cf0a2f 100644 --- a/pkgs/development/python-modules/gradio/default.nix +++ b/pkgs/development/python-modules/gradio/default.nix @@ -53,7 +53,7 @@ buildPythonPackage rec { pname = "gradio"; - version = "3.43.1"; + version = "3.47.1"; format = "pyproject"; disabled = pythonOlder "3.7"; @@ -62,7 +62,7 @@ buildPythonPackage rec { # and has more frequent releases compared to github tags src = fetchPypi { inherit pname version; - hash = "sha256-a8eHw8jedrse1dpgup9BL60oXx4wvOk8X5z5DP1DWOs="; + hash = "sha256-Ay94diMP5o9vGa0srZAUndW/OdVQ7Y5Ubasic76ne2E="; }; # fix packaging.ParserSyntaxError, which can't handle comments No auto update branch exists Old version 3.43.1" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchPypi , pythonOlder , pythonRelaxDepsHook # pyproject , hatchling , hatch-requirements-txt , hatch-fancy-pypi-readme # runtime , setuptools , aiofiles , altair , fastapi , ffmpy , gradio-client , httpx , huggingface-hub , importlib-resources , jinja2 , markupsafe , matplotlib , numpy , orjson , packaging , pandas , pillow , pydantic , python-multipart , pydub , pyyaml , requests , semantic-version , typing-extensions , uvicorn , websockets # check , pytestCheckHook , boto3 , ffmpeg , ipython , pytest-asyncio , respx , scikit-image , torch , tqdm , transformers , vega_datasets }: buildPythonPackage rec { pname = "gradio"; version = "3.44.3"; format = "pyproject"; disabled = pythonOlder "3.7"; # We use the Pypi release, as it provides prebuilt webui assets, # and has more frequent releases compared to github tags src = fetchPypi { inherit pname version; hash = "sha256-3mXs9PwlzUo89VosBWtnsOzDQf/T22Yv7s5j6OLLp3M="; }; # fix packaging.ParserSyntaxError, which can't handle comments postPatch = '' sed -ie "s/ #.*$//g" requirements*.txt ''; nativeBuildInputs = [ pythonRelaxDepsHook hatchling hatch-requirements-txt hatch-fancy-pypi-readme ]; propagatedBuildInputs = [ setuptools # needed for 'pkg_resources' aiofiles altair fastapi ffmpy gradio-client httpx huggingface-hub importlib-resources jinja2 markupsafe matplotlib numpy orjson packaging pandas pillow pydantic python-multipart pydub pyyaml requests semantic-version typing-extensions uvicorn websockets ]; nativeCheckInputs = [ pytestCheckHook boto3 ffmpeg ipython pytest-asyncio respx scikit-image # shap is needed as well, but breaks too often torch tqdm transformers vega_datasets ]; # Add a pytest hook skipping tests that access network, marking them as "Expected fail" (xfail). # We additionally xfail FileNotFoundError, since the gradio devs often fail to upload test assets to pypi. preCheck = '' export HOME=$TMPDIR cat ${./conftest-skip-network-errors.py} >> test/conftest.py ''; disabledTests = [ # Actually broken "test_mount_gradio_app" # requires network, it caught our xfail exception "test_error_analytics_successful" # Flaky, tries to pin dependency behaviour. Sensitive to dep versions # These error only affect downstream use of the check dependencies. "test_no_color" "test_in_interface_as_output" "test_should_warn_url_not_having_version" # Flaky, unknown reason "test_in_interface" # shap is too often broken in nixpkgs "test_shapley_text" ]; disabledTestPaths = [ # makes pytest freeze 50% of the time "test/test_interfaces.py" ]; pytestFlagsArray = [ "-x" # abort on first failure #"-m" "not flaky" # doesn't work, even when advertised #"-W" "ignore" # uncomment for debugging help ]; # check the binary works outside the build env doInstallCheck = true; postInstallCheck = '' env --ignore-environment $out/bin/gradio environment >/dev/null ''; pythonImportsCheck = [ "gradio" ]; meta = with lib; { homepage = "https://www.gradio.app/"; description = "Python library for easily interacting with trained machine learning models"; license = licenses.asl20; maintainers = with maintainers; [ pbsds ]; }; }