rethinkpriorities / squigglepy

Squiggle programming language for intuitive probabilistic estimation features in Python
MIT License
65 stars 8 forks source link

Be more restrictive with Python version support + test Python support #30

Closed peterhurford closed 1 year ago

peterhurford commented 1 year ago

Currently aiming to support python 3.7 or higher

I would at least go to python 3.8; and ideally 3.9 or 3.10

Also we should have a testing framework to check this

agucova commented 1 year ago

You could add pytest to a GitHub Actions workflow, and have a matrix that runs the tests on each supported version. See here.

peterhurford commented 1 year ago

Per https://twitter.com/peterwildeford/status/1667673664601432068 I think we can safely go with 3.9 as the minimum version

peterhurford commented 1 year ago

In progress https://github.com/rethinkpriorities/squigglepy/pull/32