Skip to content

Commit

Permalink
add defusedxml
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Apr 18, 2024
1 parent 270296e commit 57e6a10
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- graphviz
envs: |
- macos: py311-sphinx6
- windows: py310-sphinx56
- windows: py310-sphinx6
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand Down
23 changes: 15 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies = [
"invoke>=1.6.0",
"packaging>=19.0",
"python-dateutil>=2.8.2",
"sphinx>=5.0.0",
"sphinx>=6.0.0",
"watchdog>=2.1.0",
]

Expand All @@ -50,13 +50,20 @@ issue_tracker = "https://github.com/sunpy/ablog/issues"
repository = "https://github.com/sunpy/ablog"

[project.optional-dependencies]
all = ["ablog[markdown, notebook]"]
notebook =["ipython>=7.30.0",
"nbsphinx>=0.8.0"]
markdown =["myst-parser>=0.17.0"]
docs =["alabaster",
"sphinx-automodapi"]
tests =["pytest"]
all = ["ablog[markdown,notebook]"]
notebook = [
"ipython>=7.30.0",
"nbsphinx>=0.8.0"
]
markdown = ["myst-parser>=0.17.0"]
docs = [
"alabaster",
"sphinx-automodapi"
]
tests = [
"pytest",
"defusedxml>=0.8.0rc2",
]

[project.scripts]
ablog = "ablog.commands:ablog_main"
Expand Down
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ allowlist_externals =
deps =
pytest-cov
extras =
dev
all
docs
tests
commands =
# Have to do this here as myst-parser in the install step forces the version.
sphinx6: pip install -U "sphinx>=6.0,<7.0"
Expand All @@ -27,7 +29,8 @@ deps =
git+https://github.com/pydata/pydata-sphinx-theme.git
pytest-cov
extras =
dev
all
docs
commands =
rm -rf pydata-sphinx-theme || true
git clone [email protected]:pydata/pydata-sphinx-theme.git --depth 1 pydata-sphinx-theme
Expand Down

0 comments on commit 57e6a10

Please sign in to comment.