Package Details: python-garth 0.8.0-1

Git Clone URL: https://aur.archlinux.org/python-garth.git (read-only, click to copy)
Package Base: python-garth
Description: Python module for Garmin SSO auth + Connect client
Upstream URL: https://github.com/matin/garth
Licenses: MIT
Submitter: kTT
Maintainer: grisu
Last Packager: grisu
Votes: 2
Popularity: 0.000411
First Submitted: 2023-09-29 08:36 (UTC)
Last Updated: 2026-03-28 05:49 (UTC)

Latest Comments

skiwi commented on 2026-03-24 09:58 (UTC)

It seems a further dependency to python-pydantic-settings is missing. Otherwise you get

>>> import garth Traceback (most recent call last): File "<python-input-2>", line 1, in <module> import garth File "/usr/lib/python3.14/site-packages/garth/__init__.py", line 1, in <module> from .data import ( ...<13 lines>... ) File "/usr/lib/python3.14/site-packages/garth/data/__init__.py", line 20, in <module> from .activity import Activity File "/usr/lib/python3.14/site-packages/garth/data/activity.py", line 9, in <module> from .. import http File "/usr/lib/python3.14/site-packages/garth/http.py", line 9, in <module> from pydantic_settings import BaseSettings, SettingsConfigDict ModuleNotFoundError: No module named 'pydantic_settings'

grimler commented on 2024-06-29 10:02 (UTC)

To build successfully python-pdm-backend needs to be added to makedepends.

It would also be nice to add a version suffix to the downloaded archive, to simplify when updating the package.

I applied to following diff to upgrade to 0.4.46 and fix the points above:

diff --git a/PKGBUILD b/PKGBUILD
index b2a56590baef..f9d589668408 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@

 pkgname=python-garth
 _name=${pkgname#python-}
-pkgver=0.4.45
-pkgrel=2
+pkgver=0.4.46
+pkgrel=0
 pkgdesc="Python module for Garmin SSO auth + Connect client"
 arch=(any)
 url="https://github.com/matin/garth"
@@ -19,11 +19,12 @@ makedepends=(
   python-installer
   python-setuptools
   python-wheel
+  python-pdm-backend
 )
 checkdepends=(python-oauthlib)

-source=("${pkgname}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('00e5fbfcada78cabcb1a531a230996eae02f6994626e4171f1cbd2c4234f1a82')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('51eedc6e7a54e60b4d8203b0382fa333d51c205d49939bc84b40c3514c9b3495')

 _archive="${_name}-${pkgver}"


grisu commented on 2024-04-22 07:05 (UTC)

Thanks for adding python-pydantic as a dependency, but it is required during runtime, so it is not a make dependency.

grisu commented on 2024-04-03 08:57 (UTC)

I assume a dependency to python-pydantic is missing.

joe102 commented on 2023-12-27 11:15 (UTC)

please update to 0.4.42 Thanks

joe102 commented on 2023-12-27 11:14 (UTC)

pkgver=0.4.42