Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-41179: Update to technote 0.3.0a7 #190

Merged
merged 3 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions changelog.d/20231012_194757_jsick_DM_41179.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!-- Delete the sections that don't apply -->

### Backwards-incompatible changes

-

### New features

-

### Bug fixes

- `Retry` is now imported directly from `urllib3` instead of the vendored version in requests.

### Other changes

- Updated to technote 0.3.0a7.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies = [
"click",
"sphinxcontrib-bibtex>=2.0.0", # for pybtex plugin; bibtex_bibfiles config is required.
"pydantic >= 2.0.0",
"urllib3",
]

[project.optional-dependencies]
Expand Down Expand Up @@ -71,7 +72,7 @@ guide = [
technote = [
# Theme and extensions for technotes
"sphinx<7",
"technote==0.3.0a6",
"technote==0.3.0a7",
"sphinx-prompt",
]
pipelines = [
Expand Down
2 changes: 1 addition & 1 deletion src/documenteer/requestsutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import requests
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.util.retry import Retry
from urllib3.util import Retry


def requests_retry_session(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<ol class="rubin-technote-global-breadcrumbs">
<li><a href="https://www.lsst.io/">Rubin Documentation</a></li>
<li>
<a href="https://www.lsst.io/{{technote.toml.technote.series_id|lower}}/"
>{{technote.toml.technote.series_id}}</a
<a href="https://www.lsst.io/{{technote.metadata.series_id|lower}}/"
>{{technote.metadata.series_id}}</a
>
</li>
</ol>

<p class="technote-article-header-id">{{technote.toml.technote.id}}</p>
<p class="technote-article-header-id">{{technote.metadata.id}}</p>

<div class="rubin-technote-version-info">
{% if technote.version %}
Expand Down