From 85938f31c65c88e5b4cfb2362b3310f68cb65a70 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Mon, 21 Jul 2025 22:28:16 -0300 Subject: [PATCH] gnu: python-pyrsistent: Update to 0.20.0. * gnu/packages/python-xyz.scm (python-pyrsistent): Update to 0.20.0. [build-system]: Use pyproject-build-system. [arguments]<#:phases>: Delete phase 'loosen-pytest-requirement'. [native-inputs]: Remove python-hypothesis, python-pytest-runner. Add python-setuptools, python-wheel. [propagated-inputs]: Remove python-six. Change-Id: Iddce529325ea42b5e39a84eeed9942923b9da1b9 --- gnu/packages/python-xyz.scm | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6b7b3c9c01e4537787c678e4b3d05233691c9d1f..dc93c0affbb80f95067762849d3652820733a665 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6765,29 +6765,17 @@ from git information. (define-public python-pyrsistent (package (name "python-pyrsistent") - (version "0.16.0") + (version "0.20.0") (home-page "https://github.com/tobgu/pyrsistent") (source (origin (method url-fetch) (uri (pypi-uri "pyrsistent" version)) (sha256 (base32 - "1lrsjgblnapfimd0alsi1as5nz2lfqv97131l7d6anbjzq2rjri8")))) - (build-system python-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - ;; The package works fine with newer Pytest and Hypothesis, but - ;; has pinned older versions to stay compatible with Python 2. - (add-before 'check 'loosen-pytest-requirement - (lambda _ - (substitute* "setup.py" - (("pytest<5") "pytest") - (("hypothesis<5") "hypothesis")) - #t))))) + "1935ybwdxszmzlzshwkc7m7swm1js46ls246j1knqndbca7zfj2c")))) + (build-system pyproject-build-system) (native-inputs - (list python-hypothesis python-pytest python-pytest-runner)) - (propagated-inputs - (list python-six)) + (list python-pytest python-setuptools python-wheel)) (synopsis "Persistent data structures for Python") (description "Pyrsistent is a number of persistent collections (by some referred to as