diff --git a/setup.py b/setup.py index f92dfed8..5aa00f52 100644 --- a/setup.py +++ b/setup.py @@ -68,10 +68,11 @@ def main(): 'bottle', 'jsonpatch>1.14', 'sqlalchemy<1.4.0', - 'pytest', - 'pytest-timeout', - 'pytest-cov', - 'pytest-lazy-fixture', + # pytest 8.0.0 is not compatible, so we need to use the latest version of pytest 7.x + 'pytest<8.0.0', + 'pytest-timeout<3.0.0', + 'pytest-cov<5.0.0', + 'pytest-lazy-fixture<1.0.0', 'pytz', 'urllib3<2' ] diff --git a/test/integration_new/context_managers/box_retention_policy.py b/test/integration_new/context_managers/box_retention_policy.py index 7390a374..3086ded8 100644 --- a/test/integration_new/context_managers/box_retention_policy.py +++ b/test/integration_new/context_managers/box_retention_policy.py @@ -6,7 +6,7 @@ class BoxRetentionPolicy: - DEFAULT_RETENTION_POLICY_NAME = "modifiable_retention_policy_for_integration_tests" + DEFAULT_RETENTION_POLICY_NAME = "modifiable_retention_policy_for_integration_tests_extendable_by_owner" def __init__( self, @@ -26,6 +26,7 @@ def __init__( policy_name=name, disposition_action=disposition_action, retention_length=retention_length, + can_owner_extend_retention=True, retention_type='modifiable' )