~ruther/guix-local

ref: 1056e4697c7fcfdcb0231c9955aea6c483982cdb guix-local/gnu/packages/python-xyz.scm -rw-r--r-- 1.4 MiB
1056e469 — Jake Forster 8 months ago
gnu: python-matplotlib: Set the default backend to TkAgg.

The interactive backend TkAgg works out of the box (i.e. without requiring
changes to user Python code) since commit
d5d790b5e0f7690d6bef9224932909a68f4fccbe.

* gnu/packages/python-xyz.scm (python-matplotlib) [arguments]
<#:phases>{configure-environment}: Change rc_options backend from Agg to
TkAgg.

Change-Id: I5614e37e674838ba8ad3ebc76c0ed42973d5ec29
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
ebeb9707 — Jake Forster 8 months ago
gnu: python-matplotlib: Patch dlopen so MPLBACKEND is not overridden.

Fixes <https://issues.guix.gnu.org/70687>.

In Python, importing 'matplotlib.pyplot' sets the backend used by Matplotlib
to Agg unless it was set to WebAgg or nbAgg.  This is because it incorrectly
determines that no event loop can be started due to a failed dlopen call for
'libX11.so.6'.  This is fixed by patching the dlopen path.

* gnu/packages/python-xyz.scm (python-matplotlib) [arguments]
<#:phases>: Add 'patch-dlopen.

Change-Id: I3e45c9a2921374e3b16cfcbd8e3e1e91780da306
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
d1775507 — Sharlatan Hellseher 7 months ago
gnu: python-cycler: Update to 0.12.1.

* gnu/packages/python-xyz.scm (python-cycler): Update to 0.12.1.
  [build-system]: Use pyporject.
  [propagated-inputs]: Remove python-six.
  [native-inputs]: Add python-pytest and python-setuptools.

Change-Id: I220e869568761cdcbf8ba0219207c42de0271ab0
eb308eff — Sharlatan Hellseher 8 months ago
gnu: python-cppy: Update to 1.3.1.

* gnu/packages/python-xyz.scm (python-cppy): Update to 1.3.1.
[native-inputs]: Add python-pytest and python-setuptools-scm.

Change-Id: I45f88d7efd3cb20bfb7b8f14b90d15ddcc081a6d
5b69d15e — Sharlatan Hellseher 7 months ago
gnu: python-wurlitzer: Update to 3.1.1.

* gnu/packages/python-xyz.scm (python-wurlitzer): Update to 3.1.1.
[native-inputs]: Remove python-mock; add python-setuptools.

Change-Id: Ie56041f27f6a8f0b707decde2423ffcd00f640de
99507164 — Nicolas Graves 9 months ago
gnu: python-rich: Ignore more failing tests.

* gnu/packages/python-xyz.scm (python-rich)[arguments][test-flags}:
Ignore more failing tests.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
eff7e1db — Sharlatan Hellseher 7 months ago
gnu: python-commonmark: Switch to pyproject-build-system.

* gnu/packages/python-xyz.scm (python-commonmark):
  [build-system]: Use pyproject.
  [arguments] <phases>: Use default 'check.
  [native-inputs]: Add python-setuptools.

Change-Id: I820373fc3e23ccb3222a6409e0ea7b977376e776
98b4c5d5 — Sharlatan Hellseher 7 months ago
gnu: python-flit: Reduce closure size.

* gnu/packages/python-xyz.scm (python-flit): Documentation is not built,
  remove dependencies on Sphinx.
  [propagated-inputs]: Remove python-pypa-build.
  [native-inputs]: Remove python-pygments-github-lexers,
  python-pytest-cov, python-sphinx, and python-sphinxcontrib-github-alt.

Change-Id: Iba62d2c1c52b64db65e29cbdd0381f470ee3116d
6416a324 — Nguyễn Gia Phong 8 months ago
gnu: python-flit: Update to 3.12.0.

* gnu/packages/python-xyz.scm (python-flit): Update to 3.12.0.

Change-Id: I24833e303dcda9613b2ab76761b29347a603d0dc
4af6c9fa — Sharlatan Hellseher 7 months ago
gnu: python-beautifulsoup4: Update to 4.13.4.

* gnu/packages/python-xyz.scm (python-beautifulsoup4): Update to 4.13.4.
  [propagated-inputs]: Add python-typing-extensions, python-cchardet,
  python-chardet, and python-charset-normalizer.

Change-Id: I90db98f1547455732eb21d0efba865e351537336
7c4cb10a — Sharlatan Hellseher 7 months ago
gnu: python-soupsieve: Update to 2.7.

* gnu/packages/python-xyz.scm (python-soupsieve): Update to 2.7.
  [build-system]: Use pyproject.
  [arguments] <tests?>: Enable.
  <phases>: Keep 'sanity-check.
  [native-inputs]: Add python-beautifulsoup4-bootstrap,
  python-hatchling, and python-pytest.

Change-Id: Iaf299e23c70832e1d90b7dcaec4a2ab0f058c5af
1afb94ae — Sharlatan Hellseher 7 months ago
gnu: Add python-beautifulsoup4-bootstrap.

* gnu/packages/python-xyz.scm (python-beautifulsoup4-bootstrap): New variable.

Change-Id: I776b58a6290c9d7b20e27281dccfc9ad6d333a6e
f229f007 — Sharlatan Hellseher 8 months ago
gnu: python-imagesize: Set test-backend.

* gnu/packages/python-xyz.scm (python-imagesize) [arguments]
  <test-backend>: Set to 'unittest.

Change-Id: I3bdc531fc38f6b9b2ab5f461f89dcfba4d71f696
254fdd04 — Sharlatan Hellseher 7 months ago
gnu: python-olefile: Update to 0.47.

* gnu/packages/python-xyz.scm (python-olefile): Update to 0.47.
  [source]: Switch to git-fetch.
  [build-system]: Use pypproject.
  [native-inputs]: Add python-pytest and python-setuptools.

Change-Id: Ia74e58310f6810a888b7d20b44aed2bfa0a6e2c7
50caf2b5 — Sharlatan Hellseher 8 months ago
gnu: python-markdown2: Update to 2.5.3.

* gnu/packages/python-xyz.scm (python-markdown2): Update to 2.5.3.
  [arguments] <test-backend>: Use 'custom.
  <test-flags>: Provides options as seen in project's Makefile.
  [native-inputs]: Remove python-pygments, python-pytest, and
  python-wheel.

Change-Id: I502c32abd249a1b3b8532e01621dc36ce7b74734
f7f6e295 — Sharlatan Hellseher 8 months ago
gnu: python-anytree: Update to 2.13.0.

* gnu/packages/python-xyz.scm (python-anytree): Update to 2.13.0.
  [propagated-inputs]: Remove python-six.
  [native-inputs]: Remove python-poetry-core; add python-pdm-backend,
  python-pytest-cov, python-pyyaml and python-test2ref.

Change-Id: I013875d693c0bc910544d0edbae0764103165b50
15fb90ed — Sharlatan Hellseher 8 months ago
gnu: python-binaryornot: Switch to pyproejct-build-system.

* gnu/packages/python-xyz.scm (python-binaryornot):
  [build-system]: Use pyproejct.
  [arguments] <test-backend>: Use custom unittest.
  <phases>: Remove trailing #t from lambdas.
  [propagated-inputs]: Remove python-hypothesis.
  [native-inputs]: Add python-hypothesis and python-setuptools.

Change-Id: Ic6e24e1bbfae846bc9b0ab9195556fcf86af9c25
ccd86b71 — Sharlatan Hellseher 7 months ago
gnu: python-scour: Switch to pyproject-build-system.

This project is unmaintained since 2020, the only user is Inkscape, and
the development has been moved to GitLab.

See: <https://gitlab.com/inkscape/inkscape-docs/documentation/-/issues/43>,
     <https://github.com/scour-project/scour/issues/321>.

* gnu/packages/python-xyz.scm (python-scour): Add a maintenance note on
  the upstream status.
  [source] <url>: Switch to Inkscape's GitLab page.
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'custom.
  [native-inputs]: Add python-setuptools.
  [home-page]: Switch URL to Inkscape's GitLab page.
  [description]: Start from a new line, fix fill column.

Change-Id: I56d94188b8a69a6739e5d2a5550bb0a3ee8b9247
7809bebb — Sharlatan Hellseher 8 months ago
gnu: python-appdirs: Switch to pyproject-build-system.

* gnu/packages/python-xyz.scm (python-appdirs):
  [build-system]: Use pyproject.
  [arguments] <test-backend>: Use 'unittest.
  [native-inputs]: Add python-setuptools.

Change-Id: I234b65a99870f0e7e373681719b1ba61e2da85fb
7674e46b — Sharlatan Hellseher 7 months ago
gnu: python-flasgger: Reduce closure size.

* gnu/packages/python-xyz.scm (python-flasgger): Update to 0.9.7.1.
  [arguments] <test-flags>: Skip example tests to reduce closure size
  from native inputs.
  <phases>: Remove 'prepare-check.
  [native-inputs]: Remove python-apispec, python-apispec-webframeworks,
  python-decorator, python-flask-restful, python-flex,
  python-marshmallow, python-pytest-cov, and python-wheel.

Change-Id: I724855c2cdd22d9d36c0f7716ae183cf3b7db382
Next