Commit graph

95721 commits

Author SHA1 Message Date
Maxim Cournoyer 634a798f51
gnu: python-uvicorn: Update to 0.17.6.
* gnu/packages/python-web.scm (python-uvicorn): Update to 0.17.6.
[phases]{check}: Delete extraneous add-installed-pythonpath and inputs/outputs
arguments.  Add the '-o' 'asyncio_mode=auto' option to pytest invocation, and
skip two tests.
[native-inputs]: Add python-httpx-bootstrap and python-pytest-asyncio.
[propagated-inputs]: Add python-asgiref and python-dotenv.
2022-05-12 12:45:52 -04:00
Maxim Cournoyer b4c4c2f82e
gnu: python-httpx: Update to 0.22.0.
* gnu/packages/python-web.scm (python-httpx): Update to 0.22.0.
[phases]{check}: Add 'asyncio_mode=auto' pytest-asyncio option.  Skip the
'test_main' test.
[native-inputs]: Delete python-autoflake, python-black, python-cryptography,
python-flake8, python-flake8-bugbear, python-flake8-pie, python-isort,
python-mypy and python-pytest-cov.
[propagated-inputs]: Add python-charset-normalizer.
2022-05-12 12:45:51 -04:00
Maxim Cournoyer ef370c8501
gnu: Add python-httpx-bootstrap.
* gnu/packages/python-web.scm (python-httpx-bootstrap): New variable.
2022-05-12 12:45:51 -04:00
Maxim Cournoyer b9fc478192
gnu: Add python-httpcore-bootstrap.
* gnu/packages/python-web.scm (python-httpcore-bootstrap): New variable.
2022-05-12 12:45:51 -04:00
Maxim Cournoyer f17611f3be
gnu: python-httpcore: Update to 0.14.7 and enable tests.
* gnu/packages/python-web.scm (python-httpcore): Update to 0.14.7.
[tests?]: Delete argument.
[phases]{check}: Streamline and delete coverage related pytest options.
Strip trailing #t.
[native-inputs]: Delete python-autoflake, python-flake8,
python-flake8-bugbear, python-flake8-pie and python-mypy.  Add
python-pytest-httpbin.
[propagated-inputs]: Add python-anyio, python-certifi and python-socksio.
2022-05-12 12:45:51 -04:00
Maxim Cournoyer c5d5c14101
gnu: Add python-cbor2.
* gnu/packages/python-web.scm (python-cbor2): New variable.
2022-05-12 12:45:51 -04:00
Maxim Cournoyer a81161c1a4
gnu: Add python-openapi-spec-validator.
* gnu/packages/python-web.scm (python-openapi-spec-validator): New variable.
2022-05-12 12:45:50 -04:00
Maxim Cournoyer 27c49acf06
gnu: Add python-openapi-schema-validator.
* gnu/packages/python-web.scm (python-openapi-schema-validator): New variable.
2022-05-12 12:45:50 -04:00
Maxim Cournoyer ac4a73a1af
gnu: Add python-rfc3339-validator.
* gnu/packages/python-xyz.scm (python-rfc3339-validator): New variable.
2022-05-12 12:45:50 -04:00
Maxim Cournoyer 34c98f2cd3
gnu: Add python-strict-rfc3339.
* gnu/packages/python-xyz.scm (python-strict-rfc3339): New variable.
2022-05-12 12:45:50 -04:00
Maxim Cournoyer 37caa64189
gnu: python-websockets: Update to 10.3 and enable tests.
* gnu/packages/python-web.scm (python-websockets): Fetch from git.
Update to 10.3.
[arguments]: Delete field, enabling tests.
2022-05-12 12:45:50 -04:00
Maxim Cournoyer 2576d9ffc4
gnu: python-ipython-documentation: Also build info and pdf targets.
* gnu/packages/patches/python-ipython-documentation-chars.patch: New file.
* gnu/packages/patches/python-ipython-documentation-repro.patch: Likewise.
* gnu/local.mk: Register them.
* gnu/packages/python-xyz.scm (python-ipython-documentation)
[source]: Apply patches.
[arguments]: Use gexps.
[phases]{sanitize-sources}: New phase.
{configure-sphinx-for-xelatex}: Likewise.
{install}: Streamline.  Also build and install the PDF and info manual.
Enable parallel processing.
[inputs]: Delete field.
[propagated-inputs]: Remove texlive-updmap.cfg input.  Add fontconfig,
font-gnu-freefont, graphviz, python-docrepr, texlive-polyglossia,
texlive-bin and texlive-xindy.
2022-05-12 12:45:49 -04:00
Maxim Cournoyer 5fdae311a0
gnu: Add texlive-xindy.
* gnu/packages/tex.scm (texlive-xindy): New variable.
2022-05-12 12:45:49 -04:00
Maxim Cournoyer cf44f00b5b
gnu: Add texlive-cm-lgc.
* gnu/packages/tex.scm (texlive-cm-lgc): New variable.
2022-05-12 12:45:49 -04:00
Maxim Cournoyer e2c5700032
gnu: texlive-latex-geometry: Propagate texlive-latex-graphics.
* gnu/packages/tex.scm (texlive-latex-geometry)
[propagated-inputs]: Add texlive-latex-graphics.
2022-05-12 12:45:49 -04:00
Maxim Cournoyer 8cdad3484c
download: Add a mirror for CTAN.
* guix/download.scm (%mirrors)[ctan]: New entry.
2022-05-12 12:45:49 -04:00
Maxim Cournoyer ee96537d0c
gnu: Add texlive-cbfonts.
* gnu/packages/tex.scm (texlive-cbfonts): New variable.
2022-05-12 12:45:48 -04:00
Maxim Cournoyer 75646d51c2
gnu: Add texlive-cbfonts-fd.
* gnu/packages/tex.scm (texlive-cbfonts-fd): New variable.
2022-05-12 12:45:48 -04:00
Maxim Cournoyer 1ee15c8d68
gnu: texlive-polyglossia: Rename and fix package.
Fixes <https://issues.guix.gnu.org/35780>.

* gnu/packages/tex.scm (texlive-latex-polyglossia): Rename to...
(texlive-polyglossia): ... this.  Inherit from a simple-texlive-package
package.
[version, source, build-system]: Remove field, now inherited.
[outputs]: New field.
[arguments]: Add the #:tex-format and #:phases arguments.
[native-inputs, propagated-inputs]: New fields.
[description]: Expound description.

Reported-by: Josh Holland
2022-05-12 12:45:48 -04:00
Maxim Cournoyer cea6ff3d80
gnu: texlive-fontspec: Add missing propagated inputs.
* gnu/packages/tex.scm (texlive-fontspec)
[propagated-inputs]: Add texlive-cm and texlive-lm.
2022-05-12 12:45:48 -04:00
Maxim Cournoyer d09edfec5f
gnu: Add python-sphinx-sitemap.
* gnu/packages/sphinx.scm (python-sphinx-sitemap): New variable.
2022-05-12 12:45:48 -04:00
Maxim Cournoyer 28b602d0f6
gnu: Add python-sphinx-theme-builder.
* gnu/packages/sphinx.scm (python-sphinx-theme-builder): New variable.
2022-05-12 12:45:47 -04:00
Maxim Cournoyer 6c7834f46a
gnu: Add python-pep621.
* gnu/packages/python-xyz.scm (python-pep621): New variable.
2022-05-12 12:45:47 -04:00
Maxim Cournoyer efb791ba4f
gnu: python-sphinx: Propagate TexLive dependencies.
* gnu/packages/sphinx.scm (python-sphinx):
[propagated-inputs]: Add texlive-amsfonts, texlive-amsmath, texlive-capt-of,
texlive-carlisle, texlive-etoolbox, texlive-generic-ltxcmds, texlive-hyperref,
texlive-latex-base, texlive-latex-cmap, texlive-latex-fancyhdr,
texlive-latex-fancyvrb, texlive-latex-fncychap, texlive-latex-float,
texlive-latex-framed, texlive-latex-geometry, texlive-latex-graphics,
texlive-latex-kvoptions, texlive-latex-needspace, texlive-latex-parskip,
texlive-latex-preview, texlive-latex-tabulary, texlive-latex-titlesec,
texlive-latex-tools, texlive-latex-upquote, texlive-latex-varwidth,
texlive-oberdiek, texlive-stringenc, texlive-wrapfig, texlive-xcolor and
texlive-zapfding.
[native-inputs]: Remove graphviz, python-mock and python-nose.
* gnu/packages/tex.scm (texlive-xcolor): Add TODO comment.
* gnu/packages/tex.scm (texlive-hyperref): Likewise.
2022-05-12 12:45:47 -04:00
Maxim Cournoyer 7e679ea7f7
gnu: Add python-docrepr.
* gnu/packages/documentation.scm (python-docrepr): New variable.
2022-05-12 12:45:47 -04:00
Maxim Cournoyer b6021d38ab
gnu: Add python-nbdime.
* gnu/packages/jupyter.scm (python-nbdime): New variable.
2022-05-12 12:45:47 -04:00
Maxim Cournoyer 73728b3942
gnu: python-notebook: Update to 6.4.10.
* gnu/packages/python-xyz.scm (python-notebook): Update to 6.4.10.
[phases]{check}: Remove add-installed-pythonpath.
[native-inputs]: python-nest-asyncio.
2022-05-12 12:45:46 -04:00
Maxim Cournoyer 1e76c82ca6
gnu: python-send2trash: Update to 1.8.0 and update home page.
* gnu/packages/python-xyz.scm (python-send2trash): Update to 1.8.0.
[source]: Update Git URL.
[phases]{pre-check}: Set HOME to /tmp directly.
{check}: Override phase.
[native-inputs]: Add python-pytest.
[properties]: Delete field.
(python2-send2trash): Delete variable.
[home-page]: Update URL.
2022-05-12 12:45:46 -04:00
Maxim Cournoyer d72c53fa43
gnu: python-nbval: Fix build.
* gnu/packages/python-check.scm (python-nbval)
[phases]: Delete trailing #t.
{check}: Skip newly failing 'test_conf_ignore_stderr' test.  Remove INPUTS and
OUTPUTS arguments.  Add TESTS? and honor it.
2022-05-12 12:45:46 -04:00
Maxim Cournoyer 7d79d30e3a
gnu: Add python-jupyter-server-mathjax.
* gnu/packages/jupyter.scm (python-jupyter-server-mathjax): New variable.
2022-05-12 12:45:46 -04:00
Maxim Cournoyer 724731de4c
gnu: python-nbconvert: Update to 6.5.0.
* gnu/packages/python-xyz.scm (python-nbconvert): Update to 6.5.0.
[arguments]: Use gexps.
[phases]{fix-paths-and-tests}: Rename to...
{fix-paths}: ... this.  Find inputs via search-input-file.  Patch inskcape
file name.  Disable tests in...
{check}: ... this phase instead.  Do not set HOME.  Execute installed test
suite.  Run tests in parallel.  Disable and not
test_execute_widgets_from_nbconvert and test_execute_multiple_notebooks tests.
[inputs]: Add inkscape.
[native-inputs]: Delete python-pytest-cov and python-pytest-dependency.  Use
new style.
[propagated-inputs]: Add python-beautifulsoup4.  Reduce the texlive packages
part of the generated updmap.cfg input, moving them to regular propagated
inputs.  Add texlive-unicode-math and texlive-lm-math.
2022-05-12 12:45:45 -04:00
Maxim Cournoyer 15d4664f87
gnu: Add texlive-lm-math.
* gnu/packages/tex.scm (texlive-lm-math): New variable.
2022-05-12 12:45:45 -04:00
Maxim Cournoyer 9dd2e1bb92
gnu: Add texlive-unicode-math.
* gnu/packages/tex.scm (texlive-unicode-math): New variable.
2022-05-12 12:45:45 -04:00
Maxim Cournoyer 10d69f20be
gnu: python-bleach: Update to 5.0.0.
* gnu/packages/python-xyz.scm (python-bleach): Update to 5.0.0.
[propagated-inputs]: Remove python-packaging and python-six.  Add
python-tinycss2.
2022-05-12 12:45:45 -04:00
Maxim Cournoyer 4bc0d5300b
gnu: python-nbclient: Update to 0.6.0.
* gnu/packages/jupyter.scm (python-nbclient): Update to 0.6.0.
[tests?]: Update comment.
[propagated-inputs]: Remove python-async-generator.
[native-inputs]: Delete field.
[description]: Fix spacing.
2022-05-12 12:45:44 -04:00
Maxim Cournoyer abb7617f20
gnu: python-anyio: Replace python-pytest-trio with python-trio.
* gnu/packages/python-xyz.scm (python-anyio)
[phases]{check}: Remove extraneous add-installed-pythonpath call.
Expound comment about IPv6 issues.
[native-inputs]: Use regular python-pytest.  Replace python-pytest-trio by
python-trio.
2022-05-12 12:45:44 -04:00
Maxim Cournoyer 0f446f1bc4
gnu: python-ipyparallel: Update to 8.2.1.
* gnu/packages/python-xyz.scm (python-ipyparallel-bootstrap): Update to 8.2.1.
[propagated-inputs]: Add python-entrypoints, python-psutil and python-tqdm.
Update python-tornado to version 6.
(python-ipyparallel)[phases]{check}: Override phase.
[native-inputs]: Remove python-mock and python-nose.  Add
python-pytest-asyncio and python-pytest-tornado.
2022-05-12 12:45:44 -04:00
Maxim Cournoyer 8194b36ddf
gnu: Add python-pytest-tornado.
* gnu/packages/python-check.scm (python-pytest-tornado): New variable.
2022-05-12 12:45:44 -04:00
Maxim Cournoyer 53e179c752
gnu: python-ipykernel: Update to 6.13.0.
* gnu/packages/python-xyz.scm (python-ipykernel): Update to 6.13.0.
[origin]: Fix indentation.
[phases]: Use gexps.
{check}: Invoke pytest via tini
{set-python-file-name}: Adjust to use search-input-file.
[propagated-inputs]: Add python-debugpy, python-matplotlib-inline and
python-psutil.
[native-inputs]{python-nose}: Delete.
{python-ipyrallel-bootstrap}: New native input.
{python-pytest}: Replace with...
{python-pytest-bootstrap}: ... this.
{python-pytest-timeout, tini}: New native inputs.
2022-05-12 12:45:43 -04:00
Maxim Cournoyer f30bdda88f
gnu: python-jupyter-client: Update to 7.2.2.
* gnu/packages/python-xyz.scm (python-jupyter-client-bootstrap): Make the base
package definition, moving most fields.  Update to 7.2.2.
[propagated-inputs]: Add python-entrypoints and python-nest-asyncio.
(python-jupyter-client): Inherit from python-jupyter-client-bootstrap,
adjusting accordingly.
[native-inputs]: Add python-pytest-asyncio.
2022-05-12 12:45:43 -04:00
Maxim Cournoyer d54b8754fd
gnu: python-jupyter-core: Update to 4.10.0.
* gnu/packages/python-xyz.scm (python-jupyter-core): Update to 4.10.0.
[phases]: Delete trailing #t.
{check}: Remove extraneous add-installed-pythonpath.  Skip the
test_argv0, test_path_priority and test_not_on_path tests.
[propagated-inputs, native-inputs]: Fix indentation.
2022-05-12 12:45:43 -04:00
Maxim Cournoyer 1ca00ddbbe
gnu: python-nest-asyncio: Update to 1.5.5.
* gnu/packages/python-xyz.scm (python-nest-asyncio): Update to 1.5.5.
2022-05-12 12:45:43 -04:00
Maxim Cournoyer d5ee3dcf9e
gnu: Add python-ipyparallel-bootstrap.
* gnu/packages/python-xyz.scm (python-ipyparallel): Morph into...
(python-ipyparallel-bootstrap): ... this, moving native inputs to a new
definition of...
(python-ipyparallel): ... this.
2022-05-12 12:45:42 -04:00
Maxim Cournoyer 59e51d8f1c
gnu: python-pytest-xdist-next: Update to 2.5.0.
* gnu/packages/check.scm (python-pytest-xdist-next): Update to 2.5.0.
[propagated-inputs]: replace python-pytest-forked with
python-pytest-forked-next.
2022-05-12 12:45:42 -04:00
Maxim Cournoyer 44dc0f0f0b
gnu: Add python-pytest-forked-next.
* gnu/packages/check.scm (python-pytest-forked-next): New variable.
2022-05-12 12:45:42 -04:00
Maxim Cournoyer 4b6500f972
gnu: python-greenlet: Update to 1.1.2.
* gnu/packages/python-xyz.scm (python-greenlet): Update to 1.1.2.
2022-05-12 12:45:42 -04:00
Maxim Cournoyer 08199a93c8
gnu: Add python-debugpy.
* gnu/packages/python-xyz.scm (python-debugpy): New variable.
* gnu/packages/patches/python-debugpy-unbundle-pydevd.patch: New file.
* gnu/local.mk: Register it.
2022-05-12 12:45:41 -04:00
Maxim Cournoyer 61c8a13f50
gnu: Add python-pydevd.
* gnu/packages/python-xyz.scm (python-pydevd): New variable.
2022-05-12 12:45:41 -04:00
Maxim Cournoyer 33570ca6bd
gnu: python-trio: Update to 0.20.0.
* gnu/packages/python-xyz.scm (python-trio): Update to 0.20.0.
[phases]{patch-sleep}: New phase.
[change-home]: Delete trailing #t.
{check}: Run tests in parallel.  Disable the
test_cancel_scope_exit_doesnt_create_cyclic_garbage, test_ipython_exc_handler,
test_for_leaking_fds and test_static_tool_sees_all_symbols tests.
[native-inputs]: Add python-pytest-xdist.
2022-05-12 12:45:41 -04:00
Maxim Cournoyer 476ae98d0b
gnu: pylint: Run tests in parallel.
* gnu/packages/check.scm (python-pylint)
[phases]{check}: Add the '-n' option to use xdist with pytest.
[native-inputs]: Add python-pytest-xdist.
2022-05-12 12:45:40 -04:00