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
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
* None.

### Enhancements
* None.
* Bumped `hypothesis` version for tests to latest (6.138.2), fixed examples generating large numbers of results causing tests to run extremely slow.
* Bumped every other dependency to the latest version aside from dataclassy.

### Fixes
* Moved ZepbenTokenAuth to use python dataclasses instead of `zepben.ewb.dataclassy`, existing code should work as is.
Expand Down
19 changes: 10 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@
]
dependencies = [
"zepben.protobuf==1.0.0",
"typing_extensions==4.12.2",
"requests>=2.26.0, <3.0.0",
"urllib3>=1.26.6, <1.27.0",
"PyJWT>=2.1.0, <2.2.0",
"typing_extensions==4.14.1",
"requests==2.32.5",
"urllib3==2.5.0",
"PyJWT==2.10.1",
"dataclassy==0.6.2",
]
classifiers = [
"Programming Language :: Python :: 3",
Expand All @@ -43,12 +44,12 @@

[project.optional-dependencies]
test = [
"pytest>=7.4.4, <9",
"pytest-cov==6.1.1",
"pytest-asyncio==0.26.0",
"pytest==8.4.1",
"pytest-cov==6.2.1",
"pytest-asyncio==1.1.0",
"pytest-timeout==2.4.0",
"pytest-subtests",
"hypothesis==6.119.4", # 6.120.0 has issues with one of our large tests
"pytest-subtests==0.14.2",
"hypothesis==6.138.2",
"grpcio-testing==1.61.3",
"pylint==2.14.5",
"six==1.16.0",
Expand Down
2 changes: 1 addition & 1 deletion test/cim/iec61970/base/wires/test_regulating_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"terminal": builds(Terminal),
"ct_primary": floats(min_value=FLOAT_MIN, max_value=FLOAT_MAX),
"min_target_deadband": floats(min_value=FLOAT_MIN, max_value=FLOAT_MAX),
"regulating_conducting_equipment": lists(builds(PowerElectronicsConnection))
"regulating_conducting_equipment": lists(builds(PowerElectronicsConnection), max_size=2)
}

regulating_control_args = [*power_system_resource_args, False, RegulatingControlModeKind.voltage, PhaseCode.ABC, 1.1, 2.2, True, 3.3, 4.4, 5.5, Terminal(), 6.6,
Expand Down
Loading