Repository: digital-asset/dazl-client (language: python)

Issue:
python: Add test fixtures for Daml Finance.
python: Include DAR parsing fixtures that also include Daml Finance.

This PR essentially adds two test cases, but doesn't actually otherwise change any behavior.


Discussion / hints:

Fix patch:
diff --git a/.circleci/install-daml b/.circleci/install-daml
index adf5802c..8b0d33c2 100755
--- a/.circleci/install-daml
+++ b/.circleci/install-daml
@@ -8,9 +8,8 @@ function install {
         curl -sSL https://get.daml.com/ | sh
         link
     fi
-    daml install 2.5.0-snapshot.20221201.11065.0.caac1d10
-    daml install 2.4.0
-    daml install 1.18.1
+    daml install 2.5.0
+    daml install 1.18.3
 }
 
 function link {
diff --git a/_build/daml-connect/daml-connect.conf b/_build/daml-connect/daml-connect.conf
index ddc84b5c..5a79cc4b 100644
--- a/_build/daml-connect/daml-connect.conf
+++ b/_build/daml-connect/daml-connect.conf
@@ -2,8 +2,8 @@
 # SPDX-License-Identifier: Apache-2.0
 #
 # This file is automatically generated. To regenerate, run
-#     _build/daml-connect/protos.py update 2.5.0-snapshot.20221120.10983.0.218a6a8a
-version 2.5.0-snapshot.20221120.10983.0.218a6a8a
+#     _build/daml-connect/protos.py update 2.5.0
+version 2.5.0
 dir com
 dir com/daml
 dir com/daml/daml_lf_1_15
diff --git a/_fixtures/src/all-kinds-of/daml.yaml b/_fixtures/src/all-kinds-of/daml.yaml
index d29f4aaa..5968c026 100644
--- a/_fixtures/src/all-kinds-of/daml.yaml
+++ b/_fixtures/src/all-kinds-of/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: all-kinds-of
 version: 1.0.0
 source: AllKindsOf.daml
diff --git a/_fixtures/src/all-party/daml.yaml b/_fixtures/src/all-party/daml.yaml
index 315b15ea..79ade1bc 100644
--- a/_fixtures/src/all-party/daml.yaml
+++ b/_fixtures/src/all-party/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: all-party
 version: 1.0.0
 source: AllParty.daml
diff --git a/_fixtures/src/complicated/daml.yaml b/_fixtures/src/complicated/daml.yaml
index c1c58de2..44ad9697 100644
--- a/_fixtures/src/complicated/daml.yaml
+++ b/_fixtures/src/complicated/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: complicated
 version: 1.0.0
 source: Complicated.daml
diff --git a/_fixtures/src/dotted-fields/daml.yaml b/_fixtures/src/dotted-fields/daml.yaml
index 16cf5a45..17a2f144 100644
--- a/_fixtures/src/dotted-fields/daml.yaml
+++ b/_fixtures/src/dotted-fields/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: dotted-fields
 version: 1.0.0
 source: DottedFields.daml
diff --git a/_fixtures/src/kitchen-sink-sdk118/daml.yaml b/_fixtures/src/kitchen-sink-sdk118/daml.yaml
index 3af7cfeb..71cfdf0e 100644
--- a/_fixtures/src/kitchen-sink-sdk118/daml.yaml
+++ b/_fixtures/src/kitchen-sink-sdk118/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: kitchen-sink-sdk118
 version: 1.0.0
 source: KitchenSink
diff --git a/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Customer.daml b/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Customer.daml
deleted file mode 100644
index fcb330ca..00000000
--- a/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Customer.daml
+++ /dev/null
@@ -1,81 +0,0 @@
--- Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
--- SPDX-License-Identifier: Apache-2.0
-
-module KitchenSink.Customer where
-
-import KitchenSink.Retailer
-import KitchenSink.SKU
-
-import DA.Map qualified as M
-
--- Customer is really more a relationship between a customer and retailer.
-template Customer
-  with
-    customer : Party
-    retailer : Party
-    name : Text
-    birthday : Date
-    createdAt : Time
-    address : [Text]
-  where
-    signatory customer
-    observer retailer
-    key (customer, retailer) : (Party, Party)
-    maintainer key._1
-
-
-template Cart
-  with
-    customer : Party
-    retailer : Party
-    createdAt : Time
-    updatedAt : Time
-    contents : M.Map SKU Int
-  where
-    signatory customer
-    observer retailer
-    key (customer, retailer) : (Party, Party)
-    maintainer key._1
-
-    ensure all (>0) $ M.values contents 
-
-    choice Add : ContractId Cart
-      with
-        moreContents : M.Map SKU Int
-      controller customer
-        do
-          create Cart with contents = combineCart 1 contents moreContents; ..
-
-    choice Remove : ContractId Cart
-      with
-        unwantedContents : M.Map SKU Int
-      controller customer
-        do
-          create Cart with contents = combineCart (-1) contents unwantedContents; ..
-
-    choice Finish : ContractId Order
-      with
-        -- | This is the payment amount for the order. If this weren't a test case DAR,
-        -- this might need to be a more complicated representation. But for now we'll assume
-        -- a currency with two digits after the decimal point.
-        payment : Numeric 2
-        expedite : Bool
-      controller customer
-        do
-          create Order with ..
-
-    choice Cancel : ()
-      controller retailer
-        do
-          pure ()
-
-
--- combineCart takes a scale factor ``sf`` and two maps ``a`` and ``b``, and
--- returns a map that is the result of ``a + b*sf``, with non-positive values
--- filtered out and thrown away.
-combineCart : Ord a => Int -> M.Map a Int -> M.Map a Int -> M.Map a Int
-combineCart sf = M.merge (const _positive) (const _positive) (const $ \x y -> _positive $ x + y*sf)
-
-
-_positive: Int -> Optional Int
-_positive qty = if qty > 0 then Some qty else None
diff --git a/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Retailer.daml b/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Retailer.daml
deleted file mode 100644
index f8ccd1fd..00000000
--- a/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Retailer.daml
+++ /dev/null
@@ -1,39 +0,0 @@
--- Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
--- SPDX-License-Identifier: Apache-2.0
-
-module KitchenSink.Retailer where
-
-import DA.Set
-
-template Retailer
-  with
-    retailer : Party
-    name : Text
-    website : Text
-    tags : Set Text
-  where
-    signatory retailer
-    key retailer : Party
-    maintainer key
-
-    controller retailer can
-      UpdateWebsite : ContractId Retailer
-        with
-          newWebsite : Text
-        do
-          create this with website = newWebsite
-
-
-template Order
-  with
-    customer : Party
-    payment : Numeric 2
-    retailer : Party
-    expedite : Bool
-  where
-    signatory customer, retailer
-
-    controller retailer can
-      MarkAsShipped : ()
-        do
-          pure ()
diff --git a/_fixtures/src/kitchen-sink-sdk24/KitchenSink/SKU.daml b/_fixtures/src/kitchen-sink-sdk24/KitchenSink/SKU.daml
deleted file mode 100644
index 8022df2d..00000000
--- a/_fixtures/src/kitchen-sink-sdk24/KitchenSink/SKU.daml
+++ /dev/null
@@ -1,10 +0,0 @@
--- Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
--- SPDX-License-Identifier: Apache-2.0
-
-module KitchenSink.SKU where
-
-data SKU = SKU
-  with
-    supplier : Party
-    sku : Text
-  deriving (Eq, Show, Ord)
diff --git a/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Supplier.daml b/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Supplier.daml
deleted file mode 100644
index af6f6087..00000000
--- a/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Supplier.daml
+++ /dev/null
@@ -1,101 +0,0 @@
--- Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
--- SPDX-License-Identifier: Apache-2.0
-
-module KitchenSink.Supplier where
-
-import KitchenSink.SKU
-import KitchenSink.Warehouse
-
-import DA.Assert
-import DA.TextMap
-
--- SKUState is an enum that models the various states of a supplier's SKU.
--- This should be kept an enum, as this is used to test enum support in dazl.
-data SKUState = Draft | Active | Retired deriving (Eq, Show)
-
--- Item represents a thing that a consumer might want to purchase.
-template Item
-  with
-    supplier : Party
-    sku : Text
-    publicParty : Party
-    description : Text
-    metadata : TextMap Text
-    state : SKUState
-  where
-    signatory supplier
-    observer publicParty
-    key SKU with .. : SKU
-    maintainer key.supplier
-
-    choice Remove : ()
-      controller supplier
-        do
-          assertEq state Draft
-
-    nonconsuming choice Activate : ContractId Item
-      controller supplier
-        do
-          if state == Retired then
-            return self
-          else do
-            archive self
-            create this with state = Retired
-
-    nonconsuming choice RetireOrRemove : Either () (ContractId Item)
-      controller supplier
-        do
-          case state of
-            Draft -> Left <$> archive self
-            Active -> do
-              archive self
-              Right <$> create this with state = Retired
-            Retired -> Right <$> pure self
-
-    nonconsuming choice CreateShipment : ContractId SupplierDelivery
-      with
-        warehouse : Party
-        quantity : Int
-      controller supplier
-        do
-          create SupplierDelivery with sku = SKU with .. ; ..
-
-
--- SupplierDelivery 
-template SupplierDelivery
-  with
-    warehouse : Party
-    sku : SKU
-    quantity : Int
-  where
-    signatory sku.supplier
-    observer warehouse
-    
-    choice Accept : ContractId WarehouseStock
-      controller warehouse
-        do
-          addStock warehouse sku quantity
-
-    choice Reject : ContractId ReturnedInventory
-      with
-        reason : Text
-      controller warehouse
-        do
-          create ReturnedInventory with ..
-
-
--- ReturnedInventory
-template ReturnedInventory
-  with
-    warehouse : Party
-    sku : SKU
-    quantity : Int
-    reason : Text
-  where
-    signatory warehouse
-    observer sku.supplier
-
-    choice Dispose : ()
-      controller sku.supplier
-        do
-          pure ()
diff --git a/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Warehouse.daml b/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Warehouse.daml
deleted file mode 100644
index 49934b17..00000000
--- a/_fixtures/src/kitchen-sink-sdk24/KitchenSink/Warehouse.daml
+++ /dev/null
@@ -1,79 +0,0 @@
--- Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
--- SPDX-License-Identifier: Apache-2.0
-
-module KitchenSink.Warehouse where
-
-import KitchenSink.SKU
-
-template Warehouse
-  with
-    warehouse : Party
-    suppliers : Party
-    location : Text
-  where
-    signatory warehouse
-    observer suppliers
-
-    choice AddStock : ContractId WarehouseStock
-      with
-        sku : SKU
-        quantity : Int
-      controller sku.supplier
-        do
-          optCid <- lookupByKey @WarehouseRetailer (warehouse, sku.supplier)
-          case optCid of
-            None -> abort $ "unknown supplier: " <> (show sku.supplier)
-            Some cid -> addStock warehouse sku quantity
-
-    interface instance HasLocation for Warehouse where
-      view = HasLocationView with ..
-    
-
-data HasLocationView =  HasLocationView with
-    location : Text
-  deriving (Eq, Show)
-
-
-interface HasLocation where
-  viewtype HasLocationView
-
-  nonconsuming choice GetLocation : Text
-    with
-      party : Party
-    controller party
-      do return $ (view this).location
-
-
-template WarehouseStock
-  with
-    warehouse : Party
-    sku : SKU
-    quantity : Int
-  where
-    signatory warehouse, sku.supplier
-    key (warehouse, sku) : (Party, SKU)
-    maintainer key._1
-
-
-template WarehouseRetailer
-  with
-    warehouse : Party
-    supplier : Party
-    activeAt : Time
-    terminatedAt : Optional Time
-  where
-    signatory warehouse, supplier
-    key (warehouse, supplier) : (Party, Party)
-    maintainer key._1
-
-
-addStock : Party -> SKU -> Int -> Update (ContractId WarehouseStock)
-addStock warehouse sku quantity = do
-  optStockCid <- lookupByKey @WarehouseStock (warehouse, sku)
-  case optStockCid of 
-    Some stockCid -> do
-      stock <- fetch stockCid
-      archive stockCid
-      create stock with quantity = stock.quantity + quantity
-    None -> do
-      create WarehouseStock with ..
diff --git a/_fixtures/src/kitchen-sink-sdk24/README.md b/_fixtures/src/kitchen-sink-sdk24/README.md
deleted file mode 100644
index 019ae112..00000000
--- a/_fixtures/src/kitchen-sink-sdk24/README.md
+++ /dev/null
@@ -1,51 +0,0 @@
-KitchenSink
-===========
-
-A DAR model over a kitchen sink market, with suppliers, a warehouse, retailers,
-and customers. The model is designed to be somewhat sensible, while also
-exposing a complete surface area that allows for broad functional testing of a
-Ledger API client.
-
-Daml serializable types
------------------------
-
-This model covers almost all of the
-[serializable types](https://docs.daml.com/daml/intro/3_Data.html) on the
-read-side (fields of a template, either directly or indirectly) and write-side
-(similarly, fields of a template via `create` commands, or fields of a choice
-argument):
-
-+--------------+----------------------------------+------------------------+
-| Daml type    | read-side                        | write-side             |
-+--------------+----------------------------------+------------------------+
-| `Unit`       | _none_                           | various no-arg choices |
-| `Bool`       | `Order.expedite`                 | `Cart.Finish.expedite` |
-| `Int`        | various fields                   | _same_                 |
-| `Numeric`    | `Order.payment`                  | `Cart.Finish.payent`   |
-| `Text`       | various fields                   | _same_                 |
-| `Party`      | all templates                    | _same_                 |
-| `Date`       | `Customer.birthday`              | _same_                 |
-| `Timestamp`  | `WarehouseRetailer.activeAt`     | _same_                 |
-| `ContractId` | _none_                           | various choices        |
-| `Optional`   | `WarehouseRetailer.terminatedAt` | _same_                 |
-| `List`       | `Customer.address`               | _same_                 |
-| `TextMap`    | `Item.metadata`                  | _same_                 |
-| `GenMap`     | `Cart.contents`                  | _same_                 |
-| enums        | `Item.state`                     | _same_                 |
-| variants     | _none_                           | _none_                 |
-| records      | `SKU`                            | `SKU`                  |
-+--------------+----------------------------------+------------------------+
-
-Contract keys
--------------
-
-Most templates have a defined key, so constructs such as "exercise by key" can
-be tested effectively.
-
-Multi-party tokens
-------------------
-
-The `suppliers` and `retailers` parties are meant to represent groups that have
-relationships with a given `warehouse`, and invoking some of those choices
-require a multi-party token that grants a supplier or retailer `readAs` rights
-over the relevant contracts.
diff --git a/_fixtures/src/kitchen-sink-sdk24/daml.yaml b/_fixtures/src/kitchen-sink-sdk24/daml.yaml
deleted file mode 100644
index 7889f763..00000000
--- a/_fixtures/src/kitchen-sink-sdk24/daml.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
-# SPDX-License-Identifier: Apache-2.0
-
-sdk-version: 2.4.0
-name: kitchen-sink-sdk24
-version: 1.0.0
-build-options: [--target=1.15]
-source: KitchenSink
-dependencies:
-  - daml-prim
-  - daml-stdlib
diff --git a/_fixtures/src/map-support/daml.yaml b/_fixtures/src/map-support/daml.yaml
index 2232ff97..427cecc4 100644
--- a/_fixtures/src/map-support/daml.yaml
+++ b/_fixtures/src/map-support/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: map-support
 version: 1.0.0
 source: MapSupport.daml
diff --git a/_fixtures/src/pending/daml.yaml b/_fixtures/src/pending/daml.yaml
index 3c660c61..00843f99 100644
--- a/_fixtures/src/pending/daml.yaml
+++ b/_fixtures/src/pending/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: pending
 version: 1.0.0
 source: Pending.daml
diff --git a/_fixtures/src/post-office/daml.yaml b/_fixtures/src/post-office/daml.yaml
index a59e91b0..c76a1258 100644
--- a/_fixtures/src/post-office/daml.yaml
+++ b/_fixtures/src/post-office/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: post-office
 version: 1.0.0
 source: Main.daml
diff --git a/_fixtures/src/same-name-a/daml.yaml b/_fixtures/src/same-name-a/daml.yaml
index b8cc669d..f7a2c7fb 100644
--- a/_fixtures/src/same-name-a/daml.yaml
+++ b/_fixtures/src/same-name-a/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: same-name-a
 version: 1.0.0
 source: SameName.daml
diff --git a/_fixtures/src/same-name-b/daml.yaml b/_fixtures/src/same-name-b/daml.yaml
index 1039a003..7db96a03 100644
--- a/_fixtures/src/same-name-b/daml.yaml
+++ b/_fixtures/src/same-name-b/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: same-name-b
 version: 1.0.0
 source: SameName.daml
diff --git a/_fixtures/src/simple/daml.yaml b/_fixtures/src/simple/daml.yaml
index 63ca11d1..650e12bb 100644
--- a/_fixtures/src/simple/daml.yaml
+++ b/_fixtures/src/simple/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: simple
 version: 1.0.0
 source: Simple.daml


Test patch:
diff --git a/_fixtures/src/test-server/daml.yaml b/_fixtures/src/test-server/daml.yaml
index 0658ea7a..99f63e4b 100644
--- a/_fixtures/src/test-server/daml.yaml
+++ b/_fixtures/src/test-server/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: test-server
 version: 1.0.0
 source: TestServer.daml
diff --git a/_fixtures/src/upload-test/daml.yaml b/_fixtures/src/upload-test/daml.yaml
index 3f8bb37e..879aedbb 100644
--- a/_fixtures/src/upload-test/daml.yaml
+++ b/_fixtures/src/upload-test/daml.yaml
@@ -1,7 +1,7 @@
 # Copyright (c) 2017-2022, Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
 # SPDX-License-Identifier: Apache-2.0
 
-sdk-version: 1.18.1
+sdk-version: 1.18.3
 name: upload-test
 version: 1.0.0
 source: UploadTest.daml
diff --git a/python/tests/unit/dars.py b/python/tests/unit/dars.py
index b3a201bf..9af43a5a 100644
--- a/python/tests/unit/dars.py
+++ b/python/tests/unit/dars.py
@@ -34,7 +34,6 @@ def load_dars() -> "Mapping[str, Path]":
 Complicated = DARS["complicated"]
 DottedFields = DARS["dotted-fields"]
 KitchenSink1_18 = DARS["kitchen-sink-sdk118"]
-KitchenSink2_4 = DARS["kitchen-sink-sdk24"]
 KitchenSink2_5 = DARS["kitchen-sink-sdk25"]
 MapSupport = DARS["map-support"]
 Pending = DARS["pending"]
diff --git a/python/tests/unit/test_dar_file.py b/python/tests/unit/test_dar_file.py
index 0fa4be7f..d1ee29b5 100644
--- a/python/tests/unit/test_dar_file.py
+++ b/python/tests/unit/test_dar_file.py
@@ -11,4 +11,4 @@
 def test_get_sdk_version():
     with DarFile(Pending) as dar:
         print(dar.manifest())
-        assert "1.18.1" == dar.sdk_version()
+        assert "1.18.3" == dar.sdk_version()
diff --git a/python/tests/unit/test_historical_dar_parsing.py b/python/tests/unit/test_historical_dar_parsing.py
index c178b889..bcb8d6ce 100644
--- a/python/tests/unit/test_historical_dar_parsing.py
+++ b/python/tests/unit/test_historical_dar_parsing.py
@@ -10,7 +10,7 @@
 from dazl.damlast import DarFile
 import pytest
 
-from .dars import KitchenSink1_18, KitchenSink2_4, KitchenSink2_5
+from .dars import KitchenSink1_18, KitchenSink2_5
 
 ARCHIVES: Path = Path(__file__).absolute().parent.parent.parent.parent / "_fixtures" / "archives"
 
@@ -32,7 +32,7 @@ def test_dar_version_compatibility(dar):
     )
 
 
-@pytest.mark.parametrize("dar", [KitchenSink1_18, KitchenSink2_4, KitchenSink2_5])
+@pytest.mark.parametrize("dar", [KitchenSink1_18, KitchenSink2_5])
 def test_dar_kitchen_sink(dar):
     start_time = time.time()
     dar_file = DarFile(dar)
diff --git a/python/tests/unit/test_pkg_loader_do_with_retry.py b/python/tests/unit/test_pkg_loader_do_with_retry.py
index 77187e37..0ca57881 100644
--- a/python/tests/unit/test_pkg_loader_do_with_retry.py
+++ b/python/tests/unit/test_pkg_loader_do_with_retry.py
@@ -17,7 +17,7 @@
 from .dars import AllKindsOf
 
 ALL_KINDS_OF_PKG_REF = PackageRef(
-    "9951a03af2a6cd1a1a9d15d8094bdca0c680290a896b4b9d943b2294b8bf1476"
+    "31bffd91b6041cc9b1f44e8e1f0af522c3f353f2c61a2ac662ad4a1396e29c2a"
 )