pittcsc / PittAPI

An API to easily get data from the University of Pittsburgh
https://pittapi.pittcsc.org
GNU General Public License v2.0
108 stars 33 forks source link

Update Python version support #178

Closed tianyizheng02 closed 3 months ago

tianyizheng02 commented 3 months ago

Add older versions of Python to GitHub Actions workflows to determine actual supported versions (see this comment)

tianyizheng02 commented 3 months ago

As shown above, PittAPI is currently compatible with Python >= 3.9

tianyizheng02 commented 3 months ago

Tests for Python 3.9 are now failing because my other PR #176 introduced the pipe operator for type hints (A | B rather than Union[A, B]) and this breaks support for 3.9. I'm going to add from __future__ import annotations to see if this helps us maintain compatibility with 3.9.