Package Details: yamlfix 1.16.0-1

Git Clone URL: https://aur.archlinux.org/yamlfix.git (read-only, click to copy)
Package Base: yamlfix
Description: A simple, opinionated yaml formatter that keeps your comments!
Upstream URL: https://github.com/lyz-code/yamlfix
Licenses: GPL-3.0-or-later
Submitter: Spixmaster
Maintainer: Spixmaster
Last Packager: Spixmaster
Votes: 0
Popularity: 0.000000
First Submitted: 2022-09-26 07:14 (UTC)
Last Updated: 2024-04-10 05:00 (UTC)

Latest Comments

Spixmaster commented on 2023-08-10 06:15 (UTC) (edited on 2023-08-10 06:16 (UTC) by Spixmaster)

@jaxvanyang No, you are completely right. The package python-maison does not work. I created it but am not able to get it running. The Python build process for that software does not work as usual. I have not figured out a solution yet. Normally, I have no problems with packaging Python software but python-maison causes issues.

You can see that the list of files of python-maison does not include Python files.

If someone can help with python-maison, please do so.

jaxvanyang commented on 2023-08-10 05:56 (UTC) (edited on 2023-08-10 05:56 (UTC) by jaxvanyang)

Hi, I installed this package on Arch WSL with paru. But it yield a ModuleNotFoundError:

$ yamlfix --help
Traceback (most recent call last):
  File "/usr/sbin/yamlfix", line 5, in <module>
    from yamlfix.entrypoints.cli import cli
  File "/usr/lib/python3.11/site-packages/yamlfix/__init__.py", line 10, in <module>
    from yamlfix.services import fix_code, fix_files
  File "/usr/lib/python3.11/site-packages/yamlfix/services.py", line 13, in <module>
    from yamlfix.adapters import SourceCodeFixer, Yaml
  File "/usr/lib/python3.11/site-packages/yamlfix/adapters.py", line 14, in <module>
    from yamlfix.model import YamlfixConfig, YamlNodeStyle
  File "/usr/lib/python3.11/site-packages/yamlfix/model.py", line 5, in <module>
    from maison.schema import ConfigSchema
ModuleNotFoundError: No module named 'maison'

But I have python-maison installed, this is the package content:

$ paru -Ql python-maison
python-maison /usr/
python-maison /usr/bin/
python-maison /usr/bin/maison
python-maison /usr/lib/
python-maison /usr/lib/python3.11/
python-maison /usr/lib/python3.11/site-packages/
python-maison /usr/lib/python3.11/site-packages/maison-1.4.0.dist-info/
python-maison /usr/lib/python3.11/site-packages/maison-1.4.0.dist-info/LICENSE.rst
python-maison /usr/lib/python3.11/site-packages/maison-1.4.0.dist-info/METADATA
python-maison /usr/lib/python3.11/site-packages/maison-1.4.0.dist-info/RECORD
python-maison /usr/lib/python3.11/site-packages/maison-1.4.0.dist-info/WHEEL
python-maison /usr/lib/python3.11/site-packages/maison-1.4.0.dist-info/entry_points.txt
python-maison /usr/share/
python-maison /usr/share/doc/
python-maison /usr/share/doc/python-maison/
python-maison /usr/share/doc/python-maison/README.md
python-maison /usr/share/doc/python-maison/contributing.md
python-maison /usr/share/doc/python-maison/index.md
python-maison /usr/share/doc/python-maison/reference.md
python-maison /usr/share/doc/python-maison/requirements.txt
python-maison /usr/share/doc/python-maison/usage.md
python-maison /usr/share/licenses/
python-maison /usr/share/licenses/python-maison/
python-maison /usr/share/licenses/python-maison/LICENSE.rst

Could you please give me a hint?