Skip to content

Conversation

@bkeryan
Copy link
Collaborator

@bkeryan bkeryan commented Jun 23, 2025

What does this Pull Request accomplish?

Cherry-pick the following PRs:

Original PR descriptions:

docs: Upgrade Sphinx and change copyright year to "2022-%Y"

What does this Pull Request accomplish?

Upgrade to the latest Sphinx, which requires Python 3.11 or later.

Change copyright year to "2022-2025" to reflect the first year when this package and its documentation were published.

Use %Y placeholder to specify the year.

Note

The package name was ni-measurement-service in 2022, then it was renamed to ni-measurementlink-service in 2023, and renamed again to ni-measurement-plugin-sdk-service in 2024.

Reformat pyproject.toml because I have my editor configured to reformat now.

Why should this Pull Request be merged?

While setting up Sphinx for another project, I noticed that the Python 3.9 version constraint requires using a Sphinx version from 2023 and the %Y placeholder was not supported with that older version.

What testing has been done?

Ran poetry run sphinx-build _docs_source docs -b html -W --keep-going and inspected the output locally.
It printed some warnings about ReadTheDocs's SSL certificates, so I'll check whether the PR build has the same warnings.

WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://nidcpower.readthedocs.io/en/stable/objects.inv' not fetchable due to <class 'requests.exceptions.SSLError'>: HTTPSConnectionPool(host='nidcpower.readthedocs.io', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))

docs: Remove Sphinx --keep-going option

What does this Pull Request accomplish?

Remove --keep-going from the Sphinx command line

Why should this Pull Request be merged?

--keep-going is always enabled in Sphinx 8.1+: https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-keep-going

What testing has been done?

PR build

docs: Remove tomlkit dependency

What does this Pull Request accomplish?

Remove dependency on tomlkit.

Why should this Pull Request be merged?

I don't think we're using it. _docs_source/conf.py is using toml which is a separate package.

What testing has been done?

PR build.

@bkeryan bkeryan changed the title [releases/2.3] docs: Upgrade Sphinx and change copyright year to "2022-%Y" [releases/2.3] docs: Cherry-pick various doc updates Jun 23, 2025
bkeryan added 3 commits June 24, 2025 18:36
* service: Reformat pyproject.toml

* service: Upgrade to latest Sphinx

* service: Update poetry.lock

* service: Update copyright to reflect year first published

* service: Add a comment about Sphinx version

* docs: Add gRPC and protobuf hyperlinks

* service: Update poetry.lock

(cherry picked from commit 64174c6)
* docs: Remove tomlkit dependency

* service: Update poetry.lock

(cherry picked from commit 15b1bb8)
@bkeryan bkeryan force-pushed the users/bkeryan/sphinx-2.3.1 branch from 11d74fa to 8c8a30e Compare June 24, 2025 23:37
@bkeryan bkeryan enabled auto-merge (squash) June 24, 2025 23:38
@github-actions
Copy link
Contributor

Test Results

    52 files  ±0      52 suites  ±0   1h 21m 41s ⏱️ + 4m 27s
   709 tests ±0     709 ✅ ±0      0 💤 ±0  0 ❌ ±0 
21 420 runs  ±0  20 344 ✅ ±0  1 076 💤 ±0  0 ❌ ±0 

Results for commit 8c8a30e. ± Comparison against base commit b3e450c.

@bkeryan bkeryan merged commit 2aeb5e1 into releases/2.3 Jun 25, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants