"jgart" <jg...@dismail.de> writes:

> Hi Guixers,
>
> `guix refresh --update` removes Tex Dependencies that are needed. This makes 
> it more tedious to update packages :(
>
> See the diff below which was the result of running:
>
> ./pre-inst-env guix refresh --update python-sphinx
>
> Diff:
>
> [jgart@fedora guix] [env]$ git diff
> diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
> index eee1f1c4a8..92658a3632 100644
> --- a/gnu/packages/sphinx.scm
> +++ b/gnu/packages/sphinx.scm
> @@ -64,14 +64,14 @@ (define-module (gnu packages sphinx)
>  (define-public python-sphinx
>    (package
>      (name "python-sphinx")
> -    (version "5.1.1")
> +    (version "7.2.6")
>      (source
>       (origin
>         (method url-fetch)
>         (uri (pypi-uri "Sphinx" version))
>         (sha256
>          (base32
> -         "12cdy3m5c09lpf2bbxzbhm5v5y9fk7jgm94qrzggpq86waj28cms"))))
> +         "1dasilib5w98hwr5rdnv1ri2dmdxv3fa42dscdcqss4hxbhn0lcs"))))
>      (build-system python-build-system)
>      (arguments
>       '(#:phases
> @@ -87,57 +87,39 @@ (define-public python-sphinx
>                 (setenv "HOME" "/tmp")   ;for test_cython
>                 (invoke "make" "test")))))))
>      (propagated-inputs
> -     (list python-babel
> +     (list python-alabaster
> +           python-babel
> +           python-colorama
> +           python-cython
>             python-docutils
> -           python-jinja2
> +           python-docutils-stubs
> +           python-filelock
> +           python-flake8
> +           python-flake8-simplify
> +           python-html5lib
>             python-imagesize
>             python-importlib-metadata
> +           python-isort
> +           python-jinja2
> +           python-mypy
>             python-packaging
>             python-pygments
> +           python-pytest
>             python-requests
> +           python-ruff
> +           python-setuptools
>             python-snowballstemmer
> -           python-sphinx-alabaster-theme
> +           python-sphinx-lint
>             python-sphinxcontrib-applehelp
>             python-sphinxcontrib-devhelp
>             python-sphinxcontrib-htmlhelp
>             python-sphinxcontrib-jsmath
>             python-sphinxcontrib-qthelp
>             python-sphinxcontrib-serializinghtml
> -
> -           ;; The Sphinx LaTeX library '\RequirePackage' or \\usepackage
> -           ;; these:
> -           texlive-amsfonts             ;amsmath, amssymb, amstext
> -           texlive-amsmath
> -           texlive-capt-of
> -           texlive-carlisle             ;remreset
> -           texlive-cmap
> -           texlive-etoolbox
> -           texlive-fancyhdr
> -           texlive-fancyvrb
> -           texlive-float
> -           texlive-fncychap
> -           texlive-framed
> -           texlive-geometry
> -           texlive-hyperref
> -           texlive-kvoptions
> -           texlive-latex-bin
> -           texlive-ltxcmds
> -           texlive-needspace
> -           texlive-oberdiek             ;hypcap
> -           texlive-parskip
> -           texlive-preview
> -           texlive-tabulary
> -           texlive-titlesec
> -           texlive-tools                ;multicol, longtable
> -           texlive-upquote
> -           texlive-varwidth
> -           texlive-wrapfig
> -           texlive-xcolor))
> +           python-sphinxcontrib-websupport
> +           python-types-requests))
>      (native-inputs
> -     (list imagemagick                  ;for "convert"
> -           python-cython
> -           python-html5lib
> -           python-pytest))
> +     (list))
>      (home-page "https://www.sphinx-doc.org";)
>      (synopsis "Python documentation generator")
>      (description "Sphinx is a tool that makes it easy to create documentation

Temporary workaround: you could use git add --patch and not add the
removals.
But yeah, this is an annoying bug.

Reply via email to