gnu: Add python-pydantic-1.
* gnu/packages/python-xyz.scm (python-pydantic-1): New variable.
Change-Id: Ifc4b64d7c1b34a083c35a0cad6be8da4d7e6c20b
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pydantic: Update to 2.12.5.
* gnu/packages/python-xyz.scm (python-pydantic): Update to 2.12.5.
[propagated-inputs]: Add python-annotated-types, python-pydantic-core, and
python-typing-inspection.
[native-inputs]: Remove python-setuptools and python-wheel; add tzdata-for-tests,
python-dirty-equals, python-faker, python-hatch-fancy-pypi-readme,
python-hatchling, python-jsonschema, python-pytest-benchmark,
python-pytest-examples, and python-pytest-run-parallel.
Change-Id: Ic844bac49a97736c1f2e2e01f7b732c0e2c36ea0
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pydantic-core: Update to 2.41.5.
* gnu/packages/python-xyz.scm (python-pydantic-core): Update to
2.41.5. Enable tests.
[build-system]: Switch to pyproject-build-system.
[arguments] <modules>: Adjust for pyproject-build-system.
<phases>: Add 'prepare-cargo-build-system, and 'patch-pyproject.toml.
[native-inputs]: Add python-dirty-equals, python-pytest,
python-pytest-benchmark, python-pytest-mock, python-pytest-timeout,
python-typing-inspetion, python-tzdata, rust, and `(,rust "cargo")).
* gnu/packages/rust-crates.scm: (rust-cc-1.0.101, rust-jiter-0.11.1,
rust-lexical-parse-float-1.0.5, rust-lexical-parse-integer-1.0.5,
rust-lexical-util-1.0.6, rust-libc-0.2.155, rust-portable-atomic-1.6.0,
rust-proc-macro2-1.0.86, rust-pyo3-0.26.0,
rust-pyo3-build-config-0.26.0, rust-pyo3-ffi-0.26.0,
rust-pyo3-macros-0.26.0, rust-pyo3-macros-backend-0.26.0,
rust-quote-1.0.36, rust-rustversion-1.0.17, rust-speedate-0.17.0,
rust-syn-2.0.82): New variables.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs):
{python-pydantic-core}: Refresh the list.
Change-Id: Id861b1bdebad583c9d34a708ee229c61d7c2a799
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: Add python-typing-inspection.
* gnu/packages/python-xyz.scm (python-typing-inspection): New variable.
Change-Id: I1823a5683846b7c3620ed42c157bda437f7451f0
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-h5py: Update to 3.15.1.
* gnu/packages/python-xyz.scm (python-h5py): Update to 3.15.1.
[arguments] <test-flags>: Skip test recruiting the build with MPI
support.
<phases>: Remove 'relax-gcc-14-strictness; do not delete/implement custom
'check, use default.
[propagated-inputs]: Remove python-six.
[native-inputs]: Remove python-ipython, python-pytest-mpi, and
python-wheel.
Change-Id: Iee3bdaa9f3950404791e770ee600da1650842496
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-msgpack: Update to 1.1.2.
* gnu/packages/python-xyz.scm (python-msgpack): Update to 1.1.2.
Change-Id: Ic69b1b9f8fc9d6da32c00584e86de42af167ec0c
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-matplotlib: Update to 3.10.8.
* gnu/packages/python-xyz.scm (python-matplotlib): Update to 3.10.8.
[source]: Fetch from git and delete patches.
[#:configure-flags]: New argument.
[#:test-flags]: Consolidate all test arguments here, adding "-n" and
"--pyargs". Update skipped tests regexps.
[#:phases] {fix-and-disable-failing-tests}: Rename to...
{patch-commands}: ... this, and streamline phase.
{patch-dlopen}: Update patched file name.
{configure-environment}: Streamline.
{chdir}: New phase.
[native-inputs]: Add meson-python.
* gnu/packages/patches/python-matplotlib-fix-legend-loc-best-test.patch:
Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
Change-Id: Ib002aae96559efa625d2059c783536f77f4170a5
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-numpy-2: Deprecate by python-numpy.
* gnu/packages/python-xyz.scm (python-numpy-2): Deprecated in favor of
python-numpy.
(python-omero-py, python-numexpr) [propagated-inputs]: Remove
python-numpy-2; add python-numpy.
* gnu/packages/algebra.scm (kissfft)
[native-inputs]: Remove python-numpy-2; add python-numpy.
* gnu/packages/image.scm (vigra):
[inputs]: Remove python-numpy-2; add python-numpy.
* gnu/packages/machine-learning.scm (python-spacy):
[propagated-inputs]: Remove python-numpy-2; add python-numpy.
* gnu/packages/machine-learning.scm (python-thinc):
[propagated-inputs]: Remove python-numpy-2; add python-numpy.
* gnu/packages/maths.scm (python-blis):
[native-inputs]: Remove python-numpy-2; add python-numpy.
Change-Id: Ie6041de76a227246ec63b0efa04d293dcc22b40b
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-numpy: Set NumPy 2 as default.
* gnu/packages/python-xyz.scm (python-numpy): Move definition from
python-numpy-2 here.
(python-numpy-1): New variable, inherit from python-numpy.
Change-Id: I78bf7cae09b5bea59b536fe4ba14649a3398539c
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: Add python-cython-next.
* gnu/packages/python-xyz.scm (python-cython-next): New variable.
Change-Id: I9bc2e1881edb4113f5919d39a6481067da986045
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-cython: Update to 3.1.7.
* gnu/packages/python-xyz.scm (python-cython): Update to 3.1.7.
Change-Id: I0771e680017223c0ef0fee01fc30edda0e274ebb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: Remove python-fusepyng.
* gnu/packages/python-xyz.scm (python-fusepyng): Delete variable.
Fixes: guix/guix#3874
Change-Id: I68ca5d59379c0c90f29a83cf3921e5f4e5344a63
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
gnu: python-pyzmq: Do not run flaky tests.
* gnu/packages/python-xyz.scm (python-pyzmq)[arguments]: Skip tests marked as
flaky.
Change-Id: I97204b237f8c2192b501b105b0b2c13434708df3
gnu: python-codespell: Update inputs.
* gnu/packages/python-xyz.scm (python-codespell)[native-inputs]: Remove
python-tomli, add python-setuptools-scm.
Change-Id: I0fb4999bc5070c0fcfebb5991966e488eca85109
gnu: python-pymongo: Update to 4.16.0.
* gnu/packages/python-xyz.scm (python-pymongo): Update to 4.16.0.
Change-Id: I3ba3a2f5d2607c916d9228a57fc06c7db150e3ac
gnu: Add python-customtkinter.
* gnu/packages/python-xyz.scm (python-customtkinter): New variable.
Merges guix/guix#5108
Change-Id: Iacfe7220ace7396e6d878283a2d36b6f97da3ca4
Modified-by: Cayetano Santos <csantosb@inventati.org>
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
gnu: python-userspacefs: Hardcode location of libfuse.
* gnu/packages/python-xyz.scm (python-userspacefs)[arguments]: Add a
phase to hardcode the location of libfuse.
[inputs]: Add fuse-2.
Change-Id: Ib991967a29daa759ff0e3f2682c2b9f860b8cb3c
gnu: python-cairocffi: modernize package.
* gnu/packages/python-xyz.scm (python-cairocffi)[arguments]: Use
G-exps. Remove trailing #t from phases.
Change-Id: I1b0442ff2a7ba73e8b63e40b6313de8649dbdce6
gnu: python-cairocffi: Update to 1.7.1.
* gnu/packages/python-xyz.scm (python-cairocffi): Update to 1.7.1.
Change-Id: Iacea14cbbafaf38bfd43841910706955468aa0a8