datadouble-docker 0.0.4__tar.gz → 0.0.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: datadouble-docker
3
- Version: 0.0.4
3
+ Version: 0.0.6
4
4
  Summary: Docker replicate adapter for Datadouble
5
5
  Project-URL: Homepage, https://datadouble.tightlinesoftware.com/
6
6
  Project-URL: Source, https://github.com/datadouble/datadouble
@@ -3,9 +3,8 @@
3
3
 
4
4
  [project]
5
5
  name = "datadouble-docker"
6
- # All packages share one version until 1.0 (decision 38); scripts/make_tag.py
7
- # sets it at release time.
8
- version = "0.0.4"
6
+ # Every package takes its version from the release tag (decision 165).
7
+ dynamic = ["version"]
9
8
  description = "Docker replicate adapter for Datadouble"
10
9
  readme = "README.md"
11
10
  license = "MIT"
@@ -34,8 +33,21 @@ docker-volume = "datadouble_docker:docker_replicator"
34
33
  docker = "datadouble_docker.runtime:docker_runtime"
35
34
 
36
35
  [build-system]
37
- requires = ["hatchling>=1.33.0"]
36
+ requires = ["hatchling>=1.33.0", "hatch-vcs>=0.5.0"]
38
37
  build-backend = "hatchling.build"
39
38
 
39
+ # The version comes from `git describe`: the tag's on a tagged commit, and a
40
+ # development version such as 0.0.5.dev3+gabc1234 anywhere else. A build with
41
+ # no Git history (a Docker build) gets 0.0.0.dev0 unless the build sets
42
+ # SETUPTOOLS_SCM_PRETEND_VERSION.
43
+ [tool.hatch.version]
44
+ source = "vcs"
45
+ fallback-version = "0.0.0.dev0"
46
+ raw-options = { search_parent_directories = true }
47
+
48
+ # Reinstall when the commit or tags change, so the installed version follows.
49
+ [tool.uv]
50
+ cache-keys = [{ file = "pyproject.toml" }, { git = { commit = true, tags = true } }]
51
+
40
52
  [tool.hatch.build.targets.wheel]
41
53
  packages = ["src/datadouble_docker"]
@@ -29,7 +29,7 @@ from datadouble.images import ImageIdentity, ImageSummary, Verification
29
29
  from datadouble.names import EngineName, Generation, GroupName, SpecName
30
30
  from datadouble.replicate import ClaimState, Copy, CopyKind, CopyState, ReplicateError, StagedImage
31
31
  from datadouble.runtime import identity
32
- from datadouble.spec import ReplicateMode, Strict
32
+ from datadouble.spec import Locale, ReplicateMode, Strict
33
33
  from datadouble_conformance.engine import runtime_for_tests
34
34
  from datadouble_docker import DockerReplicator, DockerSettings, docker_binary
35
35
  from datadouble_postgres import PostgresEngine
@@ -262,7 +262,7 @@ def summary() -> ImageSummary:
262
262
  built_at=dt.datetime(2026, 11, 1, tzinfo=dt.UTC),
263
263
  archives=(),
264
264
  manifest_sha256="0" * 64,
265
- verification=Verification(passed=True, checks=1, failed=0),
265
+ verification=Verification(passed=True, locales=(Locale.US,), checks=1, failed=0),
266
266
  strict=Strict(),
267
267
  )
268
268