Package Details: python-maison 2.0.0-1

Git Clone URL: https://aur.archlinux.org/python-maison.git (read-only, click to copy)
Package Base: python-maison
Description: Read settings from config files.
Upstream URL: https://github.com/dbatten5/maison
Licenses: MIT
Submitter: Spixmaster
Maintainer: Spixmaster
Last Packager: Spixmaster
Votes: 1
Popularity: 0.000045
First Submitted: 2022-12-30 05:22 (UTC)
Last Updated: 2024-08-21 11:13 (UTC)

Latest Comments

Spixmaster commented on 2023-08-23 13:36 (UTC)

I fixed the issue. It was really odd. The problem was caused by the option -n for the command python -m build.

qubidt commented on 2023-08-15 13:30 (UTC)

I can also reproduce your issue when building outside of the chroot. no guesses yet why it's not happening in the chroot. I'll try to play around with it in different environments to see if I can narrow it down.

I don't think it's an issue with the upstream, since it seems to build fine in the minimal chroot environment.

Spixmaster commented on 2023-08-14 16:56 (UTC) (edited on 2023-08-14 16:56 (UTC) by Spixmaster)

I have opened an issue on the Git repository.

Spixmaster commented on 2023-08-14 16:53 (UTC) (edited on 2023-08-14 16:54 (UTC) by Spixmaster)

@quibidt Thanks for your hint with extra-x86_64-build. Indeed, I can reproduce your outcome with that. Nevertheless when installing with makepkg I still have my erroneous installation.

rm -r ~/.cache/paru/clone/python-maison/
paru -S python-maison
...
❯ pacman -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

qubidt commented on 2023-08-14 16:17 (UTC)

@Spixmaster, can you try building in a clean chroot, or a fresh install of Arch? I still can't reproduce your issue. here are my logs, on pretty close to untouched system, and using extra-x86_64-build to build in a fresh chroot: https://pastebin.com/ahjKKhFm

Spixmaster commented on 2023-08-14 14:37 (UTC) (edited on 2023-08-14 14:39 (UTC) by Spixmaster)

@qubidt Thanks for your report. This is really strange. When building this package with makepkg, the package content is the following:

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

There are no Python files. On the package page of yamlfix, another user also reported exactly my issue. Could you maybe try to reproduce by creating the .pkg.tar.zst by executing makepkg in the directory with this PKGBUILD? This way you do not install the software on your package.

qubidt commented on 2023-08-14 14:02 (UTC)

@Spixmaster I can't reproduce your issue. I built this package in a chroot (using extra-x86_64-build, and it seems to build successfully. The package contains the python files I expect:

usr/lib/python3.11/site-packages/maison/__init__.py
usr/lib/python3.11/site-packages/maison/__main__.py
usr/lib/python3.11/site-packages/maison/config.py
usr/lib/python3.11/site-packages/maison/config_sources/__init__.py
usr/lib/python3.11/site-packages/maison/config_sources/base_source.py
usr/lib/python3.11/site-packages/maison/config_sources/ini_source.py
usr/lib/python3.11/site-packages/maison/config_sources/pyproject_source.py
usr/lib/python3.11/site-packages/maison/config_sources/toml_source.py
usr/lib/python3.11/site-packages/maison/errors.py
usr/lib/python3.11/site-packages/maison/schema.py
usr/lib/python3.11/site-packages/maison/utils.py

Spixmaster commented on 2023-08-14 12:55 (UTC) (edited on 2023-08-14 12:57 (UTC) by Spixmaster)

This package is broken. The list of files of python-maison does not include Python files. If someone knows how to fix this, he is welcomed to make suggestions.