Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 flow360/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
version
"""

__version__ = "25.9.1b1"
__version__ = "25.9.2b1"
__solver_version__ = "release-25.8"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "flow360"
version = "v25.9.1b1"
version = "v25.9.2b1"
description = "Flow360 Python Client"
authors = ["Flexcompute <support@flexcompute.com>"]

Expand Down
1 change: 0 additions & 1 deletion tests/ref/simulation/service_init_geometry.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "25.9.1b1",
"unit_system": {
"name": "SI"
},
Expand Down
1 change: 0 additions & 1 deletion tests/ref/simulation/service_init_surface_mesh.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "25.9.1b1",
"unit_system": {
"name": "SI"
},
Expand Down
1 change: 0 additions & 1 deletion tests/ref/simulation/service_init_volume_mesh.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "25.9.1b1",
"unit_system": {
"name": "SI"
},
Expand Down
1 change: 0 additions & 1 deletion tests/simulation/converter/ref/ref_monitor.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "25.9.1b1",
"unit_system": {
"name": "SI"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_flow360_monitor_convert():

with open("./ref/ref_monitor.json", mode="r") as fp:
ref_dict = json.load(fp=fp)
assert compare_values(params_dict, ref_dict)
assert compare_values(params_dict, ref_dict, ignore_keys={"version"})

with pytest.raises(
ValueError,
Expand Down
1 change: 0 additions & 1 deletion tests/simulation/data/geometry_airplane/simulation.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "25.9.1b1",
"unit_system": {
"name": "SI"
},
Expand Down
1 change: 0 additions & 1 deletion tests/simulation/data/simulation_by_face_id.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "25.9.1b1",
"unit_system": {
"name": "SI"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "25.9.1b1",
"version": "25.9.2b1",
"unit_system": {
"name": "SI"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,5 @@
"unit_system": {
"name": "SI"
},
"user_defined_fields": [],
"version": "25.9.1b1"
"user_defined_fields": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,5 @@
"unit_system": {
"name": "SI"
},
"user_defined_fields": [],
"version": "25.9.1b1"
"user_defined_fields": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -1150,6 +1150,5 @@
"unit_system": {
"name": "SI"
},
"user_defined_fields": [],
"version": "25.9.1b1"
"user_defined_fields": []
}
3 changes: 3 additions & 0 deletions tests/simulation/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ def test_conflicting_entity_grouping_tags(mock_response, capsys):
) as f:
params_as_dict = json.load(f)

from flow360.version import __version__

params_as_dict["version"] = __version__
params, errors, _ = validate_model(
params_as_dict=params_as_dict,
validated_by=ValidationCalledBy.LOCAL,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "25.9.1b1",
"version": "99.9.9",
Comment thread
cursor[bot] marked this conversation as resolved.
Outdated
"unit_system": {
"name": "SI"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"version": "25.9.1b1",
"unit_system": {
"name": "SI"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/test_current_flow360_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


def test_version():
assert __version__ == "25.9.1b1"
assert __version__ == "25.9.2b1"
2 changes: 2 additions & 0 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ def to_file_from_file_test(obj):
def compare_dict_to_ref(data, ref_path):
with open(ref_path) as fh:
ref_data = json.load(fh)
data.pop("version", None)
ref_data.pop("version", None)
Comment thread
cursor[bot] marked this conversation as resolved.
Outdated
equal = sorted(data.items()) == sorted(ref_data.items())
if equal is False:
show_dict_diff(data, ref_data)
Expand Down
Loading