nasa / OnAIR

The On-board Artificial Intelligence Research (OnAIR) Platform is a framework that enables AI algorithms written in Python to interact with NASA's cFS. It is intended to explore research concepts in autonomous operations in a simulated environment.
58 stars 14 forks source link

Provide some backwards compatibility with previous Python versions #126

Closed asgibson closed 5 months ago

asgibson commented 6 months ago

Provide for some backward compatibility for earlier python versions. Some syntax and versions set in dependency files do not necessarily allow for any Python version prior to 3.11. By updating the Actions to test for previous versions of Python it will help find where compatibility is lacking. The pipeline should also also allow us to determine how far back it is feasible to provide compatibility.

asgibson commented 6 months ago

CI results show that unit tests will run from 3.8, but 3.7 has many issues: https://github.com/nasa/OnAIR/actions/runs/8299909948/job/22716684488#step:5:107

asgibson commented 6 months ago

CI runs unit test under Python 3.8 thru 3.12

asgibson commented 6 months ago

If any compatibility beyond Python 3.8 is desired, then it will require an in-depth look into the specific problems related to the unit test run under 3.7.