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

Bump sphinx, furo, blacken-docs dependencies #2148

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -29,18 +29,24 @@ jobs:
(cd tests && gcc ext.c -fPIC -shared -o ext.so)
- name: Install dependencies
run: |
pip install -e '.[test,docs]'
pip install -e '.[test]'
pip freeze
- name: Run tests
run: |
pytest -n auto -m "not serial"
pytest -m "serial"
# And the test that exceeds a localhost HTTPS server
tests/test_datasette_https_server.sh
- name: On Python 3.9 and higher, install docs dependencies too
if: matrix.python-version != '3.8'
run: |
pip install -e '.[docs]'
- name: Check if cog needs to be run
if: matrix.python-version != '3.8'
run: |
cog --check docs/*.rst
- name: Check if blacken-docs needs to be run
if: matrix.python-version != '3.8'
run: |
# This fails on syntax errors, or a diff was applied
blacken-docs -l 60 docs/*.rst
2 changes: 1 addition & 1 deletion docs/cli-reference.rst
Expand Up @@ -112,7 +112,7 @@ Once started you can access it at ``http://localhost:8001``
--static MOUNT:DIRECTORY Serve static files from this directory at
/MOUNT/...
--memory Make /_memory database available
--config FILENAME Path to JSON/YAML Datasette configuration file
-c, --config FILENAME Path to JSON/YAML Datasette configuration file
--setting SETTING... Setting, see
docs.datasette.io/en/stable/settings.html
--secret TEXT Secret used for signing secure values, such as
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -69,8 +69,8 @@ def get_version():
setup_requires=["pytest-runner"],
extras_require={
"docs": [
"Sphinx==7.1.2",
"furo==2023.7.26",
"Sphinx==7.2.2",
"furo==2023.8.19",
"sphinx-autobuild",
"codespell>=2.2.5",
"blacken-docs",
Expand All @@ -84,7 +84,7 @@ def get_version():
"pytest-asyncio>=0.17",
"beautifulsoup4>=4.8.1",
"black==23.7.0",
"blacken-docs==1.15.0",
"blacken-docs==1.16.0",
"pytest-timeout>=1.4.2",
"trustme>=0.7",
"cogapp>=3.3.0",
Expand Down