owid / etl

A compute graph for loading and transforming OWID's data
https://docs.owid.io/projects/etl
MIT License
85 stars 23 forks source link

:honeybee: Bump python version #3593

Open Marigold opened 6 hours ago

Marigold commented 6 hours ago

Partly fixes https://github.com/owid/etl/issues/3542.

Increase range of python versions from >=3.9,<3.12 to >=3.9,<3.13 (include 3.12). I've tried 3.13 too, but torch didn't have a distribution for 3.13, yet (the problem could be pinning torch to 2.2.2).

I've also discovered bug that was causing all unit tests run against 3.10 🤦 (thank you Makefile!). Luckily, only owid-catalog with 3.9 was affected.

The simplest way to upgrade your python version is to run PYTHON_VERSION=3.12 make .venv.

TODO

TODO after merging

owidbot commented 6 hours ago
Quick links (staging server): Site Dev Site Preview Admin Wizard Docs

Login: ssh owid@staging-site-update-python

chart-diff: ✅ No charts for review.
data-diff: ✅ No differences found ```diff Legend: +New ~Modified -Removed =Identical Details Hint: Run this locally with etl diff REMOTE data/ --include yourdataset --verbose --snippet ``` Automatically updated datasets matching _weekly_wildfires|excess_mortality|covid|fluid|flunet|country_profile|garden/ihme_gbd/2019/gbd_risk_ are not included

Edited: 2024-11-22 10:32:06 UTC Execution time: 14.90 seconds