Package Details: kaggle-api 1.5.16-1

Git Clone URL: https://aur.archlinux.org/kaggle-api.git (read-only, click to copy)
Package Base: kaggle-api
Description: Kaggle API CLI
Upstream URL: https://github.com/Kaggle/kaggle-api
Keywords: cli kaggle learning machine
Licenses: Apache
Replaces: kaggle-api
Submitter: asermax
Maintainer: 261519
Last Packager: 261519
Votes: 9
Popularity: 0.000001
First Submitted: 2018-03-21 02:55 (UTC)
Last Updated: 2023-07-20 01:10 (UTC)

Pinned Comments

Latest Comments

1 2 Next › Last »

adrien1018 commented on 2022-06-19 04:35 (UTC)

python-setuptools should be in the makedepends list.

stepp1 commented on 2022-04-04 20:34 (UTC)

Any chance of updating to 1.5.12?

snowball commented on 2020-04-25 01:26 (UTC)

In the meantime:

diff --git a/PKGBUILD b/PKGBUILD
index d31ce24..5378607 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: asermax <asermax@gmail.com>
 pkgname=kaggle-api
 _name=kaggle
-pkgver=1.5.3
+pkgver=1.5.6
 pkgrel=1
 pkgdesc='Kaggle API CLI'
 arch=('any')
@@ -20,8 +20,19 @@ depends=(
 makedepends=(
   'python-setuptools'
 )
-source=(${pkgname}-${pkgver}.tar.gz::"https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('8f467cb6ef4fb11bf10cfbbae5acde5be7cea7b5ec34f3dcdd4c88dc206aa3e8119a762c04c9bd470224eaf952293547eaa3745fd873a0fa14601699c5558ac0')
+source=(
+  ${pkgname}-${pkgver}.tar.gz::"https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
+  263.patch::'https://github.com/Kaggle/kaggle-api/commit/8f08ba91095fac8e1e2b8783ce9dbae47c0d7ef7.patch'
+)
+sha512sums=(
+  'bdd05342357f835a5186994e95017d4bdf0d7fef2b70c6a8b142c4d19ce1fd797b85058f958ade033795f3fca0a51482aeb9e09d55d5ed58e3256e0eedc8fbae'
+  '79b5617f9f46506eb9f3eea3f87475525dcd210a5837d04c8fc5252bb58cb6601fabf40b52b90132c75ad5172279f90438ae1bc4bd52311e3dbb0df1fd6f9a30'
+)
+
+prepare() {
+  cd "${_name}-${pkgver}"
+  patch --forward --strip=1 --input="${srcdir}/263.patch"
+}

 build() {
   cd "${_name}-${pkgver}"

261519 commented on 2020-04-23 00:52 (UTC)

There's a PR upstream fixing the urllib3 dependency issue. Will update shortly with any luck.

https://github.com/Kaggle/kaggle-api/pull/263

aa13q commented on 2019-11-05 16:49 (UTC)

looks like 1.5.6 version is here

yodaembedding commented on 2019-08-02 23:18 (UTC)

There appears to be a PR here, submitted last week:

https://github.com/Kaggle/kaggle-api/pull/204

oysteijo commented on 2019-07-05 19:35 (UTC)

To answer myself. This has already been reported upstream here: https://github.com/Kaggle/kaggle-api/issues/192 However there is no PR.

oysteijo commented on 2019-07-05 18:02 (UTC)

I build and install this, but it fails for me when I try to use it:

Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 583, in _build_master ws.require(requires) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (urllib3 1.25.3 (/usr/lib/python3.7/site-packages), Requirement.parse('urllib3<1.25,>=1.21.1'), {'kaggle'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/bin/kaggle", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 3241, in <module> @_call_aside File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 3225, in _call_aside f(args, *kwargs) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 3254, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 585, in _build_master return cls._build_from_requirements(requires) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 598, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.7/site-packages/pkg_resources/init.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'urllib3<1.25,>=1.21.1' distribution was not found and is required by kaggle

asermax commented on 2019-05-27 22:19 (UTC)

@hottea thanks for the heads up and sorry for the delay