python3Packages.pytest-sanic: mark as broken with sanic >= 21.3.0
pytest-sanic is incompatible with the current version of Sanic, see sanic-org/sanic#2095 and yunstanford/pytest-sanic#50. While it is broken, we also need it to run Sanic's tests (for which case it works just fine).
This commit is contained in:
parent
dd829d287a
commit
5b971598f0
@ -46,5 +46,9 @@ buildPythonPackage rec {
|
||||
homepage = "https://github.com/yunstanford/pytest-sanic/";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
# pytest-sanic is incompatible with Sanic 21.3, see
|
||||
# https://github.com/sanic-org/sanic/issues/2095 and
|
||||
# https://github.com/yunstanford/pytest-sanic/issues/50.
|
||||
broken = lib.versionAtLeast sanic.version "21.3.0";
|
||||
};
|
||||
}
|
||||
|
@ -7195,6 +7195,14 @@ in {
|
||||
|
||||
samsungtvws = callPackage ../development/python-modules/samsungtvws { };
|
||||
|
||||
sanic = callPackage ../development/python-modules/sanic {
|
||||
# pytest-sanic is doing ok for the sole purpose of testing Sanic.
|
||||
pytest-sanic = self.pytest-sanic.overridePythonAttrs (oldAttrs: {
|
||||
doCheck = false;
|
||||
meta.broken = false;
|
||||
});
|
||||
};
|
||||
|
||||
sanic-auth = callPackage ../development/python-modules/sanic-auth { };
|
||||
|
||||
sanic = callPackage ../development/python-modules/sanic { };
|
||||
|
Loading…
Reference in New Issue
Block a user