Skip to content

Commit dabd2e7

Browse files
committed
build(sphinx): Rework sphinx packages to be optional + extra
poetry add sphinx-issues --dev --extras docs --optional poetry add alagitpull --dev --extras docs --optional --allow-prereleases
1 parent e5f3be8 commit dabd2e7

File tree

2 files changed

+14
-89
lines changed

2 files changed

+14
-89
lines changed

poetry.lock

Lines changed: 4 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ authors = ["Tony Narlock <tony@git-pull.com>"]
1212
python = "~2.7 || ^3.5"
1313

1414
[tool.poetry.dev-dependencies]
15-
alagitpull = {version="*", allow-prereleases=true}
1615
black = {version="==19.10b0", python="^3.6"}
17-
doc8 = "*"
18-
docutils = "*"
1916
flake8 = "*"
2017
isort = [
2118
{version="<5", python="<3.6"},
@@ -27,11 +24,6 @@ pytest = [
2724
]
2825
pathlib2 = {version="<2.3.5", python="<3"} # Untangle pytest peer-dependency
2926
pytest-rerunfailures = "*"
30-
sphinx = [
31-
{version="<2", python="<3"},
32-
{version="*", python=">=3"}
33-
]
34-
sphinx-issues = "*"
3527
twine = "*"
3628
codecov = "*"
3729
coverage = "*"
@@ -43,4 +35,13 @@ pytest-mock = [
4335
{version="<3.0.0", python="<3"},
4436
{version="*", python=">=3"}
4537
]
46-
recommonmark = "^0.6.0"
38+
sphinx = [
39+
{version="<2", python="<3"},
40+
{version="*", python=">=3"}
41+
]
42+
recommonmark = {version = "^0.6.0"}
43+
alagitpull = {version = "^0.0.25-rc.2", allow-prereleases = true}
44+
sphinx-issues = {version = "^1.2.0"}
45+
46+
[tool.poetry.extras]
47+
docs = ["sphinx", "recommonmark", "sphinx-issues", "alagitpull"]

0 commit comments

Comments
 (0)