Commit graph

96390 commits

Author SHA1 Message Date
Maxim Cournoyer
34106c85d8
gnu: python-umap-learn: Update to 0.5.3.
* gnu/packages/machine-learning.scm (python-umap-learn): Update to 0.5.3.
[source]: Use git.
[arguments]: New field.
[native-inputs]: Delete python-joblib and python-nose.  Add python-pytest.
[propagated-inputs]: Add python-pynndescent and python-tqdm.
[synopsis]: Fix indentation.
[description]: Fix typo and re-indent.
2022-05-12 12:45:55 -04:00
Maxim Cournoyer
06b0512260
gnu: python-pynndescent: Update to 0.5.6.
* gnu/packages/machine-learning.scm (python-pynndescent): Update to 0.5.6.
[phases]{check}: Skip the test_weighted_minkowski test.
[native-inputs, propagated-inputs]: Re-indent.
2022-05-12 12:45:55 -04:00
Maxim Cournoyer
1d1f44b709
gnu: python-scikit-learn: Parallelize build and test suite.
* gnu/packages/machine-learning.scm (python-scikit-learn)
[phases]{configure}: New phase.
{build-ext}: Add '-j' option.
{check}: Add '-n' option.
[native-inputs]: Add python-pytest-xdist.
2022-05-12 12:45:55 -04:00
Maxim Cournoyer
c359a4fabb
gnu: python-pandas: Update to 1.4.2.
* gnu/packages/python-science.scm (python-pandas): Update to 1.4.2.
2022-05-12 12:45:55 -04:00
Maxim Cournoyer
8b390a8750
gnu: python-pandas: Build and run tests in parallel.
* gnu/packages/python-science.scm (python-pandas)
[phases]{enable-parallel-build}: New phase.
{check}: Add xdist -n option.  Skip test_memory_usage test.
[native-inputs]: Add python-pytest-xdist.
2022-05-12 12:45:55 -04:00
Maxim Cournoyer
feee911366
gnu: python-numba: Update to 0.55.1.
* gnu/packages/python-xyz.scm (python-numba): Update to 0.55.1.
2022-05-12 12:45:55 -04:00
Maxim Cournoyer
152e45ef4d
gnu: python-llvmlite: Update to 0.38.0.
* gnu/packages/llvm.scm (python-llvmlite): Update to 0.38.0.
2022-05-12 12:45:54 -04:00
Maxim Cournoyer
411cd4345f
gnu: python-numpy: Update to 1.21.6 and parallelize build/tests.
* gnu/packages/python-xyz.scm (python-numpy): Update to 1.21.6.  Move inputs
and native-inputs fields after arguments.  Use gexps.
[modules]: New argument.
[phases]{parallelize-build}: New phase.
{configure-blas}: Format via (ice-9 format).
{fix-executable-paths}: Use search-file-input.  Remove obsolete system_info.py
substitution.
{check}: Remove extraneous add-installed-pythonpath and setenv calls.  Provide
the '-n' pytest-xdist option.
[native-inputs]: Use python-hypothesis-next.
(python-numpy-next): Inherit from python-numpy.
(python2-numpy): Adjust for gexps.
[phases]{delete-failing-test}: Rename to...
{delete-failing-tests}: ... this.
(python2-numpy-1.8): Likewise, and delete 'delete-failing-tests' phase.
Disable tests.
[native-inputs]: Define as the empty list.
2022-05-12 12:45:54 -04:00
Maxim Cournoyer
bfe7f40650
gnu: python-hypothesis-6.23: Update to 6.43.3.
* gnu/packages/check.scm (python-hypothesis-6.23): Update to 6.43.3 and rename
to...
(python-hypothesis-next): ... this.
[propagated-inputs]: Add python-pytest.
* gnu/packages/matrix.scm (python-matrix-nio): Adjust accordingly.
* gnu/packages/python-web.scm (python-h2): Likewise.
* gnu/packages/check.scm (python-hypothesis)[home-page]: Update URL.
2022-05-12 12:45:54 -04:00
Maxim Cournoyer
1a564cf147
gnu: Add python-jupyterlab-server.
* gnu/packages/jupyter.scm (python-jupyterlab-server): New variable.
2022-05-12 12:45:54 -04:00
Maxim Cournoyer
3f9eafbedd
gnu: Add python-openapi-core.
* gnu/packages/python-web.scm (python-openapi-core): New variable.
2022-05-12 12:45:53 -04:00
Maxim Cournoyer
ea754c74d3
gnu: Add python-dictpath.
* gnu/packages/python-xyz.scm (python-dictpath): New variable.
2022-05-12 12:45:53 -04:00
Maxim Cournoyer
e5d3408022
gnu: python-falcon: Update to 3.1.0.
* gnu/packages/python-web.scm (python-falcon): Update to 3.1.0.
[source]: Use git.  Adjust snippet.
[phases]{check}: Set HOME and invoke pytests with "-vv".
[native-inputs]: Add python-aiofiles, python-cbor2, python-fakeredis,
python-httpx, python-pecan, python-pillow, python-pytest-asyncio and
python-websockets.
[synopsis, description]: Fix indentation.
2022-05-12 12:45:53 -04:00
Maxim Cournoyer
a64ea1f2d3
gnu: python-fakeredis: Update to 1.7.1.
* gnu/packages/databases.scm (python-fakeredis): Update to 1.7.1.
[propagated-inputs]: Add python-aioredis.
2022-05-12 12:45:53 -04:00
Maxim Cournoyer
eba0784937
gnu: Add python-aioredis.
* gnu/packages/databases.scm (python-aioredis): New variable.
2022-05-12 12:45:53 -04:00
Maxim Cournoyer
0d58503970
gnu: Add python-pecan.
* gnu/packages/python-web.scm (python-pecan): New variable.
2022-05-12 12:45:52 -04:00
Maxim Cournoyer
df95872d10
gnu: python-sqlalchemy: Update to 1.4.35.
* gnu/packages/databases.scm (python-sqlalchemy): Update to 1.4.35.
2022-05-12 12:45:52 -04:00
Maxim Cournoyer
72d292eac0
gnu: python-sqlalchemy: Run tests in parallel via xdist.
* gnu/packages/databases.scm (python-sqlalchemy)[phases]: Use gexps.
{check}: Run tests in parallel; skip slow test_memusage.
* gnu/packages/databases.scm (python2-sqlalchemy): Adjust to avoid xdist.
2022-05-12 12:45:52 -04:00
Maxim Cournoyer
1f5f4cc1a2
gnu: Add python-socksio.
* gnu/packages/python-web.scm (python-socksio): New variable.
2022-05-12 12:45:52 -04:00
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