Skip to content

Commit

Permalink
adjust dependency minimum versions downward to more appropriate versi…
Browse files Browse the repository at this point in the history
…on numbers, fixes #13
  • Loading branch information
bckohan committed Feb 22, 2024
1 parent fa3dd56 commit 65eaa98
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
5 changes: 5 additions & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Change Log
==========

v0.1.9
======

* Fixed `Some dependencies have unnecessarily recent version requirements. <https://github.com/sphinx-contrib/typer/issues/13>`_

v0.1.8
======

Expand Down
22 changes: 9 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "sphinxcontrib-typer"
version = "0.1.8"
version = "0.1.9"
description = "Auto generate docs for typer commands."
authors = ["Brian Kohan <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -32,25 +32,21 @@ packages = [

[tool.poetry.dependencies]
python = "^3.8"
typer = "^0.9.0"
sphinx = "^7.0.0"
rich = "^13.7.0"
pillow = "^10.1.0"
selenium = "^4.16.0"
webdriver-manager = "^4.0.1"
cairosvg = "^2.7.1"
lxml = ">=4.9.3,<6.0.0"
tinycss2 = "^1.2.1"
cssselect2 = "^0.7.0"
sphinx = ">=4.0.0"
selenium = "^4.0.0"
webdriver-manager = ">=3.0.0,<5.0.0"
cairosvg = "^2.4.0"
lxml = ">=4.2.0,<6.0.0"
typer = {extras = ["all"], version = "^0.6.1"}

[tool.poetry.group.dev.dependencies]
sphinx-rtd-theme = "^2.0.0"
sphinx-rtd-theme = ">=1.0.0"
ipdb = "^0.13.13"
pytest = ">=7.4.3,<9.0.0"
isort = "^5.13.2"
pylint = "^3.0.3"
pytest-cov = "^4.1.0"
doc8 = "^1.1.1"
doc8 = ">0.1"
black = ">=23.12,<25.0"
mypy = "^1.7.1"
readme-renderer = {extras = ["md"], version = "^42.0"}
Expand Down
2 changes: 1 addition & 1 deletion sphinxcontrib/typer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
from typer.main import get_command as get_typer_command
from typer.models import Context as TyperContext

VERSION = (0, 1, 8)
VERSION = (0, 1, 9)

__title__ = 'SphinxContrib Typer'
__version__ = '.'.join(str(i) for i in VERSION)
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def test_click_latex_build_works():

assert len(list(bld_dir.glob('**/*.png'))) == 1, 'Should have rendered the help 1 time as png'
html_png = bld_dir / 'validation_4697b61f.png'
assert img_similarity(CLICK_EXAMPLES / 'validation' / 'html.png', html_png) < 1000
assert img_similarity(CLICK_EXAMPLES / 'validation' / 'html.png', html_png) < 9000

if bld_dir.exists():
shutil.rmtree(bld_dir.parent)
Expand Down

0 comments on commit 65eaa98

Please sign in to comment.