Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ def get_configuration_and_output_metadata_by_index(
annotations_dict["ni/enum.values"] = _validate_and_transform_enum_annotations(
configuration.annotations["ni/enum.values"]
)

# In Python 3.13 and earlier, the ConfigurationParameter message sorted the annotation
# keys, but in Python 3.14, it started preserving order. Sort to keep tests passing.
annotations_dict = dict(sorted(annotations_dict.items()))

configuration_parameter_list.append(
ParameterMetadata.initialize(
display_name=configuration.name,
Expand Down Expand Up @@ -171,6 +176,11 @@ def get_configuration_and_output_metadata_by_index(
annotations_dict["ni/enum.values"] = _validate_and_transform_enum_annotations(
output.annotations["ni/enum.values"]
)

# In Python 3.13 and earlier, the ConfigurationParameter message sorted the annotation
# keys, but in Python 3.14, it started preserving order. Sort to keep tests passing.
annotations_dict = dict(sorted(annotations_dict.items()))

output_parameter_list.append(
ParameterMetadata.initialize(
display_name=output.name,
Expand Down
2 changes: 1 addition & 1 deletion packages/generator/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[tox]
isolated_build = true
envlist = clean, py{39,310,311,312,313}, py39-{pb4,pb5,pb6}
envlist = clean, py{39,310,311,312,313,314}, py39-{pb4,pb5,pb6}

[testenv]
skip_install = true
Expand Down
2 changes: 1 addition & 1 deletion packages/service/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[tox]
isolated_build = true
envlist = clean, py{39,310,311,312,313}-all-extras, py39-{pb4,pb5,pb6}
envlist = clean, py{39,310,311,312,313,314}-all-extras, py39-{pb4,pb5,pb6}

[testenv]
skip_install = true
Expand Down