python3Packages.starlette-admin: 0.15.1 -> 0.16.0

Diff: https://github.com/jowilf/starlette-admin/compare/0.15.1...0.16.0

Changelog: https://jowilf.github.io/starlette-admin/changelog/
This commit is contained in:
Gaetan Lepage
2026-01-04 10:01:06 +00:00
parent 2acf00486e
commit 4cb98bf597
@@ -3,15 +3,26 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
# build-system
hatchling,
# dependencies
jinja2,
python-multipart,
starlette,
# optional-dependencies
babel,
# tests
aiosqlite,
arrow,
babel,
cacert,
colour,
fasteners,
httpx,
jinja2,
mongoengine,
motor,
passlib,
@@ -21,25 +32,23 @@
pydantic,
pytest-asyncio,
pytestCheckHook,
python-multipart,
requests,
sqlalchemy,
sqlalchemy-file,
sqlalchemy-utils,
sqlmodel,
starlette,
}:
buildPythonPackage rec {
pname = "starlette-admin";
version = "0.15.1";
version = "0.16.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jowilf";
repo = "starlette-admin";
tag = version;
hash = "sha256-yPePxdKrg41kycXl1fDKf1jWx0YD+K26w8z2LmQV0g0=";
hash = "sha256-JVvrfbyKillkx6fOx4DEbHZoHIPxF1Gn3HzkxyJc66o=";
};
build-system = [ hatchling ];
@@ -85,12 +94,17 @@ buildPythonPackage rec {
export LOCAL_PATH="$PWD/.storage"
'';
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# flaky, depends on test order
"test_ensuring_pk"
# flaky, of-by-one
"test_api"
];
disabledTests =
lib.optionals (pythonAtLeast "3.14") [
# AssertionError: Regex pattern did not match
"test_not_supported_annotation"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# flaky, depends on test order
"test_ensuring_pk"
# flaky, of-by-one
"test_api"
];
disabledTestPaths = [
# odmantic is not packaged