Skip to content

Commit

Permalink
Add defusedxml as a dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed Apr 30, 2024
1 parent d2ba745 commit a6f4b8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelog.d/20240430_155714_jsick_DM_44137.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Bug fixes

- Technotes ignore files in the repository with `.md`, `.rst`, and `.ipynb` extensions if they aren't the index file. Since technotes are single-page documents, only the index file should be used as a source file. This change lets authors include auxiliary notebooks with their technotes without having to explicitly exclude them from the technote build process. This is implemented with `technote.conf.extend_excludes_for_non_index_source`.

### Other changes

- Added `defusedxml` as a dev dependency. This is used by Sphinx's `sphinx.testing.fixtures`, but isn't included as a dependency by Sphinx itself. This change ensures that `defusedxml` is installed when running the tests.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dev = [
# Test depedendencies for analyzing HTML output
"lxml",
"cssselect",
"defusedxml", # used by Sphinx but not declared as a dependency
# Extensions for documenteer's own docs
"sphinx-click",
"sphinxcontrib-autoprogram",
Expand All @@ -56,6 +57,7 @@ dev = [
"types-PyYAML",
"types-docutils",
"types-mock",
# Testing dependencies
]
guide = [
# Theme and extensions for Rubin user guide projects
Expand Down

0 comments on commit a6f4b8e

Please sign in to comment.