Releases: mit-ll/spacegym-kspdg
Releases · mit-ll/spacegym-kspdg
v0.11.1
v0.11.0
Restructure to simplify end-user setup and execution
Added
- Explicit
pyyaml
dependency (I think this used to be a sub-dependency of astropy) - In-package
src/kspdg/scripts/
directory for holding command-line entry-point scripts (e.g. julia install, unit tests) so that full download/clone of kspdg is not needed for julia install and unit testing MANIFEST.in
to include tests in source distributions- Julia dependency entry point. Run with
kspdg-install-julia-deps
- KSP files copy script entry point. This creates the GameData/KSPDG directory for easier management of evaluation configs and results and copies the KSPDG mission files into the KSP installation. Run with
kspdg-install-ksp-files
- Serverless and in-game unit test entry points. Run with
kspdg-run-serverless-tests
kspdg-run-lbg1-i2-tests
kspdg-run-pe1-i3-tests
kspdg-run-sb1-i5-tests
- evaluate.py command-line entry point. Run with
kspdg-evaluate path/to/cfg.yml optional/path/to/results/
Changed
- Moving
tests/
,ksp_files/
, andevaluation/
directories intosrc/kspdg/
so that they are considered package-data that is accessible at runtime by end users. This enables no-clone unit testing and ksp-file installation. For justification for avoiding use of non-package data, see: https://setuptools.pypa.io/en/latest/userguide/datafiles.html#non-package-data-files - Moving
install_julia_deps.py
into kspdg package and adding it as a command-line entry point within pyproject.toml to simplify install process - Updated readme with no-clone install instructions and added recommended graphics settings
Removed
- Unused
astropy
dependency and related instructions in readme environment.yml
and developer instructions in readme as they are not needed by, and may confuse, end-users and are easy to reprodocue for developers. For example, developers can use the following process:
# create conda development environment
conda create --name kspdg_dev python=3.12 ipython
conda activate kspdg_dev
# clone kspdg repo and install as editable
git clone [email protected]:mit-ll/spacegym-kspdg.git
cd spacegym-kspdg
pip install -e .[full]
# copy necessary game files to KSP install
kspdg-install-ksp-files
# instal juliaup and julia dependencies
curl -fsSL https://install.julialang.org | sh
kspdg-install-julia-deps
Full Changelog: v0.10.0...v0.11.0
v0.10.0
Non-Coop Space Ops Challenge @ SciTech 2025 - Semi-Finals Codebase
Added
- LBG1_LG4 private-source environments and unit-tests
Fixed
- Very basic check of bot_thread status to see if an error occurs; if so, an error is thrown in the MainThread (e.g. Group1BaseEnv) so that environment execution does not continue with the bot error unnoticed
- Slight change in test timings to make test_lbg1_i2 results more reliable
Full Changelog: v0.9.2...v0.10.0
v0.9.2
Fixed
- Private-source julia files included as setuptools package-data so that they are present when pip installing kspdg
- test_jl_solvers.py imports julia files from kspdg install point, not from relative path from test script, to ensure files are present at install point
Full Changelog: v0.9.1...v0.9.2
v0.9.1
v0.9.0
Added
- Platform (e.g. Windows, Mac, Linux) and architecture (e.g. x86_64, arm64) specific private source environments and evaluate.py
- New
utils/private_src_utils.py
module that provides helper functions for managing obfuscated code imports
Fixed
- Conditional statements for importing LBG1_LG3 environments so that the lighter-weight install of kspdg without
juliacall
dependency does not error on import - Handling of SSL_CERT_FILE in
install_julia_deps.py
Changed
- Updating environment READMEs for accuracy
- Updating top-level README to simplify installation process
Removed
- Removed unused astropy imports in
utils.py
Full Changelog: v0.8.1...v0.9.0
v0.9.0-beta
Added
- Platform (e.g. Windows, Mac, Linux) and architecture (e.g. x86_64, arm64) specific private source environments and evaluate.py
- New
utils/private_src_utils.py
module that provides helper functions for managing obfuscated code imports
Fixed
- Conditional statements for importing LBG1_LG3 environments so that the lighter-weight install of kspdg without
juliacall
dependency does not error on import
Changed
- Updating environment READMEs for accuracy
- Updating top-level README to simplify installation process
Removed
- Removed unused astropy imports in
utils.py
Full Changelog: v0.9.0-alpha...v0.9.0-beta
v0.9.0-alpha
Added
- Platform (e.g. Windows, Mac, Linux) and architecture (e.g. x86_64, arm64) specific private source environments and evaluate.py
Changed
- Updating environment READMEs for accuracy
- Updating top-level README to simplify installation process
Full Changelog: v0.8.1...v0.9.0-alpha
v0.8.1
Adding .so
files as package data for proper function of private_src
Full Changelog: v0.8.0...v0.8.1
v0.8.1-alpha
trying to fix .so handling