Skip to content

Conversation

@baszalmstra
Copy link
Collaborator

@baszalmstra baszalmstra commented Oct 23, 2025

The big changes are:

  • Additions of variants to the lock file:
python_min: '3.9'
target_platform: noarch
  • Making version optional (currently filled in for non-mutable source like git and unfilled for path etc.) This will help with dynamic versioning in the future
  • Adding support for relative file-url's locked for pyproject.toml and PyPI. PR's are already:
  • dev which marks packages as only install its host, build, run and not build these themselves.

@baszalmstra baszalmstra changed the title rattler-lock v7 feat(lock): add variants and remove version and build for source packages Oct 23, 2025
/// Variants recorded in the lock file to disambiguate source packages.
#[serde(default)]
pub(crate) variants: BTreeMap<String, crate::VariantValue>,
/// Whether this is a dev package (only for source packages).
Copy link
Collaborator

Choose a reason for hiding this comment

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

Guess this can use a bit better comment

@tdejager tdejager changed the title feat(lock): add variants and remove version and build for source packages feat(lock): upgrade lock file to v7 Oct 27, 2025
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