diff --git a/python/hyperdrivetypes/hyperdrivetypes/__init__.py b/python/hyperdrivetypes/hyperdrivetypes/__init__.py index 293bdaea3..eb0feeb77 100644 --- a/python/hyperdrivetypes/hyperdrivetypes/__init__.py +++ b/python/hyperdrivetypes/hyperdrivetypes/__init__.py @@ -18,4 +18,3 @@ RedeemWithdrawalSharesEventFP, RemoveLiquidityEventFP, ) -from .types import * diff --git a/python/hyperdrivetypes/hyperdrivetypes/fixedpoint_types.py b/python/hyperdrivetypes/hyperdrivetypes/fixedpoint_types.py index ef932802b..b184b678b 100644 --- a/python/hyperdrivetypes/hyperdrivetypes/fixedpoint_types.py +++ b/python/hyperdrivetypes/hyperdrivetypes/fixedpoint_types.py @@ -5,7 +5,9 @@ from dataclasses import dataclass from fixedpointmath import FixedPoint -from hyperdrivetypes.types.IHyperdriveTypes import ( +from pypechain.core import BaseEventArgs + +from .types.IHyperdrive import ( AddLiquidityEvent, Checkpoint, CloseLongEvent, @@ -20,7 +22,6 @@ RedeemWithdrawalSharesEvent, RemoveLiquidityEvent, ) -from pypechain.core import BaseEventArgs # TODO: These dataclasses are similar to pypechain except for # - snake_case attributes instead of camelCase diff --git a/python/hyperdrivetypes/prerequisite.txt b/python/hyperdrivetypes/prerequisite.txt index 482dc2a92..18d2d538e 100644 --- a/python/hyperdrivetypes/prerequisite.txt +++ b/python/hyperdrivetypes/prerequisite.txt @@ -1 +1 @@ -pypechain == 0.0.43 +pypechain == 0.0.45 diff --git a/python/hyperdrivetypes/pyproject.toml b/python/hyperdrivetypes/pyproject.toml index fa91689cc..2a63f4324 100644 --- a/python/hyperdrivetypes/pyproject.toml +++ b/python/hyperdrivetypes/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "hyperdrivetypes" -version = "1.0.19.7" +version = "1.0.20.8" # Authors are the current, primary stewards of the repo # contributors can be found on github @@ -19,10 +19,10 @@ classifiers = [ "Natural Language :: English", ] -dependencies = ["pypechain==0.0.43", "fixedpointmath"] +dependencies = ["pypechain==0.0.45", "fixedpointmath"] [project.optional-dependencies] -dev = ["pyright", "pytest"] +dev = ["pyright>=1.1.384", "pytest"] all = [ "hyperdrivetypes[dev]", diff --git a/python/test_hyperdrivetypes.py b/python/hyperdrivetypes/test/test_hyperdrivetypes.py similarity index 99% rename from python/test_hyperdrivetypes.py rename to python/hyperdrivetypes/test/test_hyperdrivetypes.py index 5ef4191a7..45fb73ef3 100644 --- a/python/test_hyperdrivetypes.py +++ b/python/hyperdrivetypes/test/test_hyperdrivetypes.py @@ -15,7 +15,7 @@ RedeemWithdrawalSharesEventFP, RemoveLiquidityEventFP, ) -from hyperdrivetypes.types.IHyperdriveTypes import ( +from hyperdrivetypes.types.IHyperdrive import ( AddLiquidityEvent, Checkpoint, CloseLongEvent,