Package Details: python-diskcache 5.6.3-1

Git Clone URL: https://aur.archlinux.org/python-diskcache.git (read-only, click to copy)
Package Base: python-diskcache
Description: Python disk and file backed cache library
Upstream URL: https://github.com/grantjenks/python-diskcache
Licenses: Apache
Submitter: pezz
Maintainer: wereii
Last Packager: PolarianDev
Votes: 8
Popularity: 0.044918
First Submitted: 2018-05-10 01:24 (UTC)
Last Updated: 2023-10-23 08:59 (UTC)

Latest Comments

PolarianDev commented on 2023-10-23 08:51 (UTC)

Hello,

I have pulled python-diskcache into my gitea so that I can help maintain it, so if you are wondering where the "pull request" commits are coming from, its because I add notes to myself there.

See: https://git.polarian.dev/AUR/python-diskcache

I will push the latest version in a few minutes (after I test it).

Take care,
Polarian

wereii commented on 2023-10-18 14:39 (UTC)

You got it @PolarianDev, lately I can't react to updates as quickly as I am not at my arch machine all the time, thanks.

PolarianDev commented on 2023-10-18 10:02 (UTC)

Could I have co-maintainer, I maintain mozillavpn which depends on python-glean-parser which depends on this (python-diskcache) therefore having this out of date hurts my packages down the line.

It would be appreciated :D

Thank you,
Polarian

Lawyno commented on 2023-03-27 21:47 (UTC)

Had the same problem on Manjaro KDE. Tried some stuff but I'm pretty sure installing python-virtualenv solved it in the end.

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

This builds fine on Arch Linux in a clean chroot. From the looks of those logs Manjaro's Python ecosystem is messed up, those are not related to this package, they are missing Python stuff from Arch's build system. Packages here are really only expected to work on Arch, any maintainers that try to accommodate Manjaro do so on their own and on a best effort basis. It does not make a package broken that something doesn't work on a different distro.

pgpattison commented on 2023-03-16 03:35 (UTC) (edited on 2023-03-16 03:36 (UTC) by pgpattison)

Same problem as matschi. Fails to build. Manjaro KDE.

Preparing...
Cloning python-diskcache build files...
Generating python-diskcache information...
Checking python-diskcache dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building python-diskcache...
==> Making package: python-diskcache 5.4.0-1 (Wed 15 Mar 2023 09:25:36 PM MDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found python-diskcache-5.4.0.tar.gz
==> Validating source files with sha256sums...
    python-diskcache-5.4.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting python-diskcache-5.4.0.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Warning: 'classifiers' should be a list, got type 'tuple'
running build
running build_py
creating build
creating build/lib
creating build/lib/diskcache
copying diskcache/__init__.py -> build/lib/diskcache
copying diskcache/cli.py -> build/lib/diskcache
copying diskcache/core.py -> build/lib/diskcache
copying diskcache/fanout.py -> build/lib/diskcache
copying diskcache/persistent.py -> build/lib/diskcache
copying diskcache/djangocache.py -> build/lib/diskcache
copying diskcache/recipes.py -> build/lib/diskcache
==> Entering fakeroot environment...
==> Starting package()...
Warning: 'classifiers' should be a list, got type 'tuple'
running install
/usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running install_lib
creating /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr
creating /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib
creating /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10
creating /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages
creating /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/__init__.py -> /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/cli.py -> /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/core.py -> /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/fanout.py -> /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/persistent.py -> /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/djangocache.py -> /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/recipes.py -> /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
byte-compiling /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/__init__.py to __init__.cpython-310.pyc
byte-compiling /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/cli.py to cli.cpython-310.pyc
byte-compiling /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/core.py to core.cpython-310.pyc
byte-compiling /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/fanout.py to fanout.cpython-310.pyc
byte-compiling /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/persistent.py to persistent.cpython-310.pyc
byte-compiling /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/djangocache.py to djangocache.cpython-310.pyc
byte-compiling /var/tmp/pamac-build-pgpattison/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/recipes.py to recipes.cpython-310.pyc
writing byte-compilation script '/tmp/tmp3bwmnyzj.py'
/usr/bin/python /tmp/tmp3bwmnyzj.py
removing /tmp/tmp3bwmnyzj.py
running install_egg_info
Traceback (most recent call last):
  File "/var/tmp/pamac-build-pgpattison/python-diskcache/src/python-diskcache-5.4.0/setup.py", line 25, in <module>
    setup(
  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/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: A failure occurred in package().
    Aborting...

carlosal1015 commented on 2023-03-13 22:27 (UTC)

No errors from my side:

==> Making package: python-diskcache 5.4.0-1 (Mon Mar 13 17:20:57 2023)
==> Retrieving sources...
  -> Downloading python-diskcache-5.4.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  638k    0  638k    0     0  1054k      0 --:--:-- --:--:-- --:--:-- 1054k
==> Validating source files with sha256sums...
    python-diskcache-5.4.0.tar.gz ... Passed
 -> python-setuptools not satisfied, flushing install queue
==> Making package: python-diskcache 5.4.0-1 (Mon Mar 13 17:20:59 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found python-diskcache-5.4.0.tar.gz
==> Validating source files with sha256sums...
    python-diskcache-5.4.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting python-diskcache-5.4.0.tar.gz with bsdtar
==> Sources are ready.
==> Making package: python-diskcache 5.4.0-1 (Mon Mar 13 17:21:01 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
Warning: 'classifiers' should be a list, got type 'tuple'
running build
running build_py
creating build
creating build/lib
creating build/lib/diskcache
copying diskcache/__init__.py -> build/lib/diskcache
copying diskcache/cli.py -> build/lib/diskcache
copying diskcache/core.py -> build/lib/diskcache
copying diskcache/djangocache.py -> build/lib/diskcache
copying diskcache/fanout.py -> build/lib/diskcache
copying diskcache/persistent.py -> build/lib/diskcache
copying diskcache/recipes.py -> build/lib/diskcache
==> Entering fakeroot environment...
==> Starting package()...
Warning: 'classifiers' should be a list, got type 'tuple'
running install
/usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running install_lib
creating /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr
creating /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib
creating /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10
creating /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages
creating /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/__init__.py -> /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/cli.py -> /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/core.py -> /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/djangocache.py -> /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/fanout.py -> /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/persistent.py -> /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
copying build/lib/diskcache/recipes.py -> /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache
byte-compiling /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/__init__.py to __init__.cpython-310.pyc
byte-compiling /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/cli.py to cli.cpython-310.pyc
byte-compiling /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/core.py to core.cpython-310.pyc
byte-compiling /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/djangocache.py to djangocache.cpython-310.pyc
byte-compiling /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/fanout.py to fanout.cpython-310.pyc
byte-compiling /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/persistent.py to persistent.cpython-310.pyc
byte-compiling /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache/recipes.py to recipes.cpython-310.pyc
writing byte-compilation script '/tmp/tmp8541msj8.py'
/usr/sbin/python /tmp/tmp8541msj8.py
removing /tmp/tmp8541msj8.py
running install_egg_info
running egg_info
creating diskcache.egg-info
writing diskcache.egg-info/PKG-INFO
writing dependency_links to diskcache.egg-info/dependency_links.txt
writing top-level names to diskcache.egg-info/top_level.txt
writing manifest file 'diskcache.egg-info/SOURCES.txt'
reading manifest file 'diskcache.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'diskcache.egg-info/SOURCES.txt'
Copying diskcache.egg-info to /tmp/makepkg/python-diskcache/pkg/python-diskcache/usr/lib/python3.10/site-packages/diskcache-5.4.0-py3.10.egg-info
running install_scripts
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "python-diskcache"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: python-diskcache 5.4.0-1 (Mon Mar 13 17:21:05 2023)
==> Cleaning up...

matschi commented on 2023-03-13 15:00 (UTC) (edited on 2023-03-13 15:00 (UTC) by matschi)

Build fails for me with


running install_egg_info
Traceback (most recent call last):
  File "/home/matschi/.cache/yay/python-diskcache/src/python-diskcache-5.4.0/setup.py", line 25, in <module>
    setup(
  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/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: A failure occurred in package().
    Aborting...
 -> error making: python-diskcache