treewide: remove superfluous pythonOlder "3.7" (#479981)

This commit is contained in:
dotlambda
2026-01-14 12:52:38 +00:00
committed by GitHub
21 changed files with 10 additions and 49 deletions
@@ -14,8 +14,6 @@ python3.pkgs.buildPythonApplication rec {
version = "1.9.5";
pyproject = true;
disabled = python3.pythonOlder "3.7";
src = fetchFromGitHub {
owner = "SamSchott";
repo = "maestral-qt";
-1
View File
@@ -8,7 +8,6 @@ python312Packages.buildPythonApplication rec {
pname = "brutalmaze";
version = "1.1.1";
pyproject = true;
disabled = python312Packages.pythonOlder "3.7";
src = fetchFromSourcehut {
owner = "~cnx";
-1
View File
@@ -10,7 +10,6 @@ let
# see https://github.com/devicetree-org/dt-schema/issues/108
jsonschema = super.jsonschema.overridePythonAttrs (old: rec {
version = "4.17.3";
disabled = self.pythonOlder "3.7";
src = old.src.override {
inherit version;
-2
View File
@@ -37,8 +37,6 @@ python.pkgs.buildPythonApplication rec {
hash = "sha256-Jam7Txm+Fq5zEkJZMmbWW5Ok4ThsPyi6NIeawQot0RE=";
};
disabled = python.pythonOlder "3.7";
propagatedBuildInputs = with python.pkgs; [
docopt
lark
-2
View File
@@ -20,8 +20,6 @@ python3Packages.buildPythonApplication rec {
substituteInPlace requirements.txt --replace-fail 'junit-xml==1.8' 'junit-xml==1.9'
'';
disabled = python3Packages.pythonOlder "3.7";
doCheck = false;
build-system = with python3Packages; [ setuptools ];
-2
View File
@@ -17,8 +17,6 @@ python3Packages.buildPythonApplication rec {
version = "2.8";
pyproject = true;
disabled = python3Packages.pythonOlder "3.7";
src = fetchFromSourcehut {
owner = "~lioploum";
repo = "offpunk";
-1
View File
@@ -7,7 +7,6 @@
python3.pkgs.buildPythonApplication rec {
pname = "xcat";
version = "1.2.0";
disabled = python3.pythonOlder "3.7";
pyproject = true;
src = fetchFromGitHub {
-2
View File
@@ -17,8 +17,6 @@ python3Packages.buildPythonApplication rec {
sha256 = "1dfy3h823ylz4w2vv3mrmnmiyvf6rvyvsp4j3llr074w9id0zy16";
};
disabled = python3Packages.pythonOlder "3.7";
nativeBuildInputs = [
python3Packages.doit
python3Packages.pyscss
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
python,
pythonAtLeast,
}:
@@ -26,9 +25,6 @@ buildPythonPackage rec {
--replace "test_events_watched_outside_test_are_ignored" "xtest_events_watched_outside_test_are_ignored"
'';
# https://github.com/Martiusweb/asynctest/issues/132
doCheck = pythonOlder "3.7";
checkPhase = ''
${python.interpreter} -m unittest test
'';
@@ -15,7 +15,6 @@
openssh,
fetchFromGitHub,
pythonAtLeast,
pythonOlder,
}:
buildPythonPackage rec {
@@ -26,7 +25,7 @@ buildPythonPackage rec {
# Python 3.12 is not yet supported.
# https://github.com/usnistgov/fipy/issues/997
# https://github.com/usnistgov/fipy/pull/1023
disabled = pythonOlder "3.7" || pythonAtLeast "3.12";
disabled = pythonAtLeast "3.12";
src = fetchFromGitHub {
owner = "usnistgov";
@@ -1,7 +1,6 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
hatchling,
jupyter-events,
@@ -16,8 +15,6 @@ buildPythonPackage rec {
version = "0.9.3";
pyproject = true;
disables = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jupyter-server";
repo = "jupyter_server_fileid";
@@ -3,7 +3,6 @@
buildPythonPackage,
fetchPypi,
pythonAtLeast,
pythonOlder,
setuptools,
}:
@@ -13,7 +12,7 @@ buildPythonPackage rec {
pyproject = true;
# smtpd will be removed in version 3.12
disabled = pythonOlder "3.7" || pythonAtLeast "3.12";
disabled = pythonAtLeast "3.12";
src = fetchPypi {
inherit pname version;
@@ -1,12 +1,9 @@
{
buildPythonPackage,
typing-extensions,
fetchPypi,
lib,
nix-update-script,
hatch-vcs,
pythonOlder,
importlib-resources,
}:
buildPythonPackage rec {
@@ -22,10 +19,6 @@ buildPythonPackage rec {
nativeBuildInputs = [ hatch-vcs ];
propagatedBuildInputs =
lib.optionals (pythonOlder "3.7") [ importlib-resources ]
++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
passthru.updateScript = nix-update-script { };
meta = {
@@ -14,7 +14,6 @@
pytestCheckHook,
pytest-cov-stub,
pytest-django,
pythonOlder,
pytz,
requests,
requests-oauthlib,
@@ -28,7 +27,7 @@ buildPythonPackage rec {
version = "6.1.1";
format = "setuptools";
disabled = pythonOlder "3.7" || isPyPy;
disabled = isPyPy;
src = fetchFromGitHub {
owner = "stephenmcd";
@@ -6,7 +6,6 @@
graphvizPkgs,
isPyPy,
python,
pythonOlder,
replaceVars,
setuptools,
}:
@@ -16,7 +15,7 @@ buildPythonPackage rec {
version = "3.6.2";
pyproject = true;
disabled = pythonOlder "3.7" || isPyPy;
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
@@ -3,7 +3,6 @@
buildPythonPackage,
fetchPypi,
isPyPy,
pythonOlder,
unixODBC,
}:
@@ -12,7 +11,7 @@ buildPythonPackage rec {
version = "5.2.0";
format = "setuptools";
disabled = pythonOlder "3.7" || isPyPy; # use pypypdbc instead
disabled = isPyPy; # use pypypdbc instead
src = fetchPypi {
inherit pname version;
@@ -10,7 +10,6 @@
bzip2,
zlib,
pybind11,
pythonOlder,
pytest-httpserver,
pytestCheckHook,
setuptools,
@@ -26,7 +25,7 @@ buildPythonPackage rec {
version = "4.0.2";
pyproject = true;
disabled = pythonOlder "3.7" || isPyPy;
disabled = isPyPy;
src = fetchFromGitHub {
owner = "osmcode";
@@ -10,7 +10,6 @@
pytest-aiohttp,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
requests,
requests-mock,
setuptools,
@@ -25,7 +24,7 @@ buildPythonPackage rec {
pypriject = true;
# https://github.com/vanstinator/raincloudy/issues/65
disabled = pythonOlder "3.7" || pythonAtLeast "3.12";
disabled = pythonAtLeast "3.12";
src = fetchFromGitHub {
owner = "vanstinator";
@@ -10,7 +10,6 @@
praw,
pyenchant,
pytestCheckHook,
pythonOlder,
pytz,
sqlalchemy,
xmltodict,
@@ -23,7 +22,7 @@ buildPythonPackage rec {
version = "8.0.4";
pyproject = true;
disabled = isPyPy || pythonOlder "3.7";
disabled = isPyPy;
src = fetchPypi {
inherit pname version;
@@ -2,10 +2,8 @@
lib,
buildPythonPackage,
fetchPypi,
importlib-resources,
pytest-subtests,
pytestCheckHook,
pythonOlder,
setuptools,
}:
@@ -24,8 +22,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
pytest-subtests
]
++ lib.optionals (pythonOlder "3.7") [ importlib-resources ];
];
pythonImportsCheck = [ "tzdata" ];
@@ -8,7 +8,6 @@
setuptools,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
}:
buildPythonPackage rec {
@@ -17,7 +16,7 @@ buildPythonPackage rec {
format = "setuptools";
# upstream technically support 3.7 through 3.9, but 3.10 happens to work while 3.11 breaks with an import error
disabled = pythonOlder "3.7" || pythonAtLeast "3.11";
disabled = pythonAtLeast "3.11";
src = fetchFromGitHub {
owner = "sqlalchemyorg";