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

Replace incomplete environment definition file #123

Closed cfirth-nasa closed 5 months ago

cfirth-nasa commented 6 months ago

The current environment definition, requirements_pip.txt, seems incomplete. At the very least, it should include a Python version. I'd also suggest we should swap to a yaml file rather than a text file, as conda recommends. Something along the following lines, aligned with the current requirements. I'll put together a branch for this.

EDIT: This is marked as a bug since the current file caused some errors for a user when creating the conda environment.

name: onair
channels:
  - default
  - conda-forge

dependencies:
  - python==3.11.*
  - numpy==1.23.4
  - coverage==6.5.0
  - pytest==7.2.0
  - pytest-mock==3.10.0
  - pytest-randomly==3.12.0
  - redis==4.6.0
cfirth-nasa commented 6 months ago

Update is on the branch using the new file - I'm not sure how the CI/CD generates requirements but it fails now because the packages aren't being installed. Can someone else with conda try this version? @dcrnasa @Evana13G