Package Details: python-jupytext 1.16.4b-1

Git Clone URL: https://aur.archlinux.org/python-jupytext.git (read-only, click to copy)
Package Base: python-jupytext
Description: Jupyter notebooks as Markdown documents, Julia, Python or R scripts
Upstream URL: https://github.com/mwouts/jupytext
Licenses: MIT
Submitter: moetayuko
Maintainer: moetayuko
Last Packager: moetayuko
Votes: 9
Popularity: 0.007696
First Submitted: 2019-07-09 02:12 (UTC)
Last Updated: 2024-09-20 02:16 (UTC)

Latest Comments

viper2642 commented on 2024-07-03 12:11 (UTC) (edited on 2024-07-03 12:15 (UTC) by viper2642)

The checksums is invalid (again). In the PKGBUILD is is 68a09dc8393bd5ceff995cf60377d53e003f0035ddf2f6bc2e23fa46e3575380 but the actual checksum is

sha256sums=('d0da684a64854fa7b2fc238ec79e6e6fecc7dc1898f8ba51eac75cf27caabf34')

padawan commented on 2024-06-20 23:06 (UTC)

If I try to build it I get:

...
subprocess.CalledProcessError: Command '['/usr/bin/jlpm', 'install']' returned non-zero exit status 1.

Any idea why?

moetayuko commented on 2024-04-02 11:30 (UTC)

@Dakeryas fixed, thanks for your notice

Dakeryas commented on 2024-04-02 09:47 (UTC) (edited on 2024-04-02 09:49 (UTC) by Dakeryas)

The checksum seems to be invalid now. In the PKGBUILD we have be7399d81abc294108d7aba05c41891a9b163bd8309ea11872519ec45ed88b47 but the actual checksum is below:

-sha256sums=('be7399d81abc294108d7aba05c41891a9b163bd8309ea11872519ec45ed88b47')
+sha256sums=('447e77ba7f1ee151a34a22d47d547fdc2ee364d55d76c1c569df9123a9eb05f8')

moetayuko commented on 2023-12-10 08:53 (UTC)

@MarsSeed these are false positives containing optional or testing deps, and thus can be ignored.

MarsSeed commented on 2023-12-08 14:51 (UTC) (edited on 2024-02-05 15:09 (UTC) by MarsSeed)

There are many packaging problems reported by namcap.

Please kindly check the following log and address the issues:

$ namcap -i /var/cache/pacman-local/pkg/python-jupytext-1.15.2-1-any.pkg.tar.zst

WARN: File (usr/etc/) exists in a non-standard directory.
WARN: File (usr/etc/jupyter/) exists in a non-standard directory.
WARN: File (usr/etc/jupyter/jupyter_notebook_config.d/) exists in a non-standard directory.
WARN: File (usr/etc/jupyter/jupyter_notebook_config.d/jupytext.json) exists in a non-standard directory.
WARN: File (usr/etc/jupyter/jupyter_server_config.d/) exists in a non-standard directory.
WARN: File (usr/etc/jupyter/jupyter_server_config.d/jupytext.json) exists in a non-standard directory.
WARN: File (usr/etc/jupyter/nbconfig/) exists in a non-standard directory.
WARN: File (usr/etc/jupyter/nbconfig/notebook.d/) exists in a non-standard directory.
WARN: File (usr/etc/jupyter/nbconfig/notebook.d/jupytext.json) exists in a non-standard directory.
ERROR: Dependency python-tornado detected and not included (python modules ['tornado.web.HTTPError'] needed in files 
    ['usr/lib/python3.11/site-packages/jupytext/contentsmanager.py'])
ERROR: Dependency python-setuptools detected and not included (python modules ['pkg_resources.parse_version'] needed in files 
    ['usr/lib/python3.11/site-packages/jupytext/parse_version.py'])
ERROR: Dependency jupyter-notebook detected and not included (python modules ['notebook.services.contents.filemanager.FileContentsManager', 
    'notebook.transutils', 'notebook.services.contents.largefilemanager.LargeFileManager'] needed in files 
    ['usr/lib/python3.11/site-packages/jupytext/contentsmanager.py'])
ERROR: Dependency jupyter-nbconvert detected and not included (python modules ['nbconvert.preprocessors.ExecutePreprocessor'] needed in files 
    ['usr/lib/python3.11/site-packages/jupytext/cli.py'])
ERROR: Dependency python-jupyter-client detected and not included (python modules ['jupyter_client.kernelspec.find_kernel_specs', 
    'jupyter_client.kernelspec.get_kernel_spec'] needed in files ['usr/lib/python3.11/site-packages/jupytext/kernels.py'])
ERROR: Dependency python-sphinx-gallery detected and not included (python modules ['sphinx_gallery.__version__', 'sphinx_gallery.notebook.rst2md'] needed in 
    files ['usr/lib/python3.11/site-packages/jupytext/cell_reader.py'])
ERROR: Dependency python-packaging detected and not included (python modules ['packaging.version.parse'] needed in files 
    ['usr/lib/python3.11/site-packages/jupytext/parse_version.py'])
ERROR: Dependency jupyter-server detected and not included (python modules ['jupyter_server.services.contents.largefilemanager.LargeFileManager'] needed in 
    files ['usr/lib/python3.11/site-packages/jupytext/contentsmanager.py', 'usr/lib/python3.11/site-packages/jupytext/__init__.py'])
WARN: Dependency python detected and implicitly satisfied (python modules ['tempfile', 'ast', 'datetime.timedelta', 'tempfile.NamedTemporaryFile', 
    'itertools', 'json.loads', 'collections.namedtuple', 'subprocess', 'copy.copy', 'copy', 'json.JSONDecodeError', 'argparse', 'os', 'logging', 'textwrap.dedent', 
    'difflib', 'sys', 'functools.partial', 'pathlib.Path', 'json.dumps', 'glob', 'json', 'shlex', 're', 'warnings', 'copy.deepcopy', 'argparse.ArgumentParser'] 
    needed in files ['usr/lib/python3.11/site-packages/jupytext/header.py', 'usr/lib/python3.11/site-packages/jupytext/config.py', 
    'usr/lib/python3.11/site-packages/jupytext/doxygen.py', 'usr/lib/python3.11/site-packages/jupytext/metadata_filter.py', 
    'usr/lib/python3.11/site-packages/jupytext/quarto.py', 'usr/bin/jupytext-config', 'usr/lib/python3.11/site-packages/jupytext/paired_paths.py', 
    'usr/lib/python3.11/site-packages/jupytext/combine.py', 'usr/bin/jupytext', 'usr/lib/python3.11/site-packages/jupytext/cell_to_text.py', 
    'usr/lib/python3.11/site-packages/jupytext/labconfig.py', 'usr/lib/python3.11/site-packages/jupytext/formats.py', 
    'usr/lib/python3.11/site-packages/jupytext/magics.py', 'usr/lib/python3.11/site-packages/jupytext/jupytext_config.py', 
    'usr/lib/python3.11/site-packages/jupytext/contentsmanager.py', 'usr/lib/python3.11/site-packages/jupytext/__main__.py', 
    'usr/lib/python3.11/site-packages/jupytext/compare.py', 'usr/lib/python3.11/site-packages/jupytext/jupytext.py', 
    'usr/lib/python3.11/site-packages/jupytext/cli.py', 'usr/lib/python3.11/site-packages/jupytext/myst.py', 'usr/lib/python3.11/site-packages/jupytext/pandoc.py', 
    'usr/lib/python3.11/site-packages/jupytext/pairs.py', 'usr/lib/python3.11/site-packages/jupytext/kernels.py', 
    'usr/lib/python3.11/site-packages/jupytext/cell_reader.py', 'usr/lib/python3.11/site-packages/jupytext/cell_metadata.py'], programs ['python'] needed in scripts 
    ['usr/bin/jupytext', 'usr/bin/jupytext-config'])
WARN: Dependency python-traitlets detected and implicitly satisfied (python modules ['traitlets.Dict', 'traitlets.traitlets.TraitError', 'traitlets.Union', 
    'traitlets.Float', 'traitlets.config.loader.PyFileConfigLoader', 'traitlets.List', 'traitlets.Enum', 'traitlets.config.Configurable', 'traitlets.Unicode', 
    'traitlets.Bool'] needed in files ['usr/lib/python3.11/site-packages/jupytext/config.py'])
WARN: Dependency python-yaml detected and implicitly satisfied (python modules ['yaml.representer.SafeRepresenter', 'yaml'] needed in files 
    ['usr/lib/python3.11/site-packages/jupytext/header.py', 'usr/lib/python3.11/site-packages/jupytext/config.py', 
    'usr/lib/python3.11/site-packages/jupytext/myst.py', 'usr/lib/python3.11/site-packages/jupytext/formats.py'])
WARN: Dependency included, but may not be needed ('python-pyaml')
INFO: Depends as namcap sees them: 
      depends=(
        jupyter-nbconvert
        jupyter-nbformat
        jupyter-notebook
        jupyter-server
        python
        python-jupyter-client
        python-markdown-it-py
        python-mdit_py_plugins
        python-packaging
        python-setuptools
        python-sphinx-gallery
        python-toml
        python-tornado
        python-traitlets
        python-yaml
      )

carlosal1015 commented on 2023-08-02 20:40 (UTC)

Looks like https://github.com/mwouts/jupytext/blob/v1.15.0/setup.py#L160C9-L160C20 npm is a makedependency

python-jupytext-1.14.7.tar.gz ... Passed
==> WARNING: Using existing $srcdir/ tree
/tmp/makepkg/python-jupytext/src/jupytext-1.14.7/setup.py:153: DeprecatedWarning: create_cmdclass is deprecated as of 0.8 and will be removed in 1.0. "
Use `wrap_installers` to handle prebuild steps in cmdclass.
Use `get_data_files` to handle data files.
Use `include_package_data=True` and `MANIFEST.in` for package data.

 cmdclass = create_cmdclass(
/tmp/makepkg/python-jupytext/src/jupytext-1.14.7/setup.py:160: DeprecatedWarning: install_npm is deprecated as of 0.8 and will be removed in 1.0. Use `npm_builder` and `wrap_installers`
  install_npm(
yarn not found, ignoring yarn.lock file
Traceback (most recent call last):
  File "/usr/sbin/jlpm", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.11/site-packages/jupyterlab/jlpmapp.py", line 43, in main
   execvp("node", ["node", YARN_PATH, *argv])
  File "/usr/lib/python3.11/site-packages/jupyterlab/jlpmapp.py", line 24, in execvp
   cmd = which(cmd)
         ^^^^^^^^^^
 File "/usr/lib/python3.11/site-packages/jupyterlab_server/process.py", line 58, in which
   raise ValueError(msg)
ValueError: Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the Node.js website (https://nodejs.org).
/tmp/makepkg/python-jupytext/src/jupytext-1.14.7/setup.py:153: DeprecatedWarning: create_cmdclass is deprecated as of 0.8 and will be removed in 1.0. "
Use `wrap_installers` to handle prebuild steps in cmdclass.
Use `get_data_files` to handle data files.
Use `include_package_data=True` and `MANIFEST.in` for package data.

 cmdclass = create_cmdclass(
/tmp/makepkg/python-jupytext/src/jupytext-1.14.7/setup.py:160: DeprecatedWarning: install_npm is deprecated as of 0.8 and will be removed in 1.0. Use `npm_builder` and `wrap_installers`
  install_npm(
/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
       Please avoid running ``setup.py`` directly.
       Instead, use pypa/build, pypa/installer or other
       standards-based tools.

       See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
       ********************************************************************************


 self.initialize_options()
yarn not found, ignoring yarn.lock file
Traceback (most recent call last):
 File "/usr/sbin/jlpm", line 8, in <module>
   sys.exit(main())
           ^^^^^^
File "/usr/lib/python3.11/site-packages/jupyterlab/jlpmapp.py", line 43, in main
  execvp("node", ["node", YARN_PATH, *argv])
File "/usr/lib/python3.11/site-packages/jupyterlab/jlpmapp.py", line 24, in execvp
  cmd = which(cmd)
        ^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/jupyterlab_server/process.py", line 58, in which
  raise ValueError(msg)
ValueError: Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the Node.js website (https://nodejs.org).

trougnouf commented on 2021-09-23 08:29 (UTC)

python-mdit_py_plugins is needed for markdown.

Perfi commented on 2021-01-06 17:03 (UTC)

Fails on build with ModuleNotFoundError: No module named 'jupyter_packaging', which probably means python-jupyter_packaging needs to be added to dependencies :)