Package Details: python-altair 5.5.0-1

Git Clone URL: https://aur.archlinux.org/python-altair.git (read-only, click to copy)
Package Base: python-altair
Description: Declarative statistical visualization library for Python
Upstream URL: https://altair-viz.github.io/
Licenses: BSD-3-Clause
Submitter: izahn
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 5
Popularity: 0.000029
First Submitted: 2018-05-01 18:43 (UTC)
Last Updated: 2024-11-24 18:51 (UTC)

Dependencies (11)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

ThinkPad commented on 2023-06-28 17:05 (UTC)

Would you consider packaging vl-convert-python to support the simplified save to PNG process introduced in Altair 5?

TrialnError commented on 2023-05-12 08:45 (UTC) (edited on 2023-05-12 08:46 (UTC) by TrialnError)

Oh, it is indeed an upstream bug, but as I'm not really versed in the new python build-system I refrained from opening a ticket until I knew what went wrong in which place.
So thanks for the pointer in which step this gets added. As far as I can currently tell, this is for the tool coming from python-hatchling. Imo those lines should simply be removed. The LICENSE file gets already added to another location related to site-packages. Therefore it is already covered. The .toml isn't needed for the finished package and dunno if there is a doc dir where the README can be additionally placed.
Now it should be enough information that I can take it later to uptream.

Henry-ZHR commented on 2023-05-12 05:06 (UTC) (edited on 2023-05-12 05:06 (UTC) by Henry-ZHR)

I suppose it's an upstream bug for the other package, so I was (and am) just planning to report it to upstream.

But it seems that it's also the case for this package...
https://github.com/altair-viz/altair/blob/f3ced05897cb1e17f7299086436c0a08348c7028/pyproject.toml#L97-L99 I wonder how should include be used.

TrialnError commented on 2023-05-11 18:01 (UTC)

With -2 the issue is fixed.
One note though: As there was for you already a LICENSE file installed in that location, I would suggest (if not already done) to report this additionally for the other package in question. In that location there shouldn't be such files.

TrialnError commented on 2023-05-11 17:42 (UTC)

Definitely shouldn't be there. Will take a look. Thanks for reporting.

Henry-ZHR commented on 2023-05-11 04:54 (UTC)

error: failed to commit transaction (conflicting files)
python-altair: /usr/lib/python3.11/site-packages/LICENSE exists in filesystem (owned by xxx)

LICENSE, README.md and pyproject.toml in /usr/lib/python3.11/site-packages. Something wrong?

TrialnError commented on 2023-02-22 16:25 (UTC)

What is your build environment revan? Any AUR helper? Or building with a clean chroot?
I can only say, I can build this package sucessfully

<deleted-account> commented on 2023-02-21 16:22 (UTC)

Trying to update from 4.2.0-2 to 4.2.2-1 fails for me with the following traceback:

==> Starting build()...
* Getting build dependencies for wheel...
/usr/lib/python3.10/site-packages/setuptools/dist.py:788: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
  warnings.warn(
/usr/lib/python3.10/site-packages/setuptools/config/setupcfg.py:520: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
running 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 118, in get_requires_for_build_wheel
    return hook(config_settings)
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=['wheel'])
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
    self.run_setup()
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
    exec(code, locals())
  File "<string>", line 58, 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 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/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 get_requires_for_build_wheel
==> ERROR: A failure occurred in build().
    Aborting...

Does anybody else receive this errors or has an idea what the problem might be?

TrialnError commented on 2021-03-01 21:05 (UTC)

Valid point lilydjwg. That needs to be adjusted. Thanks for checking :)