python3Packages.{mock-open,pymarshal,qreactor}: drop python 3.0 checks

This commit is contained in:
Sigmanificient 2024-05-16 20:44:05 +02:00
parent b5bc9b45bf
commit 9fb9a86ff8
3 changed files with 1 additions and 13 deletions

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, pythonOlder, mock }:
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, mock }:
buildPythonPackage rec {
pname = "mock-open";
@ -13,13 +13,6 @@ buildPythonPackage rec {
sha256 = "0qlz4y8jqxsnmqg03yp9f87rmnjrvmxm5qvm6n1218gm9k5dixbm";
};
patches = lib.optional (pythonOlder "3.0")
(fetchpatch {
name = "ascii-only.patch";
url = "https://github.com/das-g/mock-open/commit/521ff260da127949fe4aceff1667cba223c5b07b.patch";
sha256 = "0ampbhk7kwkn0q5d2h9wrflkr8fji2bybmdck4qdzw1qkslfwwrn";
});
propagatedBuildInputs = lib.optional (pythonOlder "3.3") mock;
meta = with lib; {

View File

@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, bson
, pytestCheckHook
, pyyaml
@ -12,7 +11,6 @@ buildPythonPackage rec {
pname = "pymarshal";
version = "2.2.0";
format = "setuptools";
disabled = pythonOlder "3.0";
src = fetchFromGitHub {
owner = "stargateaudio";

View File

@ -1,6 +1,5 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, twisted
, qtpy
@ -18,8 +17,6 @@ buildPythonPackage rec {
sha256 = "1nb5iwg0nfz86shw28a2kj5pyhd4jvvxhf73fhnfbl8scgnvjv9h";
};
disabled = pythonOlder "3.0";
propagatedBuildInputs = [
twisted qtpy
];