Skip to content

v0.2.0

Choose a tag to compare

@jezdez jezdez released this 16 Apr 00:20
94f17cb

Added

  • Configuration module (config.py) with environment variable overrides for all operational settings: CONDA_PRESTO_CHANNELS, CONDA_PRESTO_PLATFORMS, CONDA_PRESTO_CONCURRENCY, CONDA_PRESTO_WORKERS, CONDA_PRESTO_MAX_BODY_BYTES, CONDA_PRESTO_HOST, CONDA_PRESTO_PORT, CONDA_PRESTO_GLIBC_VERSION, CONDA_PRESTO_LINUX_VERSION, CONDA_PRESTO_OSX_VERSION.
  • Support for .toml and .json file extensions in the HTTP API file upload endpoint.
  • Dynamic OpenAPI schema version derived from package metadata via importlib.metadata.

Changed

  • Default fallback channel changed from defaults to conda-forge in both CLI and HTTP API, configurable via CONDA_PRESTO_CHANNELS.
  • Unified HTTP API to single /resolve endpoint supporting both GET (query params) and POST (JSON body). Removed old /solve, /solve/environment-yml, and /cache/clear endpoints.
  • Request body uses specs field instead of dependencies, and file/filename fields for environment file content instead of raw YAML body.
  • POST body fields override query params when both are present.
  • Virtual package versions for cross-platform solving are now configurable via environment variables instead of hardcoded.
  • Process pool size and server host/port defaults are now configurable via environment variables.
  • Updated test suite to match the new /resolve API.