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

Remove Sphinx as a required dependency #15

Merged
merged 6 commits into from Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .[test]
python -m pip install .[test,standalone]

- name: Test with pytest
run: python -m pytest -vv --durations 25
Expand Down
5 changes: 5 additions & 0 deletions CHANGES
@@ -1,3 +1,8 @@
Release 1.0.7 (Pending)
==========================
AA-Turner marked this conversation as resolved.
Show resolved Hide resolved

* Fix circular dependency with Sphinx that caused failure in DAG-based package management
AA-Turner marked this conversation as resolved.
Show resolved Hide resolved

Release 1.0.6 (2023-08-09)
==========================

Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Expand Up @@ -39,9 +39,6 @@ classifiers = [
"Topic :: Text Processing",
"Topic :: Utilities",
]
dependencies = [
"Sphinx>=5",
]
dynamic = ["version"]
AA-Turner marked this conversation as resolved.
Show resolved Hide resolved

[project.optional-dependencies]
Expand All @@ -53,7 +50,9 @@ lint = [
"mypy",
"docutils-stubs",
]

standalone = [
"sphinx > 5",
AA-Turner marked this conversation as resolved.
Show resolved Hide resolved
]
[[project.authors]]
AA-Turner marked this conversation as resolved.
Show resolved Hide resolved
name = "Georg Brandl"
email = "georg@python.org"
Expand Down
1 change: 1 addition & 0 deletions sphinxcontrib/applehelp/__init__.py
Expand Up @@ -227,6 +227,7 @@ def do_codesign(self) -> None:


def setup(app: Sphinx) -> dict[str, Any]:
app.require_sphinx('5.0')
app.setup_extension('sphinx.builders.html')
app.add_builder(AppleHelpBuilder)
app.add_message_catalog(__name__, path.join(package_dir, 'locales'))
Expand Down