mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
python312Packages.cython: 0.29.36 -> 3.0.9
Folds the cython_3 attribute into the primary cython attribute and migrates all packages from the versioned attribute. The old version will be provided through the cython_0 attribute in an effort to phase it out.
This commit is contained in:
parent
b974abcc5d
commit
528354e66c
@ -21,7 +21,7 @@ python3.pkgs.buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
cython
|
||||
cython_0
|
||||
numpy
|
||||
setuptools
|
||||
wheel
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, sage-src
|
||||
, cython_3
|
||||
, cython
|
||||
, jinja2
|
||||
, pkgconfig # the python module, not the pkg-config alias
|
||||
}:
|
||||
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
pname = "sage-setup";
|
||||
src = sage-src;
|
||||
|
||||
nativeBuildInputs = [ cython_3 ];
|
||||
nativeBuildInputs = [ cython ];
|
||||
buildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs = [ jinja2 ];
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
, cvxopt
|
||||
, cypari2
|
||||
, cysignals
|
||||
, cython_3
|
||||
, cython
|
||||
, fpylll
|
||||
, gmpy2
|
||||
, importlib-metadata
|
||||
@ -153,7 +153,7 @@ buildPythonPackage rec {
|
||||
cvxopt
|
||||
cypari2
|
||||
cysignals
|
||||
cython_3
|
||||
cython
|
||||
fpylll
|
||||
gmpy2
|
||||
importlib-metadata
|
||||
|
@ -4,7 +4,7 @@
|
||||
, pythonOlder
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
@ -39,7 +39,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
cython_3
|
||||
cython
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
# build time
|
||||
, astropy-extension-helpers
|
||||
, cython_3
|
||||
, cython
|
||||
, jinja2
|
||||
, oldest-supported-numpy
|
||||
, setuptools-scm
|
||||
@ -37,7 +37,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
astropy-extension-helpers
|
||||
cython_3
|
||||
cython
|
||||
jinja2
|
||||
oldest-supported-numpy
|
||||
setuptools-scm
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, cython
|
||||
, cython_0
|
||||
, hypothesis
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
cython
|
||||
cython_0
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
# build-system
|
||||
, cmake
|
||||
, cython_3
|
||||
, cython
|
||||
, ninja
|
||||
, oldest-supported-numpy
|
||||
, pkg-config
|
||||
@ -47,7 +47,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
cython_3
|
||||
cython
|
||||
ninja
|
||||
oldest-supported-numpy
|
||||
pkg-config
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cryptography
|
||||
, cython_3
|
||||
, cython
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
env.REQUIRE_CYTHON = 1;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
poetry-core
|
||||
setuptools
|
||||
];
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
poetry-core
|
||||
setuptools
|
||||
wheel
|
||||
|
@ -2,7 +2,7 @@
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, cython
|
||||
, cython_0
|
||||
, eventlet
|
||||
, fetchFromGitHub
|
||||
, geomet
|
||||
@ -43,7 +43,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -4,7 +4,7 @@
|
||||
, pythonOlder
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, poetry-core
|
||||
, setuptools
|
||||
|
||||
@ -34,7 +34,7 @@ buildPythonPackage {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
poetry-core
|
||||
setuptools
|
||||
];
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
# build_requires
|
||||
, cython_3
|
||||
, cython
|
||||
# install_requires
|
||||
, certifi
|
||||
, importlib-metadata
|
||||
@ -36,7 +36,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-YEtcM9+GO8mYv2pyaBYmXdmWLXVuteKtQIJR4H+Xsd4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython_3 ];
|
||||
nativeBuildInputs = [ cython ];
|
||||
setupPyBuildFlags = [ "--inplace" ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, clickhouse-cityhash
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, freezegun
|
||||
, lz4
|
||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cython_3
|
||||
, cython
|
||||
, pexpect
|
||||
, python
|
||||
, pythonOlder
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
, fetchPypi
|
||||
, pari
|
||||
, gmp
|
||||
, cython_3
|
||||
, cython
|
||||
, cysignals
|
||||
}:
|
||||
|
||||
@ -45,7 +45,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cysignals
|
||||
cython_3
|
||||
cython
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
|
@ -2,7 +2,7 @@
|
||||
, autoreconfHook
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, cython_3
|
||||
, cython
|
||||
, pariSupport ? true, pari # for interfacing with the PARI/GP signal handler
|
||||
}:
|
||||
|
||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
] ++ lib.optionals pariSupport [
|
||||
# When cysignals is built with pari, including cysignals into the
|
||||
# buildInputs of another python package will cause cython to link against
|
||||
|
91
pkgs/development/python-modules/cython/0.nix
Normal file
91
pkgs/development/python-modules/cython/0.nix
Normal file
@ -0,0 +1,91 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, setuptools
|
||||
, python
|
||||
, pkg-config
|
||||
, gdb
|
||||
, numpy
|
||||
, ncurses
|
||||
}:
|
||||
|
||||
let
|
||||
excludedTests = [ "reimport_from_subinterpreter" ]
|
||||
# cython's testsuite is not working very well with libc++
|
||||
# We are however optimistic about things outside of testsuite still working
|
||||
++ lib.optionals (stdenv.cc.isClang or false) [ "cpdef_extern_func" "libcpp_algo" ]
|
||||
# Some tests in the test suite isn't working on aarch64. Disable them for
|
||||
# now until upstream finds a workaround.
|
||||
# Upstream issue here: https://github.com/cython/cython/issues/2308
|
||||
++ lib.optionals stdenv.isAarch64 [ "numpy_memoryview" ]
|
||||
++ lib.optionals stdenv.isi686 [ "future_division" "overflow_check_longlong" ]
|
||||
;
|
||||
|
||||
in buildPythonPackage rec {
|
||||
pname = "cython";
|
||||
version = "0.29.36";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Cython";
|
||||
inherit version;
|
||||
hash = "sha256-QcDP0tdU44PJ7rle/8mqSrhH0Ml0cHfd18Dctow7wB8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
gdb numpy ncurses
|
||||
];
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
patches = [
|
||||
# backport Cython 3.0 trashcan support (https://github.com/cython/cython/pull/2842) to 0.X series.
|
||||
# it does not affect Python code unless the code explicitly uses the feature.
|
||||
# trashcan support is needed to avoid stack overflows during object deallocation in sage (https://trac.sagemath.org/ticket/27267)
|
||||
./trashcan.patch
|
||||
# The above commit introduces custom trashcan macros, as well as
|
||||
# compiler changes to use them in Cython-emitted code. The latter
|
||||
# change is still useful, but the former has been upstreamed as of
|
||||
# Python 3.8, and the patch below makes Cython use the upstream
|
||||
# trashcan macros whenever available. This is needed for Python
|
||||
# 3.11 support, because the API used in Cython's implementation
|
||||
# changed: https://github.com/cython/cython/pull/4475
|
||||
(fetchpatch {
|
||||
name = "disable-trashcan.patch";
|
||||
url = "https://github.com/cython/cython/commit/e337825cdcf5e94d38ba06a0cb0188e99ce0cc92.patch";
|
||||
hash = "sha256-q0f63eetKrDpmP5Z4v8EuGxg26heSyp/62OYqhRoSso=";
|
||||
})
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
export HOME="$NIX_BUILD_TOP"
|
||||
${python.interpreter} runtests.py -j$NIX_BUILD_CORES \
|
||||
--no-code-style \
|
||||
${lib.optionalString (builtins.length excludedTests != 0)
|
||||
''--exclude="(${builtins.concatStringsSep "|" excludedTests})"''}
|
||||
'';
|
||||
|
||||
# https://github.com/cython/cython/issues/2785
|
||||
# Temporary solution
|
||||
doCheck = false;
|
||||
# doCheck = !stdenv.isDarwin;
|
||||
|
||||
# force regeneration of generated code in source distributions
|
||||
# https://github.com/cython/cython/issues/5089
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/cython/cython/blob/${version}/CHANGES.rst";
|
||||
description = "An optimising static compiler for both the Python programming language and the extended Cython programming language";
|
||||
homepage = "https://cython.org";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fridh ];
|
||||
};
|
||||
}
|
@ -2,7 +2,6 @@
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, setuptools
|
||||
, python
|
||||
, pkg-config
|
||||
@ -25,16 +24,16 @@ let
|
||||
|
||||
in buildPythonPackage rec {
|
||||
pname = "cython";
|
||||
version = "0.29.36";
|
||||
version = "3.0.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "Cython";
|
||||
inherit version;
|
||||
hash = "sha256-QcDP0tdU44PJ7rle/8mqSrhH0Ml0cHfd18Dctow7wB8=";
|
||||
hash = "sha256-otNU8FnR8FXTTPqmLFtovHisLOq2QHFI1H+1CM87pPM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
pkg-config
|
||||
setuptools
|
||||
];
|
||||
@ -43,26 +42,7 @@ in buildPythonPackage rec {
|
||||
gdb numpy ncurses
|
||||
];
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
patches = [
|
||||
# backport Cython 3.0 trashcan support (https://github.com/cython/cython/pull/2842) to 0.X series.
|
||||
# it does not affect Python code unless the code explicitly uses the feature.
|
||||
# trashcan support is needed to avoid stack overflows during object deallocation in sage (https://trac.sagemath.org/ticket/27267)
|
||||
./trashcan.patch
|
||||
# The above commit introduces custom trashcan macros, as well as
|
||||
# compiler changes to use them in Cython-emitted code. The latter
|
||||
# change is still useful, but the former has been upstreamed as of
|
||||
# Python 3.8, and the patch below makes Cython use the upstream
|
||||
# trashcan macros whenever available. This is needed for Python
|
||||
# 3.11 support, because the API used in Cython's implementation
|
||||
# changed: https://github.com/cython/cython/pull/4475
|
||||
(fetchpatch {
|
||||
name = "disable-trashcan.patch";
|
||||
url = "https://github.com/cython/cython/commit/e337825cdcf5e94d38ba06a0cb0188e99ce0cc92.patch";
|
||||
hash = "sha256-q0f63eetKrDpmP5Z4v8EuGxg26heSyp/62OYqhRoSso=";
|
||||
})
|
||||
];
|
||||
env.LC_ALL = "en_US.UTF-8";
|
||||
|
||||
checkPhase = ''
|
||||
export HOME="$NIX_BUILD_TOP"
|
||||
|
@ -1,9 +1,8 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, unittestCheckHook
|
||||
, cython
|
||||
, cython_0
|
||||
, setuptools
|
||||
, wheel
|
||||
, numpy
|
||||
@ -32,7 +31,7 @@ buildPythonPackage rec {
|
||||
unittestFlagsArray = [ "-s" "test" "-p" "'*.py'" "-v" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
env.REQUIRE_CYTHON = 1;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
poetry-core
|
||||
setuptools
|
||||
wheel
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, autoconf
|
||||
, cython
|
||||
, cython_0
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
cython
|
||||
cython_0
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, cython_3
|
||||
, cython
|
||||
, pdm-backend
|
||||
, setuptools
|
||||
, pythonOlder
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
pdm-backend
|
||||
setuptools
|
||||
];
|
||||
|
@ -7,7 +7,7 @@
|
||||
, pythonOlder
|
||||
|
||||
, setuptools
|
||||
, cython_3
|
||||
, cython
|
||||
|
||||
, symspellpy
|
||||
, numpy
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
cython_3
|
||||
cython
|
||||
];
|
||||
|
||||
# error: infinite recursion encountered
|
||||
|
@ -6,7 +6,7 @@
|
||||
, fetchFromGitHub
|
||||
|
||||
# build
|
||||
, cython_3
|
||||
, cython
|
||||
, setuptools
|
||||
|
||||
# tests
|
||||
@ -43,7 +43,7 @@ buildPythonPackage rec {
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
] ++ lib.optionals (!isPyPy) [
|
||||
cython_3
|
||||
cython
|
||||
];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, cython_3
|
||||
, cython
|
||||
, gdal
|
||||
, oldest-supported-numpy
|
||||
, setuptools
|
||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
gdal # for gdal-config
|
||||
oldest-supported-numpy
|
||||
setuptools
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
# build-system
|
||||
, cysignals
|
||||
, cython_3
|
||||
, cython
|
||||
, pkgconfig
|
||||
, setuptools
|
||||
|
||||
@ -39,7 +39,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
cysignals
|
||||
pkgconfig
|
||||
setuptools
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cython_3
|
||||
, cython
|
||||
, expandvars
|
||||
, fetchFromGitHub
|
||||
, pep517
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
expandvars
|
||||
cython_3
|
||||
cython
|
||||
pep517
|
||||
setuptools
|
||||
wheel
|
||||
|
@ -3,7 +3,7 @@
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, cython_0
|
||||
, mecab
|
||||
, setuptools-scm
|
||||
, ipadic
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-4i7Q+TtXTQNSJ1EIcS8KHrVPdCJAgZh86Y6lB8772XU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython mecab setuptools-scm ];
|
||||
nativeBuildInputs = [ cython_0 mecab setuptools-scm ];
|
||||
|
||||
nativeCheckInputs = [ ipadic pytestCheckHook ]
|
||||
++ passthru.optional-dependencies.unidic-lite;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, cython_0
|
||||
, pkg-config
|
||||
, libgbinder
|
||||
}:
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
pkg-config
|
||||
];
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
, python
|
||||
, libev
|
||||
, cffi
|
||||
, cython_3
|
||||
, cython
|
||||
, greenlet
|
||||
, importlib-metadata
|
||||
, setuptools
|
||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
setuptools
|
||||
wheel
|
||||
] ++ lib.optionals (!isPyPy) [
|
||||
|
@ -7,7 +7,7 @@
|
||||
, wheel
|
||||
, numpy
|
||||
, hdf5
|
||||
, cython
|
||||
, cython_0
|
||||
, pkgconfig
|
||||
, mpi4py ? null
|
||||
, openssh
|
||||
@ -50,7 +50,7 @@ in buildPythonPackage rec {
|
||||
preBuild = lib.optionalString mpiSupport "export CC=${lib.getDev mpi}/bin/mpicc";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
oldest-supported-numpy
|
||||
pkgconfig
|
||||
setuptools
|
||||
|
@ -3,7 +3,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, xcbuild
|
||||
, cython
|
||||
, cython_0
|
||||
, libusb1
|
||||
, udev
|
||||
, darwin
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.isDarwin [ xcbuild ];
|
||||
|
||||
propagatedBuildInputs = [ cython ]
|
||||
propagatedBuildInputs = [ cython_0 ]
|
||||
++ lib.optionals stdenv.isLinux [ libusb1 udev ]
|
||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ AppKit CoreFoundation IOKit ]);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchPypi
|
||||
, future
|
||||
, pytestCheckHook
|
||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
hatchling
|
||||
hatch-vcs
|
||||
];
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv
|
||||
, buildPythonPackage, fetchFromGitHub, fetchpatch
|
||||
, pkg-config, cython, docutils
|
||||
, pkg-config, cython_0, docutils
|
||||
, kivy-garden
|
||||
, mesa, mtdev, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer
|
||||
, Accelerate, ApplicationServices, AVFoundation, libcxx
|
||||
@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cython
|
||||
cython_0
|
||||
docutils
|
||||
];
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, cmake
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
cython_3
|
||||
cython
|
||||
scikit-build
|
||||
];
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, cython
|
||||
, cython_0
|
||||
, numpy
|
||||
, six
|
||||
, nose
|
||||
@ -67,13 +67,13 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
cython_0
|
||||
] ++ lib.optionals cudaSupport [
|
||||
addOpenGLRunpath
|
||||
];
|
||||
|
||||
|
||||
buildInputs = [
|
||||
cython
|
||||
nose
|
||||
];
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cython_3
|
||||
, cython
|
||||
, isPyPy
|
||||
, ipython
|
||||
, scikit-build
|
||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
cmake
|
||||
scikit-build
|
||||
];
|
||||
|
@ -3,7 +3,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, cython_3
|
||||
, cython
|
||||
, fuse
|
||||
, pkg-config
|
||||
, pytestCheckHook
|
||||
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-6/iW5eHmX6ODVPLFkOo3bN9yW8ixqy2MHwQ2r9FA0iI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython_3 pkg-config setuptools ];
|
||||
nativeBuildInputs = [ cython pkg-config setuptools ];
|
||||
|
||||
buildInputs = [ fuse ];
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
build-system = [
|
||||
cython_3
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, setuptools
|
||||
|
||||
# native dependencies
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
nativeBuildInputs = [
|
||||
libxml2.dev
|
||||
libxslt.dev
|
||||
cython_3
|
||||
cython
|
||||
setuptools
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
xcodebuild
|
||||
|
@ -5,7 +5,7 @@
|
||||
, fetchpatch
|
||||
, llvmPackages
|
||||
, zlib
|
||||
, cython
|
||||
, cython_0
|
||||
, oldest-supported-numpy
|
||||
, setuptools
|
||||
, wheel
|
||||
@ -42,7 +42,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
oldest-supported-numpy
|
||||
setuptools
|
||||
wheel
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, cython_3
|
||||
, cython
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-E4BcKuHAG3SJ+rXo6sk2FmK08sAkEuNlLuzkj/aVMWI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cython_3 ];
|
||||
propagatedBuildInputs = [ cython ];
|
||||
|
||||
pythonImportsCheck = [ "memory_allocator" ];
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
|
||||
# optional
|
||||
, numpy
|
||||
@ -27,7 +27,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchPypi
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, meson-python
|
||||
, ninja
|
||||
, setuptools
|
||||
@ -37,7 +37,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
cython_3
|
||||
cython
|
||||
meson-python
|
||||
setuptools
|
||||
ninja
|
||||
|
@ -8,7 +8,7 @@
|
||||
, writeTextFile
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, gfortran
|
||||
, meson-python
|
||||
, mesonEmulatorHook
|
||||
@ -91,7 +91,7 @@ in buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
gfortran
|
||||
meson-python
|
||||
pkg-config
|
||||
|
@ -3,8 +3,7 @@
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
, cython
|
||||
, pythonImportsCheckHook
|
||||
, cython_0
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -19,7 +18,7 @@ buildPythonPackage rec {
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm cython ];
|
||||
nativeBuildInputs = [ setuptools-scm cython_0 ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
pythonImportsCheck = [ "openstep_plist" ];
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
build-system = [
|
||||
cython_3
|
||||
cython
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
@ -6,7 +6,7 @@
|
||||
, pythonOlder
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, meson-python
|
||||
, meson
|
||||
, oldest-supported-numpy
|
||||
@ -84,7 +84,7 @@ let pandas = buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
meson-python
|
||||
meson
|
||||
numpy
|
||||
|
@ -5,7 +5,7 @@
|
||||
, mpfr
|
||||
, libmpc
|
||||
, ppl
|
||||
, cython_3
|
||||
, cython
|
||||
, cysignals
|
||||
, gmpy2
|
||||
, sphinx
|
||||
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
cysignals
|
||||
gmpy2
|
||||
];
|
||||
|
@ -2,7 +2,7 @@
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, primecount
|
||||
, cython_3
|
||||
, cython
|
||||
, cysignals
|
||||
}:
|
||||
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
|
||||
buildInputs = [ primecount ];
|
||||
|
||||
propagatedBuildInputs = [ cython_3 cysignals ];
|
||||
propagatedBuildInputs = [ cython cysignals ];
|
||||
|
||||
# depends on pytest-cython for "pytest --doctest-cython"
|
||||
doCheck = false;
|
||||
|
@ -15,7 +15,7 @@
|
||||
, typing-extensions
|
||||
|
||||
# psycopg-c
|
||||
, cython_3
|
||||
, cython
|
||||
, tomli
|
||||
|
||||
# docs
|
||||
@ -72,7 +72,7 @@ let
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
postgresql
|
||||
setuptools
|
||||
tomli
|
||||
|
@ -2,7 +2,7 @@
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cython
|
||||
, cython_0
|
||||
, zfs
|
||||
}:
|
||||
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-vBLbjP1gQEQNsTLc2W6uRzCFHQXZp+jGiwE0Pe8VTuw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
nativeBuildInputs = [ cython_0 ];
|
||||
buildInputs = [ zfs ];
|
||||
|
||||
# Passing CFLAGS in configureFlags does not work, see https://github.com/truenas/py-libzfs/issues/107
|
||||
|
@ -8,7 +8,7 @@
|
||||
, cffi
|
||||
, cloudpickle
|
||||
, cmake
|
||||
, cython
|
||||
, cython_0
|
||||
, fsspec
|
||||
, hypothesis
|
||||
, numpy
|
||||
@ -45,7 +45,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
cython
|
||||
cython_0
|
||||
pkg-config
|
||||
setuptools
|
||||
setuptools-scm
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, cython_0
|
||||
, email-validator
|
||||
, fetchFromGitHub
|
||||
, pytest-mock
|
||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
cython
|
||||
cython_0
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals (pythonOlder "3.9") [
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, fftw, fftwFloat, fftwLongDouble, numpy, scipy, cython, dask }:
|
||||
, fftw, fftwFloat, fftwLongDouble, numpy, scipy, cython_0, dask }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.13.1";
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
|
||||
buildInputs = [ fftw fftwFloat fftwLongDouble];
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy cython dask ];
|
||||
propagatedBuildInputs = [ numpy scipy cython_0 dask ];
|
||||
|
||||
# Tests cannot import pyfftw. pyfftw works fine though.
|
||||
doCheck = false;
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, cython_3
|
||||
, cython
|
||||
, pkg-config
|
||||
, setuptools
|
||||
, fuse3
|
||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
pkg-config
|
||||
setuptools
|
||||
];
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildPythonPackage, fetchurl, isPy27, renpy
|
||||
, cython, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, libjpeg, libpng }:
|
||||
, cython_0, SDL2, SDL2_image, SDL2_ttf, SDL2_mixer, libjpeg, libpng }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pygame-sdl2";
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
SDL2.dev cython
|
||||
SDL2.dev cython_0
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -6,7 +6,7 @@
|
||||
, pythonOlder
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, setuptools
|
||||
, pkg-config
|
||||
|
||||
@ -70,7 +70,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
pkg-config
|
||||
SDL2
|
||||
setuptools
|
||||
|
@ -4,7 +4,7 @@
|
||||
, python
|
||||
, geos_3_11
|
||||
, pytestCheckHook
|
||||
, cython
|
||||
, cython_0
|
||||
, numpy
|
||||
}:
|
||||
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
geos_3_11 # for geos-config
|
||||
cython
|
||||
cython_0
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchPypi
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, numpy
|
||||
, setuptools
|
||||
|
||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
numpy
|
||||
setuptools
|
||||
];
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, cython_3
|
||||
, cython
|
||||
, poetry-core
|
||||
, setuptools
|
||||
, numpy
|
||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
poetry-core
|
||||
setuptools
|
||||
];
|
||||
|
@ -4,7 +4,7 @@
|
||||
, isPyPy
|
||||
, pythonAtLeast
|
||||
, liblo
|
||||
, cython
|
||||
, cython_0
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -25,7 +25,9 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ liblo cython ];
|
||||
build-system = [ cython_0 ];
|
||||
|
||||
buildInputs = [ liblo ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://das.nasophon.de/pyliblo/";
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonAtLeast
|
||||
, fetchPypi
|
||||
, cython_3
|
||||
, cython
|
||||
, numpy
|
||||
, setuptools
|
||||
, wheel
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
numpy
|
||||
setuptools
|
||||
wheel
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, libiconv
|
||||
, pandas
|
||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -4,7 +4,7 @@
|
||||
, contexttimer
|
||||
, setuptools
|
||||
, versioneer
|
||||
, cython
|
||||
, cython_0
|
||||
, numpy
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
setuptools
|
||||
versioneer
|
||||
];
|
||||
|
@ -4,7 +4,7 @@
|
||||
, bzip2
|
||||
, bcftools
|
||||
, curl
|
||||
, cython_3
|
||||
, cython
|
||||
, htslib
|
||||
, libdeflate
|
||||
, xz
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
samtools
|
||||
setuptools
|
||||
];
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, msgpack
|
||||
, poetry-core
|
||||
@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cython
|
||||
, cython_0
|
||||
, openems
|
||||
, csxcad
|
||||
, boost
|
||||
@ -20,7 +19,7 @@ buildPythonPackage rec {
|
||||
sourceRoot = "${src.name}/python";
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
boost
|
||||
];
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
, CoreMIDI
|
||||
, CoreServices
|
||||
, Foundation
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchPypi
|
||||
, flake8
|
||||
, libjack2
|
||||
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
meson-python
|
||||
ninja
|
||||
pkg-config
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, cython
|
||||
, cython_0
|
||||
, setuptools
|
||||
, libyaml
|
||||
, python
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
, isPyPy
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, packaging
|
||||
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
||||
] ++ (if isPyPy then [
|
||||
cffi
|
||||
] else [
|
||||
cython_3
|
||||
cython
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
|
@ -3,7 +3,7 @@
|
||||
, buildPythonPackage
|
||||
, cvxopt
|
||||
, cvxpy
|
||||
, cython
|
||||
, cython_0
|
||||
, fetchFromGitHub
|
||||
, ipython
|
||||
, matplotlib
|
||||
@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -4,7 +4,7 @@
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, cython_3
|
||||
, cython
|
||||
, ninja
|
||||
, scikit-build
|
||||
, setuptools
|
||||
@ -37,7 +37,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
cython_3
|
||||
cython
|
||||
ninja
|
||||
scikit-build
|
||||
setuptools
|
||||
|
@ -13,7 +13,7 @@
|
||||
, click
|
||||
, click-plugins
|
||||
, cligj
|
||||
, cython_3
|
||||
, cython
|
||||
, gdal
|
||||
, hypothesis
|
||||
, ipython
|
||||
@ -55,7 +55,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
gdal
|
||||
numpy
|
||||
oldest-supported-numpy
|
||||
|
@ -4,7 +4,7 @@
|
||||
, astropy-healpix
|
||||
, buildPythonPackage
|
||||
, cloudpickle
|
||||
, cython_3
|
||||
, cython
|
||||
, dask
|
||||
, fetchPypi
|
||||
, fsspec
|
||||
@ -37,7 +37,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
astropy-extension-helpers
|
||||
cython_3
|
||||
cython
|
||||
numpy
|
||||
oldest-supported-numpy
|
||||
setuptools-scm
|
||||
|
@ -2,7 +2,7 @@
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cython
|
||||
, cython_0
|
||||
, alsa-lib
|
||||
, CoreAudio
|
||||
, CoreMIDI
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
rm rtmidi_python.cpp
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
nativeBuildInputs = [ cython_0 ];
|
||||
buildInputs = lib.optionals stdenv.isLinux [
|
||||
alsa-lib
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
|
@ -4,7 +4,7 @@
|
||||
, fetchPypi
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, gfortran
|
||||
, numpy
|
||||
, scipy
|
||||
@ -46,7 +46,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
build-system = [
|
||||
cython_3
|
||||
cython
|
||||
numpy
|
||||
scipy
|
||||
setuptools
|
||||
|
@ -3,7 +3,7 @@
|
||||
, buildPythonPackage
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, git
|
||||
, pkgconfig
|
||||
, setuptools
|
||||
@ -40,7 +40,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
git
|
||||
pkgconfig
|
||||
setuptools
|
||||
|
@ -1,5 +1,4 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
@ -7,7 +6,7 @@
|
||||
, matplotlib
|
||||
, pyparsing
|
||||
, tables
|
||||
, cython
|
||||
, cython_0
|
||||
, python
|
||||
, sympy
|
||||
, meshio
|
||||
@ -34,7 +33,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
cython
|
||||
cython_0
|
||||
scipy
|
||||
matplotlib
|
||||
pyparsing
|
||||
|
@ -6,7 +6,7 @@
|
||||
, pythonOlder
|
||||
, substituteAll
|
||||
|
||||
, cython
|
||||
, cython_0
|
||||
, geos_3_11
|
||||
, numpy
|
||||
, oldest-supported-numpy
|
||||
@ -44,7 +44,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
geos_3_11 # for geos-config
|
||||
oldest-supported-numpy
|
||||
setuptools
|
||||
|
@ -5,7 +5,7 @@
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
|
||||
, cython
|
||||
, cython_0
|
||||
, geos
|
||||
, numpy
|
||||
, oldest-supported-numpy
|
||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
geos # for geos-config
|
||||
oldest-supported-numpy
|
||||
setuptools
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, cython_3
|
||||
, cython
|
||||
, numpy
|
||||
, oldest-supported-numpy
|
||||
, setuptools
|
||||
@ -36,7 +36,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
gnutar
|
||||
numpy
|
||||
oldest-supported-numpy
|
||||
|
@ -27,7 +27,6 @@
|
||||
, sphinxcontrib-websupport
|
||||
|
||||
# check phase
|
||||
, cython
|
||||
, filelock
|
||||
, html5lib
|
||||
, pytestCheckHook
|
||||
@ -83,7 +82,6 @@ buildPythonPackage rec {
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
nativeCheckInputs = [
|
||||
cython
|
||||
filelock
|
||||
html5lib
|
||||
pytestCheckHook
|
||||
@ -108,6 +106,8 @@ buildPythonPackage rec {
|
||||
"test_class_alias_having_doccomment"
|
||||
"test_class_alias_for_imported_object_having_doccomment"
|
||||
"test_decorators"
|
||||
# requires cython_0, but fails miserably on 3.11
|
||||
"test_cython"
|
||||
] ++ lib.optionals isPyPy [
|
||||
# PyPy has not __builtins__ which get asserted
|
||||
# https://doc.pypy.org/en/latest/cpython_differences.html#miscellaneous
|
||||
@ -117,7 +117,6 @@ buildPythonPackage rec {
|
||||
"test_autodoc_inherited_members_None"
|
||||
"test_automethod_for_builtin"
|
||||
"test_builtin_function"
|
||||
"test_cython"
|
||||
"test_isattributedescriptor"
|
||||
"test_methoddescriptor"
|
||||
"test_partialfunction"
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, cython
|
||||
, cython_0
|
||||
, catalogue
|
||||
, mock
|
||||
, numpy
|
||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, cairocffi
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchPypi
|
||||
, igraph
|
||||
, leidenalg
|
||||
@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
cython_3
|
||||
cython
|
||||
poetry-core
|
||||
setuptools
|
||||
];
|
||||
|
@ -9,7 +9,7 @@
|
||||
, CoreGraphics
|
||||
, CoreVideo
|
||||
, cymem
|
||||
, cython
|
||||
, cython_0
|
||||
, fetchPypi
|
||||
, hypothesis
|
||||
, mock
|
||||
@ -50,7 +50,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
Accelerate
|
||||
CoreFoundation
|
||||
|
@ -3,7 +3,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cython
|
||||
, cython_0
|
||||
, certifi
|
||||
, CFNetwork
|
||||
, cmake
|
||||
@ -68,7 +68,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
cython
|
||||
cython_0
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -3,7 +3,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, cython_3
|
||||
, cython
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
@ -5,7 +5,7 @@
|
||||
, fetchPypi
|
||||
|
||||
# build-system
|
||||
, cython
|
||||
, cython_0
|
||||
, setuptools
|
||||
|
||||
# native dependencies
|
||||
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
cython_0
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
, buildPythonPackage
|
||||
, substituteAll
|
||||
, fetchPypi
|
||||
, cython_3
|
||||
, cython
|
||||
, fontconfig
|
||||
, freetype-py
|
||||
, hsluv
|
||||
@ -39,7 +39,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
oldest-supported-numpy
|
||||
setuptools
|
||||
setuptools-scm
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, cython_3
|
||||
, cython
|
||||
, fetchFromGitHub
|
||||
, jieba
|
||||
, joblib
|
||||
@ -30,13 +30,13 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
cython_3
|
||||
cython
|
||||
jieba
|
||||
joblib
|
||||
lmdb
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, cython_3
|
||||
, cython
|
||||
, expandvars
|
||||
, setuptools
|
||||
, idna
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
expandvars
|
||||
setuptools
|
||||
];
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib
|
||||
, cython_3
|
||||
, cython
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
poetry-core
|
||||
setuptools
|
||||
];
|
||||
|
@ -23,7 +23,7 @@ let
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
cython
|
||||
cython_0
|
||||
pkg-config
|
||||
SDL2
|
||||
];
|
||||
|
@ -257,7 +257,7 @@ let
|
||||
};
|
||||
|
||||
nativeBuildInputs = with self; [
|
||||
cython_3
|
||||
cython
|
||||
setuptools
|
||||
libxml2.dev
|
||||
libxslt.dev
|
||||
|
@ -2613,14 +2613,7 @@ self: super: with self; {
|
||||
|
||||
cython = callPackage ../development/python-modules/cython { };
|
||||
|
||||
cython_3 = self.cython.overridePythonAttrs (old: rec {
|
||||
version = "3.0.9";
|
||||
src = old.src.override {
|
||||
inherit version;
|
||||
hash = "sha256-otNU8FnR8FXTTPqmLFtovHisLOq2QHFI1H+1CM87pPM=";
|
||||
};
|
||||
patches = [ ];
|
||||
});
|
||||
cython_0 = callPackage ../development/python-modules/cython/0.nix { };
|
||||
|
||||
cython-test-exception-raiser = callPackage ../development/python-modules/cython-test-exception-raiser { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user