diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3943fd8..d11862e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,11 +5,14 @@ version: 2 build: os: "ubuntu-20.04" tools: - python: "3.9" + python: "3.12" sphinx: configuration: docs/conf.py - + python: install: - - requirements: docs/requirements.txt + - method: pip + path: . + extra_requirements: + - docs diff --git a/CHANGELOG.md b/CHANGELOG.md index 260a330..23ec981 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 0.3.1 + +Update readthedocs config for current installation + ## 0.3 - Updated to use numpy `datetime64` to support a greater range of years beyond the 4-digit years supported by python's builtin `datetime.date` diff --git a/docs/conf.py b/docs/conf.py index 710d933..a55e3ae 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,6 +14,7 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) +import undate # -- Project information ----------------------------------------------------- @@ -22,7 +23,7 @@ author = "DHtech Community" # The full version, including alpha/beta/rc tags -release = "0.0.1.dev" +release = undate.__version__ master_doc = "index" diff --git a/src/undate/__init__.py b/src/undate/__init__.py index 2593563..c8d79a0 100644 --- a/src/undate/__init__.py +++ b/src/undate/__init__.py @@ -1,6 +1,6 @@ -__version__ = "0.3.0" +__version__ = "0.3.1" from undate.date import DatePrecision from undate.undate import Undate, UndateInterval -__all__ = ["Undate", "UndateInterval", "DatePrecision"] +__all__ = ["Undate", "UndateInterval", "DatePrecision", "__version__"]