tcgoetz / GarminDB

Download and parse data from Garmin Connect or a Garmin watch, FitBit CSV, and MS Health CSV files into and analyze data in Sqlite serverless databases with Jupyter notebooks.
GNU General Public License v2.0
1.1k stars 138 forks source link

Are dependency versions hard requirements, or the version that tests are done with? #235

Closed Grimler91 closed 2 months ago

Grimler91 commented 2 months ago

Is your feature request related to a problem? Please describe. requirements.txt at the moment contains

SQLAlchemy==2.0.27
python-dateutil==2.8.2
cached-property==1.5.2
tqdm==4.66.2
garth>=0.4.44
fitfile>=1.1.7
tcxfile>=1.0.4
idbutils>=1.1.0

Are there features in SQLAlchemy 2.0.27 that are required, or could perhaps SQLAlchemy 1.4.X, or >= 2.0.0, work as well?

Basically I am wondering if versions are connected to features/big fixes or whether versions are set to match what you have on your system, and hence test with?

In particular SQLAlchemy > 2.0.0 seems to not have made it into many distros yet, looking at repology only a handful has it, so if 2.0.27 is a hard requirement then it is difficult to install GarminDB in most distros (but of course possible with pip and virtual python environments).

Describe the solution you'd like

Describe alternatives you've considered

Additional context

tcgoetz commented 2 months ago

Definitely the version that was tested. In some cases their are feature requirements.

tcgoetz commented 2 months ago

Teh recommended install is with pip in a virtual environment.

Grimler91 commented 2 months ago

Thanks, that clears it up!