Skip to content

Cache key conflict in CI between emscripten and another job #2896

@SV-97

Description

@SV-97

Bug Description

I'm currently trying to set up CI for a project.
The project is structured as a cargo workspace with one native rust crate and one mixed python/rust project.
The mixed project is managed via uv (0.9.7) and maturin (1.9.3).

I generated a CI file using maturin generate-ci github --manifest-path palb_py/Cargo.toml --platform all and when running this as a github action I get the following error:

Error: Unable to reserve cache with key 3.1.46-linux-x64-master, another job may be creating this cache.

So there seems to be some issue around non-unique keys between the different jobs?

Here is the specific job that failed: https://github.com/SV-97/piecewise-affine-lower-bounding/actions/runs/20392397068/job/58603484057

Your maturin version (maturin --version)

1.9.3

Your Python version (python -V)

Python 3.12.11

Your pip version (pip -V)

pip 24.3.1

What bindings you're using

pyo3

Does cargo build work?

  • Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • Yes

Steps to Reproduce

  1. Fork https://github.com/SV-97/piecewise-affine-lower-bounding/tree/ae334e7c9b1679582ab8af9f13290d1fb534526e
  2. Try to run the GitHub Action
  3. The emscripten job fails (also macos 13 since the runners have been retired; I'll open a separate issue for this)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions