Skip to content

Commit 7126a76

Browse files
committed
update deps and add api script
1 parent 1ddf4a9 commit 7126a76

File tree

1 file changed

+25
-21
lines changed
  • src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}

1 file changed

+25
-21
lines changed

src/fair_python_cookiecutter/template/{{ cookiecutter.project_slug }}/pyproject.toml

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -80,49 +80,53 @@ include = [
8080
[tool.poetry.dependencies]
8181
python = "^3.8"
8282
{%- if cookiecutter.init_cli %}
83-
typer = "^0.9.0"
83+
typer = "^0.12.3"
8484
{%- endif %}
8585
{%- if cookiecutter.init_api %}
86-
fastapi = "^0.95.0"
87-
uvicorn = "^0.21.1"
86+
fastapi = "^0.111.1"
87+
uvicorn = "^0.30.4"
8888
{%- endif %}
8989

9090
[tool.poetry.group.dev.dependencies]
91-
poethepoet = "^0.18.1"
92-
pre-commit = "^3.1.1"
93-
pytest = "^7.2.2"
94-
pytest-cov = "^4.0.0"
95-
hypothesis = "^6.68.2"
96-
licensecheck = "^2023.1.1"
91+
poethepoet = "^0.27.0"
92+
pre-commit = "^3.5.0"
93+
pytest = "^8.3.2"
94+
pytest-cov = "^5.0.0"
95+
hypothesis = "^6.108.5"
96+
licensecheck = "^2024.2"
9797
{%- if cookiecutter.init_api %}
98-
httpx = "^0.23.3"
98+
httpx = "^0.27.0"
9999
{%- endif %}
100100

101101
[tool.poetry.group.docs]
102102
optional = true
103103

104104
[tool.poetry.group.docs.dependencies]
105-
mkdocs = "^1.4.2"
106-
mkdocstrings = {extras = ["python"], version = "^0.24.0"}
107-
mkdocs-material = "^9.4"
105+
mkdocs = "^1.6.0"
106+
mkdocstrings = {extras = ["python"], version = "^0.25.2"}
107+
mkdocs-material = "^9.5.30"
108108
mkdocs-gen-files = "^0.5.0"
109-
mkdocs-literate-nav = "^0.6.0"
110-
mkdocs-section-index = "^0.3.5"
111-
mkdocs-macros-plugin = "^0.7.0"
109+
mkdocs-literate-nav = "^0.6.1"
110+
mkdocs-section-index = "^0.3.9"
111+
mkdocs-macros-plugin = "^1.0.5"
112112
markdown-include = "^0.8.1"
113-
pymdown-extensions = "^10.2"
114-
markdown-exec = {extras = ["ansi"], version = "^1.6.0"}
115-
mkdocs-coverage = "^0.2.7"
116-
mike = "^2.0.0"
113+
pymdown-extensions = "^10.9"
114+
markdown-exec = {extras = ["ansi"], version = "^1.9.3"}
115+
mkdocs-coverage = "^1.1.0"
116+
mike = "^2.1.2"
117117
anybadge = "^1.14.0"
118-
black = "^23.3.0"
118+
interrogate = "^1.7.0"
119+
black = "^24.4.2"
119120

120121
[tool.poetry.scripts]
121122
# put your script entrypoints here
122123
# some-script = 'module.submodule:some_object'
123124
{%- if cookiecutter.init_cli %}
124125
{{ cookiecutter.project_slug }}-cli = '{{ cookiecutter.project_package }}.cli:app'
125126
{%- endif %}
127+
{%- if cookiecutter.init_api %}
128+
{{ cookiecutter.project_slug }}-api = '{{ cookiecutter.project_package }}.api:run'
129+
{%- endif %}
126130

127131
[build-system]
128132
requires = ["poetry-core"]

0 commit comments

Comments
 (0)