File: Pin-number-version-in-documentation.patch

package info (click to toggle)
python-marshmallow-sqlalchemy 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 364 kB
  • sloc: python: 1,921; makefile: 13; sh: 8
file content (21 lines) | stat: -rw-r--r-- 605 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Emmanuel Arias <eamanu@debian.org>
Date: Sun, 4 Feb 2024 17:47:15 -0300
Subject: Pin number version in documentation

Currently the docs/conf.py use importlib.metadata.version() to get the
version. This patch point the version fixed.
---
 docs/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -28,7 +28,7 @@
 project = "marshmallow-sqlalchemy"
 copyright = "Steven Loria and contributors"  # noqa: A001
 
-version = release = importlib.metadata.version("marshmallow-sqlalchemy")
+version = release = u'1.0.0'
 
 exclude_patterns = ["_build"]