Package Details: python-requests-cache 0.7.4-1

Git Clone URL: https://aur.archlinux.org/python-requests-cache.git (read-only, click to copy)
Package Base: python-requests-cache
Description: Transparent persistent cache for http://python-requests.org/ library.
Upstream URL: https://github.com/reclosedev/requests-cache
Licenses: BSD
Conflicts: python2-requests-cache
Submitter: Shibumi
Maintainer: flying-sheep
Last Packager: flying-sheep
Votes: 23
Popularity: 1.30
First Submitted: 2015-09-21 13:55
Last Updated: 2021-08-17 15:39

Latest Comments

JWCook commented on 2021-09-07 20:19

@carlosal1015 Hah, I was just about to comment on this; requests-cache v0.8 was released a few minutes ago, and yes, cattrs is required now. I've also added more comments here to make it more obvious what dependencies are required vs. optional and why: https://github.com/reclosedev/requests-cache/blob/master/pyproject.toml#L26

Is there anything else I can do to make downstream packaging easier?

carlosal1015 commented on 2021-09-07 20:10

Thank you very much @JWCook, according to pip installation

(Tue Sep  7 03:03:03 PM -05 2021) Successfully installed attrs-21.2.0 cattrs-1.8.0 requests-cache-0.8.0 url-normalize-1.4.3.

the package python-cattrs is missing, please include in the PKGBUILD.

python-itsdangerous is not a dependency, please add in the right optional=true dependency in the PKGBUILD.

JWCook commented on 2021-08-21 16:05

@carlosal1015 cattrs is optional (but recommended) for the current stable release of requests-cache (0.7.x). It will be required in a future release, though (0.8).

@flying-sheep If you run into any more problems with packaging requests-cache for AUR, please let me know by creating an issue on the project repo: https://github.com/reclosedev/requests-cache/issues

lmartinez-mirror commented on 2021-07-15 07:42

This package requires python-url-normalize as a dependency.

willemw commented on 2021-06-22 15:31

It should be: arch=('any'). "python" in "depends" and "git" in "makedepends" are not necessary.

yjun commented on 2021-05-22 16:08

:100644 100644 08e4373 0000000 M        PKGBUILD

diff --git a/PKGBUILD b/PKGBUILD
index 08e4373..58b9756 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,10 +7,10 @@ pkgname="python-requests-cache"
 pkgver=0.6.3
 pkgrel=1
 pkgdesc="Transparent persistent cache for http://python-requests.org/ library."
-arch=("x86_64")
+arch=("any")
 url="https://github.com/reclosedev/requests-cache"
 license=("BSD")
-depends=("python" "python-requests")
+depends=("python" "python-requests" "python-itsdangerous" "python-url-normalize")
 makedepends=("git" "python-setuptools")
 provides=("python-requests-cache")
 conflicts=("python2-requests-cache")

add missing depends and set arch to any

phyxmeow commented on 2021-04-27 09:16

Please add dependencies of new version(0.6+):
python-url-normalize (which is not in aur currently)
python-itsdangerous

https://github.com/reclosedev/requests-cache/blob/master/setup.py:

setup(
    name='requests-cache',
    packages=find_packages(exclude=['tests*']),
    version=__version__,
    author='Roman Haritonov',
    author_email='reclosedev@gmail.com',
    url='https://github.com/reclosedev/requests-cache',
    install_requires=['itsdangerous', 'requests>=2.0.0', 'url-normalize>=1.4'],
    extras_require=extras_require,
    python_requires='>=3.6',
    include_package_data=True,
)

major commented on 2019-08-11 17:22

Hello @bigcajun826. Thank you for your recommendation. I usually check and then commit/push my changes. However, your method looks much easier and probably worth using.

bigcajun826 commented on 2019-08-08 14:36

Thanks for adopting this package @major. Would you consider adding a .gitignore file in the root of the project like this: https://gist.github.com/emerkle826/1e6225758bbeb2b3d1a337e70fbeaace

so that the download and build artifacts don't appear as unstaged changes?

major commented on 2019-08-01 16:13

The package has not been updated for a while. I will be updating it, but another important thing to note is that it is a package base. In simple words, if you want to install for Python 3, you will be forced to install Python 2, and vice-versa.

Given the nature of the package, I will split it by next week. This should give enough time to everyone to make backups, ready your system, etc (all you want to do). Therefore, I will update the package be next week as well.