Package Details: python-plum 0.8.7-2

Git Clone URL: https://aur.archlinux.org/python-plum.git (read-only, click to copy)
Package Base: python-plum
Description: Pack/Unpack Memory
Upstream URL: https://plum-py.readthedocs.io/en/latest/
Licenses: MIT
Submitter: alerque
Maintainer: alerque
Last Packager: alerque
Votes: 1
Popularity: 0.000000
First Submitted: 2021-05-12 08:11 (UTC)
Last Updated: 2024-04-28 20:20 (UTC)

Latest Comments

alerque commented on 2023-03-17 20:04 (UTC)

Manjaro is not supported. Their entire Python stack is broken because they are in what Arch Linux calls a "partial update" scenario where they have cherry picked some updated packages but not all of them. Arch EXPLICITLY does not support that, packages are only designed to work together with the current package versions in the official repos. This package builds fine with official Arch tooling in a clean CHROOT with the specified dependencies.

SpotlightKid commented on 2023-03-17 16:04 (UTC)

Alas, doesn't build here:

running install_egg_info
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 413, in build_wheel
    return self._build_with_temp_dir(['bdist_wheel'], '.whl',
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 398, in _build_with_temp_dir
    self.run_setup()
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 484, in run_setup
    super(_BuildMetaLegacyBackend,
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
    exec(code, locals())
  File "<string>", line 24, in <module>
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 108, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1221, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 360, in run
    self.run_command("install")
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1221, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.10/site-packages/setuptools/command/install.py", line 68, in run
    return orig.install.run(self)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/command/install.py", line 708, in run
    self.run_command(cmd_name)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1221, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
    cmd_obj.ensure_finalized()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
    self.finalize_options()
  File "/usr/lib/python3.10/site-packages/setuptools/command/install_egg_info.py", line 25, in finalize_options
    ei_cmd = self.get_finalized_command("egg_info")
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 305, in get_finalized_command
    cmd_obj.ensure_finalized()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized
    self.finalize_options()
  File "/usr/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 253, in finalize_options
    if pd is not None and pd.key == self.egg_name.lower():
AttributeError: 'PathDistribution' object has no attribute 'key'

ERROR Backend subprocess exited when trying to invoke build_wheel
==> ERROR: A failure occurred in build().

I'm on Manjaro, where python-setuptools is currently on 63.3.0.

I think I've seen that error with another package already and was able to find a solution online, but I can't remember the details now.

alerque commented on 2023-03-16 22:41 (UTC)

I patched out some bogus syntax in the upstream setup file, it builds again in a clean chroot.

alerque commented on 2023-03-16 22:38 (UTC)

@anark10n It looks like this upstream project his having trouble with the new Python setuptools that landed in Arch. I'm not sure there is much to be done about it except figure out how to fix it upstream and then patch it here if they don't respond fast. Contributions welcome, but I don't see how to build it right now. Use the prebuilt one from my user repository if you like.

anark10n commented on 2023-03-02 21:30 (UTC) (edited on 2023-03-02 21:30 (UTC) by anark10n)

Cannot build, produces the following error:

* Getting build dependencies for wheel...
* Building wheel...
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 413, in build_wheel
    return self._build_with_temp_dir(['bdist_wheel'], '.whl',
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 398, in _build_with_temp_dir
    self.run_setup()
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 484, in run_setup
    super(_BuildMetaLegacyBackend,
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
    exec(code, locals())
  File "<string>", line 24, in <module>
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 108, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 159, in setup
    dist.parse_config_files()
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 881, in parse_config_files
    setupcfg.parse_configuration(
  File "/usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py", line 163, in parse_configuration
    options.parse()
  File "/usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py", line 508, in parse
    section_parser_method(section_options)
  File "/usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py", line 482, in parse_section
    self[name] = value
  File "/usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py", line 290, in __setitem__
    value = parser(value)
  File "/usr/lib/python3.10/site-packages/packaging/specifiers.py", line 711, in __init__
    parsed.add(Specifier(specifier))
  File "/usr/lib/python3.10/site-packages/packaging/specifiers.py", line 245, in __init__
    raise InvalidSpecifier(f"Invalid specifier: '{spec}'")
packaging.specifiers.InvalidSpecifier: Invalid specifier: '>=3.6.*'

ERROR Backend subprocess exited when trying to invoke build_wheel
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: python-plum

RubenKelevra commented on 2022-04-18 17:16 (UTC)

Cannot be build:

==> Starting build()...
/startdir/PKGBUILD: line 18: cd: plum-0.7.2: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...