Skip to content

Conversation

@annie444
Copy link
Collaborator

This pull request introduces a new version (v1.1.0) of the Kete project, reflecting significant updates to its functionality, dependencies, and project structure. Key changes include transitioning the project to a personal fork, enhancing SPICE kernel handling, updating dependencies, simplifying cache management, and adding new Rust functions to the core module.

Project Transition and Metadata Updates:

  • CHANGELOG.md: Added announcement about the project transition to a personal fork by Dar Dahlen, along with details about future development.
  • Cargo.toml and pyproject.toml: Updated version to 1.1.0 and changed repository URLs to reflect the new fork location. [1] [2]

SPICE Kernel Handling Enhancements:

  • src/kete/horizons.py: Added a cache_dir parameter to fetch_spice_kernel to organize SPICE kernel caching more effectively. [1] [2] [3]
  • CHANGELOG.md: Documented the removal of SPICE kernels from the repository and their automatic download on first use.

Dependency Updates:

  • Cargo.toml: Updated pyo3 dependency from ^0.23.4 to ^0.24.1.
  • pyproject.toml: Adjusted dependency formatting and maintained compatibility with Python 3.9+. [1] [2]

Cache Management Simplification:

  • src/kete/cache.py: Removed redundant cache-related functions (cache_path, cache_ls, get_cache_size) and integrated cache_path from the Rust core module.

Rust Core Module Enhancements:

  • src/kete/rust/lib.rs: Added new Rust functions for SPICE kernel and cache management (spk_load_cache_py, spk_load_core_py, pck_loaded_objects_py, and cache_path). [1] [2]

Copy link
Collaborator

@joemasiero joemasiero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@joemasiero joemasiero merged commit 492abab into Caltech-IPAC:main Jul 29, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants