1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-05 20:11:08 +08:00

fix(backtest): avoid calendar overflow when end_time is missing (#2127)

* fix(backtest): avoid calendar overflow when end_time is missing

* fix: pkg_source not found error when build docs
This commit is contained in:
Linlang
2026-02-12 21:07:15 +08:00
committed by GitHub
parent 8fd6d5ca7e
commit 2fb9380b34
2 changed files with 10 additions and 4 deletions

View File

@@ -21,7 +21,7 @@
import os
import sys
import pkg_resources
from importlib.metadata import version as ver
# -- General configuration ------------------------------------------------
@@ -63,9 +63,9 @@ author = "Microsoft"
# built documents.
#
# The short X.Y version.
version = pkg_resources.get_distribution("pyqlib").version
version = ver("pyqlib")
# The full version, including alpha/beta/rc tags.
release = pkg_resources.get_distribution("pyqlib").version
release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.