Package Details: python-shlib 1.6-1

Git Clone URL: https://aur.archlinux.org/python-shlib.git (read-only, click to copy)
Package Base: python-shlib
Description: A light-weight library to do shell-script like things with Python
Upstream URL: https://github.com/KenKundert/shlib
Licenses: GPL3
Submitter: Kewl
Maintainer: Kewl
Last Packager: Kewl
Votes: 2
Popularity: 0.000000
First Submitted: 2019-09-08 19:37 (UTC)
Last Updated: 2023-05-19 07:20 (UTC)

Latest Comments

« First ‹ Previous 1 2

RubenKelevra commented on 2022-07-29 11:15 (UTC)

Sure

Kewl commented on 2022-07-29 09:10 (UTC)

I intend to keep maintaining it but you could co-maintain it if you wish

RubenKelevra commented on 2022-07-29 09:05 (UTC)

If you want me to take over the maintenance, just orphan it :)

Kewl commented on 2022-07-28 18:33 (UTC) (edited on 2022-07-28 18:33 (UTC) by Kewl)

@RubenKelevra I appreciate your remarks, please submit a corrected PKGBUILD if you want to participate.

RubenKelevra commented on 2022-07-28 18:29 (UTC)

You can build the package outside of a chroot and run namcap over it. This should show the missing dependencies.

Regarding the setup tools warning, have a look at the recommended way to build python packages:

https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)

RubenKelevra commented on 2022-07-28 18:26 (UTC)

@Kewl I'm sorry, but I wrote in the flagged out of date message field what the issue is.

Every PKGBUILD which cannot build in a clean Chroot is faulty IMHO and needs correction.

See the comment of Peter Simons for the rationale behind this habit.

https://narkive.com/FZqIShdo.7

Kewl commented on 2022-07-28 16:58 (UTC)

@RubenKelevra thanks for your report, can you propose corrections otherwise I will look into it in the coming days, possibly coming weekend

Kewl commented on 2022-07-28 16:57 (UTC)

The package was flagged out of date but I don't see any new version, latest is 1.4.0. I am reverting. Please report bugs appropriately in comments.

RubenKelevra commented on 2022-07-28 16:53 (UTC) (edited on 2022-07-28 16:53 (UTC) by RubenKelevra)

/usr/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
  warnings.warn(
WARNING: The wheel package is not available.
/usr/bin/python: No module named pip
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 82, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpivnda9lo', '--quiet', 'pytest-runner>=2.0']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/build/python-shlib/src/shlib-1.4.0/setup.py", line 10, in <module>
    setup(
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup
    _install_setup_requires(attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 80, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 861, in fetch_build_eggs
    resolved_dists = pkg_resources.working_set.resolve(
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 777, in resolve
    dist = best[req.key] = env.best_match(
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1062, in best_match
    return self.obtain(req, installer)
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 1074, in obtain
    return installer(requirement)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 941, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 84, in fetch_build_egg
    raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpivnda9lo', '--quiet', 'pytest-runner>=2.0']' returned non-zero exit status 1.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /var/lib/paru/aur_chroot/rubenk/build
error: failed to build 'python-shlib-1.4.0-1': failed to run: makechrootpkg -r /var/lib/paru/aur_chroot -D /var/lib/paru/aur_chroot -d /var/cache/pacman/pkg/ -- -feA --noconfirm --noprepare --holdver: 

A clean chroot build doesn't work for this package because the dependencies are wrong.

Apart from that it's not PEP517 compliant.