python313Packages.starlette-admin: 0.14.1 -> 0.15.0 (#409588)

authored by

Peder Bergebakken Sundt and committed by
GitHub
77f7e061 7d4080f5

+6 -30
+6 -30
pkgs/development/python-modules/starlette-admin/default.nix
··· 32 32 33 33 buildPythonPackage rec { 34 34 pname = "starlette-admin"; 35 - version = "0.14.1"; 35 + version = "0.15.0"; 36 36 pyproject = true; 37 37 38 38 src = fetchFromGitHub { 39 39 owner = "jowilf"; 40 40 repo = "starlette-admin"; 41 - rev = version; 42 - hash = "sha256-DoYD8Hc5pd68+BhASw3mwwCdhu0vYHiELjVmVwU8FHs="; 41 + tag = version; 42 + hash = "sha256-R9ZRrJaBp1joT3DtymvS+Ac0MzEUFYFovgxMW0njsT0="; 43 43 }; 44 44 45 - # recreates https://github.com/jowilf/starlette-admin/pull/630 which cannot be cherry-picked 46 - postPatch = '' 47 - test_files_to_fix=( 48 - tests/mongoengine/test_auth.py 49 - tests/odmantic/test_async_engine.py 50 - tests/odmantic/test_auth.py 51 - tests/odmantic/test_sync_engine.py 52 - tests/sqla/test_async_engine.py 53 - tests/sqla/test_auth.py 54 - tests/sqla/test_multiple_pks.py 55 - tests/sqla/test_sqla_and_pydantic.py 56 - tests/sqla/test_sqla_utils.py 57 - tests/sqla/test_sqlmodel.py 58 - tests/sqla/test_sync_engine.py 59 - tests/sqla/test_view_serialization.py 60 - tests/test_auth.py 61 - ) 62 - substituteInPlace "''${test_files_to_fix[@]}" \ 63 - --replace-fail \ 64 - 'from httpx import AsyncClient' \ 65 - 'from httpx import AsyncClient, ASGITransport' \ 66 - --replace-fail \ 67 - 'AsyncClient(app=app,' \ 68 - 'AsyncClient(transport=ASGITransport(app=app),' 69 - ''; 70 - 71 45 build-system = [ hatchling ]; 72 46 73 47 dependencies = [ ··· 122 96 [ 123 97 # odmantic is not packaged 124 98 "tests/odmantic" 99 + # beanie is not packaged 100 + "tests/beanie" 125 101 # needs mongodb running on port 27017 126 102 "tests/mongoengine" 127 103 ] ··· 146 122 meta = with lib; { 147 123 description = "Fast, beautiful and extensible administrative interface framework for Starlette & FastApi applications"; 148 124 homepage = "https://github.com/jowilf/starlette-admin"; 149 - changelog = "https://github.com/jowilf/starlette-admin/blob/${src.rev}/CHANGELOG.md"; 125 + changelog = "https://github.com/jowilf/starlette-admin/blob/${src.tag}/CHANGELOG.md"; 150 126 license = licenses.mit; 151 127 maintainers = with maintainers; [ pbsds ]; 152 128 };