diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fb3514c..3e8992e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,7 +33,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e ".[dev]" + pip install -e . --group dev # - name: Run mypy # run: | @@ -52,4 +52,4 @@ jobs: # uses: actions/upload-artifact@v3 # with: # name: dist-${{ matrix.python-version }} - # path: dist/ \ No newline at end of file + # path: dist/ diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 47771f3..1164ed6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,12 @@ Changelog ========= +0.5.3 +----- + +- Make sphinx a required dependency since there are imports from Sphinx + `#44 `_ + 0.5.2 ----- diff --git a/docs/source/contributing.rst b/docs/source/contributing.rst index 44baf89..93efb64 100644 --- a/docs/source/contributing.rst +++ b/docs/source/contributing.rst @@ -19,7 +19,7 @@ Local development .. code-block:: console - pip install -e ".[dev]" + pip install -e . --group dev #. Install pre-commit Git hook scripts: diff --git a/pyproject.toml b/pyproject.toml index c3b7521..1d6f1c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,13 +26,16 @@ classifiers = [ license = {text = "MIT"} readme = "README.md" dynamic = ["version"] +dependencies = [ + "sphinx", +] [project.urls] download = "https://pypi.org/project/sphinx-llms-txt/" source = "https://github.com/jdillard/sphinx-llms-txt" changelog = "https://github.com/jdillard/sphinx-llms-txt/blob/master/CHANGELOG.rst" -[project.optional-dependencies] +[dependency-groups] dev = [ "pytest>=7.0.0", "black", @@ -40,7 +43,6 @@ dev = [ "mypy", "isort", "pre-commit", - "sphinx", ] test = [ "pytest>=7.0.0", diff --git a/sphinx_llms_txt/__init__.py b/sphinx_llms_txt/__init__.py index b96cc20..41b11bb 100644 --- a/sphinx_llms_txt/__init__.py +++ b/sphinx_llms_txt/__init__.py @@ -21,7 +21,7 @@ from .manager import LLMSFullManager from .processor import DocumentProcessor from .writer import FileWriter -__version__ = "0.5.2" +__version__ = "0.5.3" # Export classes needed by tests __all__ = [