Unverified Commit e2fbb67c authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python3Packages.starlette-admin: unbreak by patching pyproject (#497369)

parents c999f387 9ae4263e
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
diff --git a/pyproject.toml b/pyproject.toml
index 3e170b4..e2c6c77 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -183,9 +183,6 @@ parallel = true
 concurrency = ["thread", "greenlet"]
 source = ["starlette_admin", "tests"]
 
-[tool.pytest]
-asyncio_mode = "auto"
-
 [tool.pytest.ini_options]
 asyncio_mode="auto"
 asyncio_default_fixture_loop_scope="function"
+5 −0
Original line number Diff line number Diff line
@@ -51,6 +51,11 @@ buildPythonPackage rec {
    hash = "sha256-JVvrfbyKillkx6fOx4DEbHZoHIPxF1Gn3HzkxyJc66o=";
  };

  patches = [
    # "Cannot use both [tool.pytest] (native TOML types) and [tool.pytest.ini_options] (string-based INI format) simultaneously"
    ./0001-fix-pytest-pyproject-collision.patch
  ];

  build-system = [ hatchling ];

  dependencies = [