Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pipeline to v2023.08.21.134839 (pydantic v2) #635

Merged
merged 2 commits into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jobrunner/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def get_action_specification(config, action_id, using_dummy_data_backend=False):
return ActionSpecification(
run=run_command,
needs=action_spec.needs,
outputs=action_spec.outputs.dict(exclude_unset=True),
outputs=action_spec.outputs.model_dump(exclude_unset=True),
)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ classifiers = [
]
requires-python = ">=3.8"
dependencies = [
"opensafely-pipeline @ git+https://github.com/opensafely-core/[email protected].09.102223",
"opensafely-pipeline @ git+https://github.com/opensafely-core/[email protected].21.134839",
"ruyaml",
"requests",
"opentelemetry-exporter-otlp-proto-http",
Expand Down
10 changes: 8 additions & 2 deletions requirements.prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#
# pip-compile --allow-unsafe --output-file=requirements.prod.txt pyproject.toml
#
annotated-types==0.5.0
# via pydantic
backoff==2.1.2
# via opentelemetry-exporter-otlp-proto-http
certifi==2020.11.8
Expand All @@ -18,7 +20,7 @@ googleapis-common-protos==1.56.4
# via opentelemetry-exporter-otlp-proto-http
idna==2.10
# via requests
opensafely-pipeline @ git+https://github.com/opensafely-core/[email protected].09.102223
opensafely-pipeline @ git+https://github.com/opensafely-core/[email protected].21.134839
# via opensafely-jobrunner (pyproject.toml)
opentelemetry-api==1.12.0
# via
Expand All @@ -36,8 +38,10 @@ protobuf==3.20.2
# via
# googleapis-common-protos
# opentelemetry-proto
pydantic==1.10.12
pydantic==2.2.1
# via opensafely-pipeline
pydantic-core==2.6.1
# via pydantic
requests==2.25.0
# via
# opensafely-jobrunner (pyproject.toml)
Expand All @@ -48,8 +52,10 @@ ruyaml==0.91.0
# opensafely-pipeline
typing-extensions==4.7.1
# via
# annotated-types
# opentelemetry-sdk
# pydantic
# pydantic-core
urllib3==1.26.5
# via requests
wrapt==1.14.1
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/test_lru_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from jobrunner.lib.lru_dict import LRUDict


@settings(max_examples=500)
@settings(max_examples=500, deadline=500)
class LRUDictValidation(RuleBasedStateMachine):
capacity = 5
keys = st.integers(min_value=1)
Expand Down