* gnu/packages/python-xyz.scm (python-debian)
[source]: Prefer patching using snippet to modify-phases.
[arguments]: Remove, logic was moved into source.
[description]: Drop obsolete workaround.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu/packages/python-xyz.scm (python-imageio): Update to 2.26.0.
[build-system]: Use pyproject-build-system.
[arguments]: Use G-Expressions.
<#:tests?>: Drop argument.
<#:test-flags>: New argument.
<#:phases>: Drop replacement for ‘check’.
Add ‘fix-source’ and ‘fix-failing-tests’.
[inputs]: Add freeimage.
[propagated-inputs]: Add python-imageio-ffmpeg.
* gnu/packages/python-xyz.scm (python-absl-py)[build-system]: Use
pyproject-build-system.
[arguments]: Add 'patch-version-check build phase to bypass broken version
check.
* gnu/packages/python-xyz.scm (python-trio): Update to 0.22.0.
[arguments]: Break long line in check phase.
[propagated-inputs]: Add python-cffi and python-exceptiongroup.
* gnu/packages/python-xyz.scm (python-license-expression): Update to 30.1.0.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools-scm and python-pytest.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu/packages/python-xyz.scm (python-debian)
[source]: Prefer patching using snippet to modify-phases.
[arguments]: Remove, logic was moved into source.
[description]: Drop obsolete workaround.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu/packages/python-xyz.scm (python-imageio): Update to 2.26.0.
[build-system]: Use pyproject-build-system.
[arguments]: Use G-Expressions.
<#:tests?>: Drop argument.
<#:test-flags>: New argument.
<#:phases>: Drop replacement for ‘check’.
Add ‘fix-source’ and ‘fix-failing-tests’.
[inputs]: Add freeimage.
[propagated-inputs]: Add python-imageio-ffmpeg.
This fixes a module import dependency cycle, which was introduced in
831baaf81e ("gnu: python-pre-commit: Replace
with pre-commit."). The rule of thumb to avoid these is that the deprecated
package should live next to the replacement package (in the same module).
* gnu/packages/python-xyz.scm (python-pre-commit): Move to...
* gnu/packages/version-control.scm (python-pre-commit): ... here.
This fixes a module import dependency cycle, which was introduced in
831baaf81e ("gnu: python-pre-commit: Replace
with pre-commit."). The rule of thumb to avoid these is that the deprecated
package should live next to the replacement package (in the same module).
* gnu/packages/python-xyz.scm (python-pre-commit): Move to...
* gnu/packages/version-control.scm (python-pre-commit): ... here.
This is a conservative update to the first version that passes all tests.
The version 8.8.0 works also, the latest 8.10.0 requires changes to the
recipe.
* gnu/packages/python-xyz.scm (python-ipython): Update to 8.5.0.
* gnu/packages/patches/python-typeguard-python3.10.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/python-xyz.scm (python-typeguard): Use it.
* gnu/packages/patches/python-sgmllib3k-assertions.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/python-xyz.scm (python-sgmllib3k): Use it.
* gnu/packages/python-xyz.scm (autokey): Update to 0.96.0.
[source]: Patch tests.
[arguments]: Enable tests. Prefer PATH over substitute* in phase 'fix-paths.
Add phase 'setup-env-vars. Rename 'wrap-autokey-gi to 'wrap-autokey and set PATH.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-pytest-cov and python-pyhamcrest.
Signed-off-by: Christopher Baines <mail@cbaines.net>