Merge pull request #299786 from mweinelt/staging-next-python-fixes
[staging-next] Various python fixes
This commit is contained in:
commit
5d44454602
@ -33,6 +33,7 @@ buildPythonApplication rec {
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"more-itertools"
|
||||
"packaging"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -57,6 +57,7 @@ buildPythonPackage rec {
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"asttokens"
|
||||
"packaging"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, absl-py
|
||||
, cloudpickle
|
||||
, dm-tree
|
||||
@ -15,8 +16,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chex";
|
||||
version = "0.1.85";
|
||||
format = "setuptools";
|
||||
version = "0.1.86";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
@ -24,10 +25,14 @@ buildPythonPackage rec {
|
||||
owner = "deepmind";
|
||||
repo = "chex";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-7k/+2dNNbPBXtbabuOEVpAI7T1SuM4JDf074dmTg/vs=";
|
||||
hash = "sha256-Z5Ns4fG5pC99I4xdGjDMKX6YZpTtd1y0TWcIOtr7dug=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
absl-py
|
||||
jaxlib
|
||||
jax
|
||||
|
@ -27,6 +27,11 @@ buildPythonPackage rec {
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"packaging"
|
||||
"structlog"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
colorama
|
||||
packaging
|
||||
@ -35,10 +40,6 @@ buildPythonPackage rec {
|
||||
structlog
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"structlog"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"diffsync"
|
||||
];
|
||||
|
@ -1,10 +1,13 @@
|
||||
{ lib, fetchPypi, buildPythonPackage }:
|
||||
{ lib, fetchPypi, buildPythonPackage, pythonAtLeast }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ed25519";
|
||||
version = "1.5";
|
||||
format = "setuptools";
|
||||
|
||||
# last commit in 2019, various compat issues with 3.12
|
||||
disabled = pythonAtLeast "3.12";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0n1k83ww0pr4q6z0h7p8hvy21hcgb96jvgllfbwhvvyf37h3w182";
|
||||
|
@ -36,9 +36,10 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"websockets"
|
||||
"cookiecutter"
|
||||
"packaging"
|
||||
"watchdog"
|
||||
"websockets"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonAtLeast
|
||||
, toolz
|
||||
, multipledispatch
|
||||
, py
|
||||
@ -33,6 +34,11 @@ buildPythonPackage rec {
|
||||
pytest-benchmark # Needed for the `--benchmark-skip` flag
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.12") [
|
||||
# Failed: DID NOT RAISE <class 'RecursionError'>
|
||||
"test_reify_recursion_limit"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--benchmark-skip"
|
||||
"--html=testing-report.html"
|
||||
|
@ -56,7 +56,11 @@ buildPythonPackage rec {
|
||||
setuptools
|
||||
];
|
||||
pythonRemoveDeps = [ "shap" ];
|
||||
pythonRelaxDeps = [ "pytz" "pyarrow" ];
|
||||
pythonRelaxDeps = [
|
||||
"packaging"
|
||||
"pytz"
|
||||
"pyarrow"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
alembic
|
||||
|
@ -27,6 +27,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"packaging"
|
||||
"python-gnupg"
|
||||
];
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonAtLeast
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -8,6 +9,9 @@ buildPythonPackage rec {
|
||||
version = "0.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
# imp and distuils usage, last commit in 2016
|
||||
disabled = pythonAtLeast "3.12";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1h7iam33vwxk8bvslfj4qlsdprdnwf8bvzhqh3jq5frr391cadbw";
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, packaging
|
||||
@ -24,6 +25,11 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"packaging"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -18,6 +18,7 @@
|
||||
, pympler
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, setuptools
|
||||
, requests
|
||||
, rich
|
||||
@ -44,6 +45,11 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"packaging"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -2,7 +2,7 @@
|
||||
, babel
|
||||
, buildPythonPackage
|
||||
, fetchFromGitLab
|
||||
, fetchpatch
|
||||
, pythonRelaxDepsHook
|
||||
, html2text
|
||||
, lxml
|
||||
, packaging
|
||||
@ -37,6 +37,11 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"packaging"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -30,6 +30,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
"networkx"
|
||||
"openai"
|
||||
"packageurl-python"
|
||||
"packaging"
|
||||
"pycep-parser"
|
||||
"termcolor"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user