Merge pull request #317828 from malob/unbreak-python3Packages-darwin

python3Packages: unbreak packages that no longer seem to be broken (mostly on Darwin)
This commit is contained in:
Martin Weinelt 2024-06-28 19:45:14 +02:00 committed by GitHub
commit 4492ed1022
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
32 changed files with 7 additions and 70 deletions

View File

@ -60,7 +60,5 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Only; license = licenses.gpl3Only;
maintainers = [ maintainers.veprbl ]; maintainers = [ maintainers.veprbl ];
platforms = platforms.unix; platforms = platforms.unix;
# never built on aarch64-darwin since first introduction in nixpkgs
broken = (stdenv.isDarwin && stdenv.isAarch64) || (stdenv.isLinux && stdenv.isAarch64);
}; };
} }

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
cryptography, cryptography,
@ -79,7 +78,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "dask_jobqueue" ]; pythonImportsCheck = [ "dask_jobqueue" ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE"; description = "Deploy Dask on job schedulers like PBS, SLURM, and SGE";
homepage = "https://github.com/dask/dask-jobqueue"; homepage = "https://github.com/dask/dask-jobqueue";
license = licenses.bsd3; license = licenses.bsd3;

View File

@ -11,7 +11,6 @@
grpcio, grpcio,
skein, skein,
pytestCheckHook, pytestCheckHook,
stdenv,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -84,6 +83,5 @@ buildPythonPackage rec {
homepage = "https://yarn.dask.org/"; homepage = "https://yarn.dask.org/";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ illustris ]; maintainers = with maintainers; [ illustris ];
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
@ -49,6 +48,5 @@ buildPythonPackage rec {
changelog = "https://github.com/altdesktop/python-dbus-next/releases/tag/v${version}"; changelog = "https://github.com/altdesktop/python-dbus-next/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ sfrijters ]; maintainers = with maintainers; [ sfrijters ];
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitLab, fetchFromGitLab,
@ -36,7 +35,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "ducc0" ]; pythonImportsCheck = [ "ducc0" ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
homepage = "https://gitlab.mpcdf.mpg.de/mtr/ducc"; homepage = "https://gitlab.mpcdf.mpg.de/mtr/ducc";
description = "Efficient algorithms for Fast Fourier transforms and more"; description = "Efficient algorithms for Fast Fourier transforms and more";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
pyperclip, pyperclip,
@ -7,7 +6,7 @@
xlib, xlib,
pillow, pillow,
}: }:
buildPythonPackage rec { buildPythonPackage {
pname = "mouseinfo"; pname = "mouseinfo";
version = "0.1.3"; version = "0.1.3";
@ -34,7 +33,6 @@ buildPythonPackage rec {
]; ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
description = "Application to display XY position and RGB color information for the pixel currently under the mouse. Works on Python 2 and 3"; description = "Application to display XY position and RGB color information for the pixel currently under the mouse. Works on Python 2 and 3";
homepage = "https://github.com/asweigart/mouseinfo"; homepage = "https://github.com/asweigart/mouseinfo";
license = licenses.gpl3; license = licenses.gpl3;

View File

@ -1,6 +1,5 @@
{ {
lib, lib,
stdenv,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
jinja2, jinja2,
@ -66,6 +65,5 @@ buildPythonPackage rec {
changelog = "https://github.com/networktocode/netutils/releases/tag/v${version}"; changelog = "https://github.com/networktocode/netutils/releases/tag/v${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
@ -39,7 +38,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "numba_scipy" ]; pythonImportsCheck = [ "numba_scipy" ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
description = "Extends Numba to make it aware of SciPy"; description = "Extends Numba to make it aware of SciPy";
homepage = "https://github.com/numba/numba-scipy"; homepage = "https://github.com/numba/numba-scipy";
changelog = "https://github.com/numba/numba-scipy/blob/master/CHANGE_LOG"; changelog = "https://github.com/numba/numba-scipy/blob/master/CHANGE_LOG";

View File

@ -2,7 +2,6 @@
buildPythonPackage, buildPythonPackage,
pkgs, pkgs,
lib, lib,
stdenv,
hfst, hfst,
}: }:
@ -26,7 +25,5 @@ buildPythonPackage rec {
homepage = "https://github.com/flammie/omorfi"; homepage = "https://github.com/flammie/omorfi";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ lurkki ]; maintainers = with maintainers; [ lurkki ];
# Ofborg build error (hfst not found?)
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
@ -71,7 +70,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "oslo_concurrency" ]; pythonImportsCheck = [ "oslo_concurrency" ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
description = "Oslo Concurrency library"; description = "Oslo Concurrency library";
mainProgram = "lockutils-wrapper"; mainProgram = "lockutils-wrapper";
homepage = "https://github.com/openstack/oslo.concurrency"; homepage = "https://github.com/openstack/oslo.concurrency";

View File

@ -59,6 +59,5 @@ buildPythonPackage rec {
homepage = "https://github.com/openstack/oslo.log"; homepage = "https://github.com/openstack/oslo.log";
license = licenses.asl20; license = licenses.asl20;
maintainers = teams.openstack.members; maintainers = teams.openstack.members;
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
@ -70,6 +69,5 @@ buildPythonPackage rec {
changelog = "https://github.com/scikit-tda/persim/releases/tag/v${version}"; changelog = "https://github.com/scikit-tda/persim/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
async-timeout, async-timeout,
buildPythonPackage, buildPythonPackage,
@ -49,7 +48,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "pescea" ]; pythonImportsCheck = [ "pescea" ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
description = "Python interface to Escea fireplaces"; description = "Python interface to Escea fireplaces";
homepage = "https://github.com/lazdavila/pescea"; homepage = "https://github.com/lazdavila/pescea";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
@ -19,7 +18,6 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
description = "Cross-platform system power status information"; description = "Cross-platform system power status information";
homepage = "https://github.com/Kentzo/Power"; homepage = "https://github.com/Kentzo/Power";
license = licenses.mit; license = licenses.mit;

View File

@ -1,6 +1,5 @@
{ {
lib, lib,
stdenv,
bash, bash,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
@ -89,6 +88,5 @@ buildPythonPackage rec {
changelog = "https://github.com/abhinavsingh/proxy.py/releases/tag/v${version}"; changelog = "https://github.com/abhinavsingh/proxy.py/releases/tag/v${version}";
license = with licenses; [ bsd3 ]; license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
}; };
} }

View File

@ -58,7 +58,6 @@ let
changelog = "https://github.com/PyDMD/PyDMD/releases/tag/v${version}"; changelog = "https://github.com/PyDMD/PyDMD/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ yl3dy ]; maintainers = with maintainers; [ yl3dy ];
broken = stdenv.hostPlatform.isAarch64;
}; };
}; };
in in

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
@ -13,7 +12,7 @@
}: }:
let let
pylibjpeg-data = buildPythonPackage rec { pylibjpeg-data = buildPythonPackage {
pname = "pylibjpeg-data"; pname = "pylibjpeg-data";
version = "1.0.0dev0"; version = "1.0.0dev0";
pyproject = true; pyproject = true;
@ -64,8 +63,5 @@ buildPythonPackage rec {
changelog = "https://github.com/pydicom/pylibjpeg/releases/tag/v${version}"; changelog = "https://github.com/pydicom/pylibjpeg/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ bcdarwin ]; maintainers = with maintainers; [ bcdarwin ];
# several test failures of form
# "pydicom.errors.InvalidDicomError: File is missing DICOM File Meta Information header or the 'DICM' prefix is missing from the header. ..."
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,6 +1,5 @@
{ {
lib, lib,
stdenv,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
poetry-core, poetry-core,
@ -88,7 +87,5 @@ buildPythonPackage rec {
changelog = "https://github.com/pydicom/pynetdicom/releases/tag/v${version}"; changelog = "https://github.com/pydicom/pynetdicom/releases/tag/v${version}";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
# Tests are not passing on Darwin/Aarch64, thus it's assumed that it doesn't work
broken = stdenv.isDarwin || stdenv.isAarch64;
}; };
} }

View File

@ -1,6 +1,5 @@
{ {
lib, lib,
stdenv,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
pythonOlder, pythonOlder,
@ -32,6 +31,5 @@ buildPythonPackage rec {
changelog = "https://github.com/giampaolo/pysendfile/blob/release-${version}/HISTORY.rst"; changelog = "https://github.com/giampaolo/pysendfile/blob/release-${version}/HISTORY.rst";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ ];
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,6 +1,5 @@
{ {
lib, lib,
stdenv,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
pyannotate, pyannotate,
@ -32,7 +31,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "pytest_annotate" ]; pythonImportsCheck = [ "pytest_annotate" ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
description = "Generate PyAnnotate annotations from your pytest tests"; description = "Generate PyAnnotate annotations from your pytest tests";
homepage = "https://github.com/kensho-technologies/pytest-annotate"; homepage = "https://github.com/kensho-technologies/pytest-annotate";
license = licenses.asl20; license = licenses.asl20;

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
isPy3k, isPy3k,
buildPythonPackage, buildPythonPackage,
@ -30,7 +29,6 @@ buildPythonPackage rec {
pythonImportsCheck = [ "application" ]; pythonImportsCheck = [ "application" ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
description = "Collection of modules that are useful when building python applications"; description = "Collection of modules that are useful when building python applications";
homepage = "https://github.com/AGProjects/python3-application"; homepage = "https://github.com/AGProjects/python3-application";
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;

View File

@ -1,6 +1,5 @@
{ {
lib, lib,
stdenv,
fetchFromGitHub, fetchFromGitHub,
buildPythonPackage, buildPythonPackage,
pythonOlder, pythonOlder,
@ -11,7 +10,7 @@
texlive, texlive,
}: }:
buildPythonPackage rec { buildPythonPackage {
pname = "pytikz-allefeld"; # "pytikz" on pypi is a different module pname = "pytikz-allefeld"; # "pytikz" on pypi is a different module
version = "unstable-2022-11-01"; version = "unstable-2022-11-01";
pyproject = true; pyproject = true;
@ -54,6 +53,5 @@ buildPythonPackage rec {
description = "Python interface to TikZ"; description = "Python interface to TikZ";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = with maintainers; [ pbsds ]; maintainers = with maintainers; [ pbsds ];
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,9 +1,7 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
espeak-ng,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -22,7 +20,6 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
description = "Offline text-to-speech synthesis library"; description = "Offline text-to-speech synthesis library";
homepage = "https://github.com/nateshmbhat/pyttsx3"; homepage = "https://github.com/nateshmbhat/pyttsx3";
license = licenses.mpl20; license = licenses.mpl20;

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchFromGitHub, fetchFromGitHub,
@ -38,6 +37,5 @@ buildPythonPackage rec {
homepage = "https://scoding.de/ropper/"; homepage = "https://scoding.de/ropper/";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ bennofs ]; maintainers = with maintainers; [ bennofs ];
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
buildPythonPackage, buildPythonPackage,
fetchPypi, fetchPypi,
@ -36,7 +35,6 @@ buildPythonPackage rec {
''; '';
meta = with lib; { meta = with lib; {
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
homepage = "https://www.github.com/SethMichaelLarson/selectors2"; homepage = "https://www.github.com/SethMichaelLarson/selectors2";
description = "Back-ported, durable, and portable selectors"; description = "Back-ported, durable, and portable selectors";
license = licenses.mit; license = licenses.mit;

View File

@ -17,12 +17,9 @@
python, python,
sympy, sympy,
meshio, meshio,
mpi4py,
psutil,
openssh, openssh,
pyvista, pyvista,
pytest, pytest,
stdenv,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -89,6 +86,5 @@ buildPythonPackage rec {
description = "Simple Finite Elements in Python"; description = "Simple Finite Elements in Python";
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ wd15 ]; maintainers = with lib.maintainers; [ wd15 ];
broken = stdenv.isDarwin;
}; };
} }

View File

@ -59,6 +59,6 @@ stdenv.mkDerivation {
]; ];
homepage = "https://wiki.qt.io/Qt_for_Python"; homepage = "https://wiki.qt.io/Qt_for_Python";
maintainers = with maintainers; [ gebner ]; maintainers = with maintainers; [ gebner ];
broken = stdenv.isDarwin || pythonAtLeast "3.12"; broken = pythonAtLeast "3.12";
}; };
} }

View File

@ -1,6 +1,5 @@
{ {
lib, lib,
stdenv,
buildPythonPackage, buildPythonPackage,
commonmark, commonmark,
fetchFromGitHub, fetchFromGitHub,
@ -16,7 +15,7 @@
yapf, yapf,
}: }:
buildPythonPackage rec { buildPythonPackage {
pname = "sphinx-markdown-parser"; pname = "sphinx-markdown-parser";
version = "0.2.4"; version = "0.2.4";
pyproject = true; pyproject = true;
@ -62,6 +61,5 @@ buildPythonPackage rec {
homepage = "https://github.com/clayrisser/sphinx-markdown-parser"; homepage = "https://github.com/clayrisser/sphinx-markdown-parser";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ FlorianFranzen ]; maintainers = with maintainers; [ FlorianFranzen ];
broken = (stdenv.isLinux && stdenv.isAarch64) || stdenv.isDarwin;
}; };
} }

View File

@ -33,6 +33,5 @@ buildPythonPackage rec {
homepage = "https://github.com/abcminiuser/python-elgato-streamdeck"; homepage = "https://github.com/abcminiuser/python-elgato-streamdeck";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ majiir ]; maintainers = with maintainers; [ majiir ];
broken = stdenv.isDarwin;
}; };
} }

View File

@ -1,6 +1,5 @@
{ {
lib, lib,
stdenv,
buildPythonPackage, buildPythonPackage,
pythonOlder, pythonOlder,
fetchPypi, fetchPypi,
@ -79,7 +78,6 @@ buildPythonPackage rec {
]; ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
description = "Pipelines to manage continuous streams of data"; description = "Pipelines to manage continuous streams of data";
homepage = "https://github.com/python-streamz/streamz"; homepage = "https://github.com/python-streamz/streamz";
license = licenses.bsd3; license = licenses.bsd3;

View File

@ -69,7 +69,8 @@ buildPythonPackage rec {
description = "Vowpal Wabbit is a fast machine learning library for online learning, and this is the python wrapper for the project"; description = "Vowpal Wabbit is a fast machine learning library for online learning, and this is the python wrapper for the project";
homepage = "https://github.com/JohnLangford/vowpal_wabbit"; homepage = "https://github.com/JohnLangford/vowpal_wabbit";
license = licenses.bsd3; license = licenses.bsd3;
broken = stdenv.isAarch64;
maintainers = with maintainers; [ teh ]; maintainers = with maintainers; [ teh ];
# Test again when new version is released
broken = stdenv.isLinux;
}; };
} }

View File

@ -1,5 +1,4 @@
{ {
stdenv,
lib, lib,
fetchFromGitHub, fetchFromGitHub,
pythonOlder, pythonOlder,
@ -54,6 +53,5 @@ buildPythonPackage rec {
homepage = "http://wrf-python.rtfd.org"; homepage = "http://wrf-python.rtfd.org";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ mhaselsteiner ]; maintainers = with maintainers; [ mhaselsteiner ];
broken = stdenv.isDarwin;
}; };
} }