Skip to content

Commit c3c0bf8

Browse files
committed
Fix version in stable docs
1 parent ed94877 commit c3c0bf8

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ build:
44
os: ubuntu-20.04
55
tools:
66
python: "3.11"
7+
jobs:
8+
post_checkout:
9+
- git fetch --unshallow || true
710

811
sphinx:
912
configuration: docs/conf.py

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
copyright = "2024, Zarr Developers"
7373
author = "Zarr Developers"
7474

75-
version = get_version("zarr")
7675
release = get_version("zarr")
76+
version = get_version("zarr")
7777

7878
# The language for content autogenerated by Sphinx. Refer to documentation
7979
# for a list of supported languages.

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=64.0.0", "setuptools-scm>1.5.4"]
2+
requires = ["setuptools>=64", "setuptools-scm>8"]
33
build-backend = "setuptools.build_meta"
44

55

@@ -67,9 +67,8 @@ packages = ["zarr", "zarr._storage", "zarr.tests"]
6767
license-files = ["LICENSE.txt"]
6868

6969
[tool.setuptools_scm]
70-
version_scheme = "guess-next-dev"
7170
local_scheme = "dirty-tag"
72-
write_to = "zarr/version.py"
71+
version_file = "zarr/version.py"
7372

7473
[tool.ruff]
7574
line-length = 100

0 commit comments

Comments
 (0)