Incompatible dimension universe versions - database universe (r30+)

Hi,

Recently I developed a pipeline to work with modified injected stamps. The pipeline works correctly with releases prior to r30 (e.g. r29).

The problem appears when I try to create a local repository. During the transfer process, when the pipeline reaches the step:

> Registering DatasetType ‘skyMap’ in local repo before transfer.

I get the following error:

ValueError: Incompatible dimension universe versions - database universe: DimensionUniverse(8, daf_butler), dataset type universe: DimensionUniverse(7, daf_butler).

To check whether this was an issue with my code, I ran exactly the same notebook using the latest r29 release, and everything worked as expected. This makes me think that the problem is related to changes introduced in r30, possibly involving the Butler dimension universe or dataset type compatibility.

Has anyone encountered this issue before, or is there any migration step required when creating a local repository with r30+? Any suggestions would be greatly appreciated.

Thank you!

If you are creating the local repository using v30 from a DP1 butler this should work since I fixed a bug for exactly that issue in v30.0.10 (there was a DP1 tutorial notebook doing this). Can you give me more explicit instructions on how to reproduce?