Skip to content

Commit 4e3547c

Browse files
chore(deps): update from template
1 parent d537603 commit 4e3547c

3 files changed

Lines changed: 180 additions & 37 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
_commit: v0.7.6
1+
_commit: v0.7.7
22
_src_path: gh:helmut-hoffer-von-ankershoffen/oe-python-template
33
attestations_enabled: true
44
author_email: helmuthva@gmail.com
Lines changed: 174 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,174 @@
1-
Traceback (most recent call last):
2-
File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/bin/oe-python-template-example", line 4, in <module>
3-
from oe_python_template_example.cli import cli
4-
File "/Users/helmut/Code/oe-python-template-example/src/oe_python_template_example/__init__.py", line 8, in <module>
5-
from .models import Echo, Health, HealthStatus, Utterance
6-
File "/Users/helmut/Code/oe-python-template-example/src/oe_python_template_example/models.py", line 5, in <module>
7-
from pydantic import BaseModel, Field
8-
File "<frozen importlib._bootstrap>", line 1412, in _handle_fromlist
9-
File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/__init__.py", line 421, in __getattr__
10-
module = import_module(module_name, package=package)
11-
File "/opt/homebrew/Cellar/python@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/importlib/__init__.py", line 88, in import_module
12-
return _bootstrap._gcd_import(name[level:], package, level)
13-
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14-
File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/main.py", line 34, in <module>
15-
from ._internal import (
16-
...<12 lines>...
17-
)
18-
File "/Users/helmut/Code/oe-python-template-example/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generics.py", line 8, in <module>
19-
from contextvars import ContextVar
20-
File "/opt/homebrew/Cellar/python@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/contextvars.py", line 1, in <module>
21-
from _contextvars import Context, ContextVar, Token, copy_context
22-
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
23-
File "<frozen importlib._bootstrap>", line 1322, in _find_and_load_unlocked
24-
File "<frozen importlib._bootstrap>", line 1262, in _find_spec
25-
File "<frozen importlib._bootstrap_external>", line 1559, in find_spec
26-
File "<frozen importlib._bootstrap_external>", line 1533, in _get_spec
27-
File "<frozen importlib._bootstrap_external>", line 1666, in find_spec
28-
File "<frozen importlib._bootstrap_external>", line 1621, in _get_spec
29-
File "<frozen importlib._bootstrap_external>", line 859, in spec_from_file_location
30-
File "<frozen importlib._bootstrap_external>", line 190, in _path_abspath
31-
KeyboardInterrupt
1+
components:
2+
schemas:
3+
Echo:
4+
description: Response model for echo endpoint.
5+
properties:
6+
text:
7+
description: The echo
8+
examples:
9+
- HELLO, WORLD!
10+
minLength: 1
11+
title: Text
12+
type: string
13+
required:
14+
- text
15+
title: Echo
16+
type: object
17+
HTTPValidationError:
18+
properties:
19+
detail:
20+
items:
21+
$ref: '#/components/schemas/ValidationError'
22+
title: Detail
23+
type: array
24+
title: HTTPValidationError
25+
type: object
26+
Health:
27+
description: Health status model.
28+
properties:
29+
reason:
30+
anyOf:
31+
- type: string
32+
- type: 'null'
33+
title: Reason
34+
status:
35+
$ref: '#/components/schemas/HealthStatus'
36+
required:
37+
- status
38+
title: Health
39+
type: object
40+
HealthStatus:
41+
description: Health status enumeration.
42+
enum:
43+
- UP
44+
- DOWN
45+
title: HealthStatus
46+
type: string
47+
ValidationError:
48+
properties:
49+
loc:
50+
items:
51+
anyOf:
52+
- type: string
53+
- type: integer
54+
title: Location
55+
type: array
56+
msg:
57+
title: Message
58+
type: string
59+
type:
60+
title: Error Type
61+
type: string
62+
required:
63+
- loc
64+
- msg
65+
- type
66+
title: ValidationError
67+
type: object
68+
_HelloWorldResponse:
69+
description: Response model for hello-world endpoint.
70+
properties:
71+
message:
72+
description: The hello world message
73+
examples:
74+
- Hello, world!
75+
title: Message
76+
type: string
77+
required:
78+
- message
79+
title: _HelloWorldResponse
80+
type: object
81+
info:
82+
contact:
83+
email: helmuthva@gmail.com
84+
name: Helmut Hoffer von Ankershoffen
85+
url: https://github.com/helmut-hoffer-von-ankershoffen
86+
termsOfService: https://oe-python-template-example.readthedocs.io/en/latest/
87+
title: OE Python Template Example
88+
version: 1.0.0
89+
openapi: 3.1.0
90+
paths:
91+
/echo/{text}:
92+
get:
93+
description: "Echo back the provided text.\n\nArgs:\n text (str): The text\
94+
\ to echo.\n\nReturns:\n Echo: The echo.\n\nRaises:\n 422 Unprocessable\
95+
\ Entity: If text is not provided or empty."
96+
operationId: echo_echo__text__get
97+
parameters:
98+
- in: path
99+
name: text
100+
required: true
101+
schema:
102+
title: Text
103+
type: string
104+
responses:
105+
'200':
106+
content:
107+
application/json:
108+
schema:
109+
$ref: '#/components/schemas/Echo'
110+
description: Successful Response
111+
'422':
112+
content:
113+
application/json:
114+
schema:
115+
$ref: '#/components/schemas/HTTPValidationError'
116+
description: Validation Error
117+
summary: Echo
118+
tags:
119+
- Basics
120+
/health:
121+
get:
122+
description: "Check the health of the service.\n\nThis endpoint returns the\
123+
\ health status of the service.\nThe health status can be either UP or DOWN.\n\
124+
If the service is healthy, the status will be UP.\nIf the service is unhealthy,\
125+
\ the status will be DOWN and a reason will be provided.\nThe response will\
126+
\ have a 200 OK status code if the service is healthy,\nand a 500 Internal\
127+
\ Server Error status code if the service is unhealthy.\n\nReturns:\n Health:\
128+
\ The health status of the service."
129+
operationId: health_health_get
130+
responses:
131+
'200':
132+
content:
133+
application/json:
134+
schema:
135+
$ref: '#/components/schemas/Health'
136+
description: Successful Response
137+
summary: Health
138+
tags:
139+
- Observability
140+
/healthz:
141+
get:
142+
description: "Check the health of the service.\n\nThis endpoint returns the\
143+
\ health status of the service.\nThe health status can be either UP or DOWN.\n\
144+
If the service is healthy, the status will be UP.\nIf the service is unhealthy,\
145+
\ the status will be DOWN and a reason will be provided.\nThe response will\
146+
\ have a 200 OK status code if the service is healthy,\nand a 500 Internal\
147+
\ Server Error status code if the service is unhealthy.\n\nReturns:\n Health:\
148+
\ The health status of the service."
149+
operationId: health_healthz_get
150+
responses:
151+
'200':
152+
content:
153+
application/json:
154+
schema:
155+
$ref: '#/components/schemas/Health'
156+
description: Successful Response
157+
summary: Health
158+
tags:
159+
- Observability
160+
/hello-world:
161+
get:
162+
description: "Return a hello world message.\n\nReturns:\n _HelloWorldResponse:\
163+
\ A response containing the hello world message."
164+
operationId: hello_world_hello_world_get
165+
responses:
166+
'200':
167+
content:
168+
application/json:
169+
schema:
170+
$ref: '#/components/schemas/_HelloWorldResponse'
171+
description: Successful Response
172+
summary: Hello World
173+
tags:
174+
- Basics

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ packages = ["src/oe_python_template_example"]
9090

9191
[project.optional-dependencies]
9292
examples = [
93-
"streamlit>=1.43.2",
94-
"marimo>=0.11.26",
93+
"streamlit>=1.44.0",
94+
"marimo>=0.11.28",
9595
"jupyter>=1.1.1",
9696
"jinja2>=3.1.6",
9797
]
@@ -111,7 +111,7 @@ dev = [
111111
"pip-audit>=2.8.0",
112112
"pip-licenses>=5.0.0",
113113
"pre-commit>=4.1.0",
114-
"pyright>=1.1.396",
114+
"pyright>=1.1.398",
115115
"pytest>=8.3.5",
116116
"pytest-asyncio>=0.26.0",
117117
"pytest-cov>=6.0.0",
@@ -120,7 +120,7 @@ dev = [
120120
"pytest-regressions>=2.7.0",
121121
"pytest-subprocess>=1.5.3",
122122
"pytest-xdist[psutil]>=3.6.1",
123-
"ruff>=0.10.0",
123+
"ruff>=0.11.2",
124124
"sphinx>=8.2.3",
125125
"sphinx-autobuild>=2024.10.3",
126126
"sphinx-copybutton>=0.5.2",
@@ -132,7 +132,7 @@ dev = [
132132
"sphinxext.opengraph>=0.9.1",
133133
"swagger-plugin-for-sphinx>=5.1.0",
134134
"tomli>=2.1.0",
135-
"types-pyyaml>=6.0.12.20241230",
135+
"types-pyyaml>=6.0.12.20250326",
136136
"watchdog>=6.0.0",
137137
]
138138

0 commit comments

Comments
 (0)