From b3bda6695287b420b48a2ef155d981e50316b30b Mon Sep 17 00:00:00 2001 From: Paul Ray Date: Thu, 24 Aug 2023 17:45:20 -0400 Subject: [PATCH 1/3] Update CHANGELOG for 0.9.7 --- CHANGELOG-unreleased.md | 15 --------------- CHANGELOG.md | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/CHANGELOG-unreleased.md b/CHANGELOG-unreleased.md index bcbe77b66..2899b99f8 100644 --- a/CHANGELOG-unreleased.md +++ b/CHANGELOG-unreleased.md @@ -9,21 +9,6 @@ the released changes. ## Unreleased ### Changed -- Third-order Roemer delay terms to ELL1 model -- Made the addition of a TZR TOA (`AbsPhase`) in the `TimingModel` explicit in `Residuals` class. -- Updated `CONTRIBUTING.rst` with the latest information. -- Made `TimingModel.params` and `TimingModel.ordered_params` identical. Deprecated `TimingModel.ordered_params`. ### Added -- Third-order Roemer delay terms to ELL1 model -- Options to add a TZR TOA (`AbsPhase`) during the creation of a `TimingModel` using `ModelBuilder.__call__`, `get_model`, and `get_model_and_toas` -- `pint.print_info()` function for bug reporting -- Added an autocorrelation function to check for chain convergence in `event_optimize` -- A hacky implementation of system-dependent FD parameters (FDJUMP) -- Minor doc updates to explain default NHARMS and missing derivative functions ### Fixed -- Deleting JUMP1 from flag tables will not prevent fitting -- Simulating TOAs from tim file when PLANET_SHAPIRO is true now works -- Docstrings for `get_toas()` and `get_model_and_toas()` -- Set `DelayComponent_list` and `NoiseComponent_list` to empty list if such components are absent -- Fix invalid access of `PLANET_SHAPIRO` in models without `Astrometry` ### Removed diff --git a/CHANGELOG.md b/CHANGELOG.md index 57f52f546..80b59fade 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,28 @@ and this project, at least loosely, adheres to [Semantic Versioning](https://sem This file contains the released changes to the codebase. See CHANGELOG-unreleased.md for the unreleased changes. This file should only be changed while tagging a new version. +## [0.9.7] 2023-08-24 +### Changed +- Third-order Roemer delay terms to ELL1 model +- Made the addition of a TZR TOA (`AbsPhase`) in the `TimingModel` explicit in `Residuals` class. +- Updated `CONTRIBUTING.rst` with the latest information. +- Made `TimingModel.params` and `TimingModel.ordered_params` identical. Deprecated `TimingModel.ordered_params`. +### Added +- Third-order Roemer delay terms to ELL1 model +- Options to add a TZR TOA (`AbsPhase`) during the creation of a `TimingModel` using `ModelBuilder.__call__`, `get_model`, and `get_model_and_toas` +- `pint.print_info()` function for bug reporting +- Added an autocorrelation function to check for chain convergence in `event_optimize` +- A hacky implementation of system-dependent FD parameters (FDJUMP) +- Minor doc updates to explain default NHARMS and missing derivative functions +### Fixed +- Deleting JUMP1 from flag tables will not prevent fitting +- Simulating TOAs from tim file when PLANET_SHAPIRO is true now works +- Docstrings for `get_toas()` and `get_model_and_toas()` +- Set `DelayComponent_list` and `NoiseComponent_list` to empty list if such components are absent +- Fix invalid access of `PLANET_SHAPIRO` in models without `Astrometry` +### Removed + + ## [0.9.6] 2023-06-22 ### Changed - Applied `sourcery` refactors to the entire codebase From cbe4c73e8ea3863aaec32357e77b26de8d177bec Mon Sep 17 00:00:00 2001 From: David Kaplan Date: Fri, 25 Aug 2023 15:00:58 -0500 Subject: [PATCH 2/3] fix sphinx --- CHANGELOG-unreleased.md | 1 + docs/conf.py | 2 ++ requirements_dev.txt | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG-unreleased.md b/CHANGELOG-unreleased.md index 2899b99f8..d7206cbe3 100644 --- a/CHANGELOG-unreleased.md +++ b/CHANGELOG-unreleased.md @@ -11,4 +11,5 @@ the released changes. ### Changed ### Added ### Fixed +- Fixed RTD by specifying theme explicitly. ### Removed diff --git a/docs/conf.py b/docs/conf.py index 56c379396..b7e102718 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -184,6 +184,8 @@ def setup(app): on_rtd = os.environ.get("READTHEDOCS", None) == "True" if not on_rtd: # only import and set the theme if we're building docs locally html_theme = "sphinx_rtd_theme" +# it seems that we need to specify it anyway +html_theme = "sphinx_rtd_theme" # Theme options are theme-specific and customize the look and feel of a # theme further. For a list of options available for each theme, see the diff --git a/requirements_dev.txt b/requirements_dev.txt index 54cdeeab1..a00511840 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -3,10 +3,10 @@ pip>=9.0.1 setuptools>=41.0 coverage>=4.3.4 traitlets -Sphinx>=2.2,!=5.1.0 +Sphinx==6.2.1 astropy>=4.0,!=4.0.1,!=4.0.1.post1 #astropy-helpers>=1.3 -sphinx-rtd-theme>=1.1.1 +sphinx-rtd-theme==1.2.2 coveralls>=1.1 wheel>=0.29.0 pytest>=4.3 From dd2b04bd200fb57805d87142adc0721de4a21f9e Mon Sep 17 00:00:00 2001 From: David Kaplan Date: Fri, 25 Aug 2023 15:08:58 -0500 Subject: [PATCH 3/3] simplify --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index b7e102718..6a0476968 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -182,8 +182,8 @@ def setup(app): # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. on_rtd = os.environ.get("READTHEDOCS", None) == "True" -if not on_rtd: # only import and set the theme if we're building docs locally - html_theme = "sphinx_rtd_theme" +# if not on_rtd: # only import and set the theme if we're building docs locally +# html_theme = "sphinx_rtd_theme" # it seems that we need to specify it anyway html_theme = "sphinx_rtd_theme"