mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
878e80c596
* In 0.9 the entrypoint got removed as it's recommended to use
`python -m`[1]. However, our build layer for python relies on
that, so I added a patch to re-add this.
* The tests in the upstream sources appear abandoned, so those are
skipped. Therefore it's also pointless to add `pytest-runner` to the
`nativeBuildInputs` as it's not used and only blows up the build
closure.
A second patch modifies the requirements, so ow `pytest-runner` isn't
needed anymore.
[1] a565853c5e
25 lines
545 B
Diff
25 lines
545 B
Diff
From eb39954acf73096d65ba1e9575cbeb3d4307d5df Mon Sep 17 00:00:00 2001
|
|
From: Maximilian Bosch <maximilian@mbosch.me>
|
|
Date: Sun, 29 Nov 2020 20:55:17 +0100
|
|
Subject: [PATCH 2/2] Don't depend on pytest-runner
|
|
|
|
---
|
|
setup.py | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index 95dbf89..89ea2a7 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -57,7 +57,6 @@ setuptools.setup(
|
|
]
|
|
},
|
|
|
|
- setup_requires=["pytest-runner"],
|
|
tests_require=["pytest", "pytest-asyncio", "pytest-mock"],
|
|
|
|
classifiers=[
|
|
--
|
|
2.28.0
|
|
|