Skip to content

dirty non-editable install with node-and-timestamp leads to timestamp mismatch #1099

@pmeier

Description

@pmeier

Reproduction

  1. git clone https://github.com/Quansight/ragna
  2. cd ragna
  3. git checkout dca421b40ebd6876b2d71b624ab9689bd113139a
  4. conda env create -f environment-dev.yml -n stscm-debug
  5. conda activate stscm-debug
  6. echo 'random change' >> README.md
  7. pip install .
[...]
  WARNING: Built wheel for Ragna is invalid: Wheel has unexpected file name: expected '0.4.0.dev11+gdca421b.d20250116103122', got '0.4.0.dev11+gdca421b.d20250116103209'
Failed to build Ragna
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (Ragna)

The reason we are checking out a specific commit above, is that we "fixed" the issue for us on later commits. Seeing that the difference is only in the timestamp part we just switched from the node-and-timestamp local scheme to node-and-date.

Apologies for the non-minimal reproduction. Since we have a good enough workaround for us, I don't have time to compile this down into something smaller. Just reported in case this of interest for someone else. Feel free to close.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions