Loading pkgs/development/python-modules/pymc/default.nix +8 −6 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, writableTmpDirAsHomeHook, # build-system setuptools, Loading @@ -18,11 +19,9 @@ scipy, threadpoolctl, typing-extensions, writableTmpDirAsHomeHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "pymc"; version = "5.27.0"; pyproject = true; Loading @@ -30,7 +29,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pymc-devs"; repo = "pymc"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-wBeWydrHrF+wNZnqWa2k8tCaUvjcoiSrmY85LUhrQds="; }; Loading @@ -39,6 +38,9 @@ buildPythonPackage rec { versioneer ]; pythonRelaxDeps = [ "pytensor" ]; dependencies = [ arviz cachetools Loading Loading @@ -68,10 +70,10 @@ buildPythonPackage rec { meta = { description = "Bayesian estimation, particularly using Markov chain Monte Carlo (MCMC)"; homepage = "https://github.com/pymc-devs/pymc"; changelog = "https://github.com/pymc-devs/pymc/releases/tag/v${version}"; changelog = "https://github.com/pymc-devs/pymc/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ nidabdella ]; }; } }) pkgs/development/python-modules/pytensor/default.nix +12 −8 Original line number Diff line number Diff line Loading @@ -31,19 +31,19 @@ nix-update-script, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "pytensor"; version = "2.36.3"; version = "2.37.0"; pyproject = true; src = fetchFromGitHub { owner = "pymc-devs"; repo = "pytensor"; tag = "rel-${version}"; tag = "rel-${finalAttrs.version}"; postFetch = '' sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' $out/pytensor/_version.py sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${finalAttrs.src.tag})"/' $out/pytensor/_version.py ''; hash = "sha256-FiqNE97tZw8rHF6VAQScGoiibMI+7KHzAy3tzmZBya4="; hash = "sha256-N6TYK/qMux/a0ktQyCGYHZg3g8S6To8g1FXnILk9HIw="; }; build-system = [ Loading Loading @@ -84,7 +84,11 @@ buildPythonPackage rec { rm -rf pytensor ''; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ disabledTests = [ # TypeError: jax_funcified_fgraph() takes 2 positional arguments but 3 were given "test_jax_Reshape_shape_graph_input" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Numerical assertion error # tests.unittest_tools.WrongValue: WrongValue "test_op_sd" Loading Loading @@ -174,10 +178,10 @@ buildPythonPackage rec { description = "Python library to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays"; mainProgram = "pytensor-cache"; homepage = "https://github.com/pymc-devs/pytensor"; changelog = "https://github.com/pymc-devs/pytensor/releases/tag/${src.tag}"; changelog = "https://github.com/pymc-devs/pytensor/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ bcdarwin ]; }; } }) Loading
pkgs/development/python-modules/pymc/default.nix +8 −6 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, writableTmpDirAsHomeHook, # build-system setuptools, Loading @@ -18,11 +19,9 @@ scipy, threadpoolctl, typing-extensions, writableTmpDirAsHomeHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "pymc"; version = "5.27.0"; pyproject = true; Loading @@ -30,7 +29,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "pymc-devs"; repo = "pymc"; tag = "v${version}"; tag = "v${finalAttrs.version}"; hash = "sha256-wBeWydrHrF+wNZnqWa2k8tCaUvjcoiSrmY85LUhrQds="; }; Loading @@ -39,6 +38,9 @@ buildPythonPackage rec { versioneer ]; pythonRelaxDeps = [ "pytensor" ]; dependencies = [ arviz cachetools Loading Loading @@ -68,10 +70,10 @@ buildPythonPackage rec { meta = { description = "Bayesian estimation, particularly using Markov chain Monte Carlo (MCMC)"; homepage = "https://github.com/pymc-devs/pymc"; changelog = "https://github.com/pymc-devs/pymc/releases/tag/v${version}"; changelog = "https://github.com/pymc-devs/pymc/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ nidabdella ]; }; } })
pkgs/development/python-modules/pytensor/default.nix +12 −8 Original line number Diff line number Diff line Loading @@ -31,19 +31,19 @@ nix-update-script, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "pytensor"; version = "2.36.3"; version = "2.37.0"; pyproject = true; src = fetchFromGitHub { owner = "pymc-devs"; repo = "pytensor"; tag = "rel-${version}"; tag = "rel-${finalAttrs.version}"; postFetch = '' sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' $out/pytensor/_version.py sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${finalAttrs.src.tag})"/' $out/pytensor/_version.py ''; hash = "sha256-FiqNE97tZw8rHF6VAQScGoiibMI+7KHzAy3tzmZBya4="; hash = "sha256-N6TYK/qMux/a0ktQyCGYHZg3g8S6To8g1FXnILk9HIw="; }; build-system = [ Loading Loading @@ -84,7 +84,11 @@ buildPythonPackage rec { rm -rf pytensor ''; disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ disabledTests = [ # TypeError: jax_funcified_fgraph() takes 2 positional arguments but 3 were given "test_jax_Reshape_shape_graph_input" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Numerical assertion error # tests.unittest_tools.WrongValue: WrongValue "test_op_sd" Loading Loading @@ -174,10 +178,10 @@ buildPythonPackage rec { description = "Python library to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays"; mainProgram = "pytensor-cache"; homepage = "https://github.com/pymc-devs/pytensor"; changelog = "https://github.com/pymc-devs/pytensor/releases/tag/${src.tag}"; changelog = "https://github.com/pymc-devs/pytensor/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ bcdarwin ]; }; } })