python3Packages.starlette-admin: unbreak by patching pyproject (#497369)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
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"
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user