treewide: drop python 3.3 checks

This commit is contained in:
Sigmanificient 2024-05-16 20:52:24 +02:00
parent 9fb9a86ff8
commit 5d5c4baad8
15 changed files with 5 additions and 42 deletions

View File

@ -19,8 +19,6 @@ python3Packages.buildPythonApplication rec {
colorama imagesize lxml requests setuptools six
];
disabled = python3Packages.pythonOlder "3.3";
meta = {
description = "A comic strip downloader and archiver";
mainProgram = "dosage";

View File

@ -1,11 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
, setuptools
}:
@ -14,8 +10,6 @@ buildPythonPackage rec {
version = "0.0.95";
pyproject = true;
disabled = pythonOlder "3.3";
src = fetchPypi {
inherit pname version;
hash = "sha256-0gEPXqw99UTsSOwRYQLgaFkaNFsaWA8ylz24pQX8p0Q=";

View File

@ -1,6 +1,5 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, pytestCheckHook
}:
@ -9,7 +8,6 @@ buildPythonPackage rec {
pname = "anyascii";
version = "0.3.2";
format = "setuptools";
disabled = pythonOlder "3.3";
src = fetchPypi {
inherit pname version;

View File

@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pytestCheckHook
}:
@ -9,7 +8,6 @@ buildPythonPackage rec {
pname = "dronecan";
version = "1.0.26";
format = "setuptools";
disabled = pythonOlder "3.3";
src = fetchPypi {
inherit pname version;

View File

@ -2,7 +2,6 @@
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pythonAtLeast
, pytestCheckHook
}:
@ -10,7 +9,6 @@ buildPythonPackage rec {
pname = "dugong";
version = "3.8.1";
format = "setuptools";
disabled = pythonOlder "3.3";
src = fetchFromGitHub {
owner = "python-dugong";

View File

@ -2,7 +2,6 @@
, cryptography
, fetchPypi
, lib
, pythonOlder
, protobuf
, pycryptodome
, requests
@ -12,7 +11,6 @@ buildPythonPackage rec {
version = "0.4.4";
format = "setuptools";
pname = "gpapi";
disabled = pythonOlder "3.3"; # uses shutil.which(), added in 3.3
src = fetchPypi {
inherit version pname;

View File

@ -1,8 +1,6 @@
{ lib
, pythonOlder
, buildPythonPackage
, fetchPypi
, monotonic
}:
buildPythonPackage rec {
@ -15,8 +13,6 @@ buildPythonPackage rec {
sha256 = "6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc";
};
propagatedBuildInputs = lib.optional (pythonOlder "3.3") monotonic;
# humanfriendly tests depends on coloredlogs which itself depends on
# humanfriendly. This lead to infinite recursion when trying to
# build this package so we have to disable the test suite :(

View File

@ -1,9 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
}:
@ -12,8 +9,6 @@ buildPythonPackage rec {
version = "0.9";
pyproject = true;
disabled = pythonOlder "3.3";
src = fetchPypi {
pname = "hurry.filesize";
inherit version;

View File

@ -2,7 +2,6 @@
, cryptography
, fetchPypi
, lib
, pythonOlder
, protobuf
, pycryptodome
, requests
@ -12,7 +11,6 @@ buildPythonPackage rec {
version = "0.4.4.5";
format = "setuptools";
pname = "matlink-gpapi";
disabled = pythonOlder "3.3"; # uses shutil.which(), added in 3.3
src = fetchPypi {
inherit version pname;

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, mock }:
{ lib, buildPythonPackage, fetchFromGitHub }:
buildPythonPackage rec {
pname = "mock-open";
@ -13,8 +13,6 @@ buildPythonPackage rec {
sha256 = "0qlz4y8jqxsnmqg03yp9f87rmnjrvmxm5qvm6n1218gm9k5dixbm";
};
propagatedBuildInputs = lib.optional (pythonOlder "3.3") mock;
meta = with lib; {
homepage = "https://github.com/nivbend/mock-open";
description = "A better mock for file I/O";

View File

@ -5,7 +5,6 @@
, pythonOlder
, scandir ? null
, glibcLocales
, mock
, typing
}:
@ -21,8 +20,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six ]
++ lib.optionals (pythonOlder "3.5") [ scandir typing ];
nativeCheckInputs = [ glibcLocales ]
++ lib.optional (pythonOlder "3.3") mock;
nativeCheckInputs = [ glibcLocales ];
preCheck = ''
export LC_ALL="en_US.UTF-8"

View File

@ -1,6 +1,5 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, krakenex
, pandas
@ -10,8 +9,6 @@ buildPythonPackage rec {
pname = "pykrakenapi";
version = "0.3.2";
disabled = pythonOlder "3.3";
format = "setuptools";
src = fetchFromGitHub {

View File

@ -1,12 +1,10 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, sqlcipher }:
{ lib, buildPythonPackage, fetchPypi, sqlcipher }:
buildPythonPackage rec {
pname = "pysqlcipher3";
version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.3";
src = fetchPypi {
inherit pname version;
hash = "sha256-PIAzgSZVlH6/KagJrFEGsrxpvgJ06szva1j0WAyNBsU=";

View File

@ -53,7 +53,7 @@ in buildPythonPackage rec {
version = "1.0.5";
format = "setuptools";
disabled = isPyPy || pythonOlder "2.6" || (isPy3k && pythonOlder "3.3");
disabled = isPyPy || pythonOlder "2.6";
src = fetchPypi {
inherit pname version;

View File

@ -1,9 +1,8 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, systemd, pytest }:
{ lib, buildPythonPackage, fetchFromGitHub, systemd, pytest }:
buildPythonPackage rec {
pname = "journalwatch";
version = "1.1.0";
disabled = pythonOlder "3.3";
src = fetchFromGitHub {
owner = "The-Compiler";