From a8b71f348308f0bcc8ab0ab4be84687403884cec Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 27 Jan 2026 15:08:38 +0100 Subject: [PATCH] python3Packages.asdf-astropy: fix tests --- pkgs/development/python-modules/asdf-astropy/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/asdf-astropy/default.nix b/pkgs/development/python-modules/asdf-astropy/default.nix index b1b171796591..db48ba6979e9 100644 --- a/pkgs/development/python-modules/asdf-astropy/default.nix +++ b/pkgs/development/python-modules/asdf-astropy/default.nix @@ -30,6 +30,11 @@ buildPythonPackage rec { hash = "sha256-JYzC1dEnq1caNSPffWCgk7c3mgUERywP0ladS+RwEnk="; }; + postPatch = '' + # pytest chokes on unhandled options in the [tool.pytest.ini_options] section + sed -i "/asdf_schema_/d" pyproject.toml + ''; + build-system = [ setuptools setuptools-scm