Loading pkgs/development/python-modules/starlette-admin/0001-fix-pytest-pyproject-collision.patch 0 → 100644 +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" pkgs/development/python-modules/starlette-admin/default.nix +5 −0 Original line number Diff line number Diff line Loading @@ -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 = [ Loading Loading
pkgs/development/python-modules/starlette-admin/0001-fix-pytest-pyproject-collision.patch 0 → 100644 +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"
pkgs/development/python-modules/starlette-admin/default.nix +5 −0 Original line number Diff line number Diff line Loading @@ -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 = [ Loading