treewide: remove superfluous pythonOlder "3.6" (#479910)

This commit is contained in:
Yt
2026-01-14 03:30:02 +00:00
committed by GitHub
21 changed files with 9 additions and 56 deletions
-2
View File
@@ -25,8 +25,6 @@ python3.pkgs.buildPythonApplication rec {
doCheck = false;
disabled = python3.pythonOlder "3.6";
meta = {
homepage = "https://alerta.io";
description = "Alerta Monitoring System command-line interface";
-2
View File
@@ -17,8 +17,6 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-3h3QtBDKswTDL7zNM2C4VWiGCqknm/bxhP9sw4ieIcQ=";
};
disabled = python3.pythonOlder "3.6";
build-system = with python3.pkgs; [
setuptools
];
-1
View File
@@ -11,7 +11,6 @@ python3.pkgs.buildPythonApplication rec {
pname = "nimbo";
version = "0.3.0";
format = "setuptools";
disabled = python3.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "nimbo-sh";
-2
View File
@@ -9,8 +9,6 @@ python3.pkgs.buildPythonApplication rec {
version = "2.13.3";
pyproject = true;
disabled = python3.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "RDFLib";
repo = "pylode";
-2
View File
@@ -9,8 +9,6 @@ python3.pkgs.buildPythonApplication rec {
version = "1.8";
pyproject = true;
disabled = python3.pkgs.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "simonw";
repo = "shot-scraper";
-2
View File
@@ -9,8 +9,6 @@ python3.pkgs.buildPythonApplication {
version = "0-unstable-2021-07-02";
pyproject = true;
disabled = python3.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "snovvcrash";
repo = "usbrip";
-1
View File
@@ -9,7 +9,6 @@ python3.pkgs.buildPythonApplication rec {
pname = "xxh";
version = "0.8.14";
pyproject = true;
disabled = python3.pkgs.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "xxh";
@@ -5,7 +5,6 @@
jax,
jaxlib,
lib,
pythonOlder,
setuptools,
}:
@@ -14,8 +13,6 @@ buildPythonPackage rec {
version = "0.3.3";
pyproject = true;
disbaled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "khdlr";
repo = "augmax";
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
pythonAtLeast,
pythonOlder,
fetchPypi,
bwa,
cffi,
@@ -15,7 +14,7 @@ buildPythonPackage rec {
format = "setuptools";
# uses the removed imp module
disabled = pythonOlder "3.6" || pythonAtLeast "3.12";
disabled = pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
}:
buildPythonPackage rec {
@@ -25,6 +24,5 @@ buildPythonPackage rec {
mainProgram = "future-fstrings-show";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nyanloutre ];
broken = pythonOlder "3.6"; # dependency tokenize-rt not packaged
};
}
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
pyyaml,
unittestCheckHook,
@@ -13,8 +12,6 @@ buildPythonPackage rec {
version = "2.0.2";
pyproject = true;
disabled = pythonOlder "3.6"; # f-strings
src = fetchFromGitHub {
owner = "jesopo";
repo = "irctokens";
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
pythonOlder,
pythonAtLeast,
fetchPypi,
setuptools,
@@ -15,7 +14,7 @@ buildPythonPackage rec {
version = "0.10.0";
pyproject = true;
disabled = pythonOlder "3.6" || pythonAtLeast "3.12";
disabled = pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
poetry-core,
shapely,
@@ -11,7 +10,6 @@
buildPythonPackage rec {
pname = "preprocess-cancellation";
version = "0.2.1";
disabled = pythonOlder "3.6"; # >= 3.6
pyproject = true;
# No tests in PyPI
@@ -21,8 +21,6 @@ buildPythonPackage rec {
version = "2.7.3";
pyproject = true;
disabled = pythonOlder "3.6.2";
__darwinAllowLocalNetworking = true;
src = fetchFromGitHub {
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
pybind11,
pytestCheckHook,
python-dateutil,
@@ -40,8 +39,7 @@ buildPythonPackage rec {
matplotlib
];
# pelican requires > 2.7
doCheck = !pythonOlder "3.6";
doCheck = true;
disabledTests = [
# incompatible with pytest7
@@ -2,9 +2,6 @@
lib,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
pythonOlder,
python-dateutil,
setuptools,
tzdata,
hypothesis,
@@ -26,9 +23,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs =
(lib.optionals (pythonOlder "3.6") [ python-dateutil ])
++ (lib.optionals (pythonAtLeast "3.6") [ tzdata ]);
propagatedBuildInputs = [ tzdata ];
nativeCheckInputs = [
hypothesis
@@ -7,7 +7,6 @@
pytest-timeout,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
requests,
requests-mock,
setuptools,
@@ -19,7 +18,7 @@ buildPythonPackage rec {
pyproject = true;
# Still uses distrutils, https://github.com/MisterWil/skybellpy/issues/22
disabled = pythonOlder "3.6" || pythonAtLeast "3.12";
disabled = pythonAtLeast "3.12";
src = fetchFromGitHub {
owner = "MisterWil";
@@ -13,7 +13,6 @@
# Python deps
buildPythonPackage,
pythonAtLeast,
pythonOlder,
python,
# Python libraries
numpy,
@@ -132,7 +131,7 @@ let
}
];
withTensorboard = (pythonOlder "3.6") || tensorboardSupport;
withTensorboard = tensorboardSupport;
cudaComponents = with cudaPackages; [
(cuda_nvcc.__spliced.buildHost or cuda_nvcc)
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
pythonOlder,
pythonAtLeast,
fetchFromGitHub,
setuptools,
@@ -18,7 +17,7 @@ buildPythonPackage rec {
version = "0.4.17";
pyproject = true;
disabled = pythonOlder "3.6" || pythonAtLeast "3.12";
disabled = pythonAtLeast "3.12";
src = fetchFromGitHub {
owner = "vmprof";
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
attrs,
hypothesis,
@@ -16,7 +15,6 @@
atomicwrites,
mock,
writeText,
pathlib2,
wcwidth,
packaging,
isPyPy,
@@ -52,8 +50,7 @@ buildPythonPackage rec {
wcwidth
packaging
]
++ lib.optionals (!isPy3k) [ funcsigs ]
++ lib.optionals (pythonOlder "3.6") [ pathlib2 ];
++ lib.optionals (!isPy3k) [ funcsigs ];
doCheck = !isPyPy; # https://github.com/pytest-dev/pytest/issues/3460
checkPhase = ''
@@ -2,11 +2,8 @@
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
isPy3k,
isPyPy,
unittestCheckHook,
pythonAtLeast,
}:
let
@@ -23,12 +20,7 @@ buildPythonPackage rec {
sha256 = "13b4ad211f54ddbf93e5901a9967b1e07720c1d1b78d596ac6a439641aa1b130";
};
disabled = pythonAtLeast "3.5";
# Error for Python3.6: ImportError: cannot import name 'ann_module'
# See https://github.com/python/typing/pull/280
# Also, don't bother on PyPy: AssertionError: TypeError not raised
doCheck = pythonOlder "3.6" && !isPyPy;
disabled = true;
nativeCheckInputs = [ unittestCheckHook ];