eventsourcing 9.3.1__py3-none-any.whl → 9.3.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of eventsourcing might be problematic. Click here for more details.

@@ -910,7 +910,9 @@ class Application:
910
910
  TApplication = TypeVar("TApplication", bound=Application)
911
911
 
912
912
 
913
- @deprecated("AggregateNotFound is deprecated, use AggregateNotFoundError instead")
913
+ @deprecated(
914
+ "AggregateNotFound is deprecated, use AggregateNotFoundError instead", category=None
915
+ )
914
916
  class AggregateNotFound(EventSourcingError): # noqa: N818
915
917
  pass
916
918
 
@@ -1177,24 +1177,24 @@ class TestBankAccount(TestCase):
1177
1177
 
1178
1178
  class TestAggregateNotFound(TestCase):
1179
1179
  def test(self):
1180
- # Verify deprecation warning.
1181
- with warnings.catch_warnings(record=True) as w:
1182
- AggregateNotFound()
1180
+ # Check we didn't break any code.
1181
+ try:
1182
+ raise AggregateNotFoundError
1183
+ except AggregateNotFound:
1184
+ pass
1183
1185
 
1184
- self.assertEqual(len(w), 1)
1185
- self.assertIs(w[-1].category, DeprecationWarning)
1186
- self.assertEqual(
1187
- "AggregateNotFound is deprecated, use AggregateNotFoundError instead",
1188
- w[-1].message.args[0],
1189
- )
1186
+ # # Verify deprecation warning.
1187
+ # with warnings.catch_warnings(record=True) as w:
1188
+ # AggregateNotFound()
1189
+ #
1190
+ # self.assertEqual(len(w), 1)
1191
+ # self.assertIs(w[-1].category, DeprecationWarning)
1192
+ # self.assertEqual(
1193
+ # "AggregateNotFound is deprecated, use AggregateNotFoundError instead",
1194
+ # w[-1].message.args[0],
1195
+ # )
1190
1196
 
1191
1197
  # Verify no deprecation warning.
1192
1198
  with warnings.catch_warnings(record=True) as w:
1193
1199
  AggregateNotFoundError()
1194
1200
  self.assertEqual(len(w), 0)
1195
-
1196
- # Check we didn't break any code.
1197
- try:
1198
- raise AggregateNotFoundError
1199
- except AggregateNotFound:
1200
- pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eventsourcing
3
- Version: 9.3.1
3
+ Version: 9.3.2
4
4
  Summary: Event sourcing in Python
5
5
  Home-page: https://github.com/pyeventsourcing/eventsourcing
6
6
  License: BSD 3-Clause
@@ -1,5 +1,5 @@
1
1
  eventsourcing/__init__.py,sha256=st2H3shrhTk5rqoUeZHUW8XD9iOX9tGGtQFWr2HGYmo,26
2
- eventsourcing/application.py,sha256=ypzKvBt8s20Grlm3ltHmNIG5fD4R0xFlqsAn7PlcJrI,36303
2
+ eventsourcing/application.py,sha256=c5aTi86mBOiQicmqEUsqseAeL7CwDie3G9e0Y8kWLYM,36324
3
3
  eventsourcing/cipher.py,sha256=NJcVfZdSlCER6xryM4zVoY3cmKstF-iSSniB4jmpaKg,3200
4
4
  eventsourcing/compressor.py,sha256=IdvrJUB9B2td871oifInv4lGXmHwYL9d69MbHHCr7uI,421
5
5
  eventsourcing/dispatch.py,sha256=yYSpT-jqc6l_wTdqEnfPJJfvsZN2Ta8g2anrVPWIcqQ,1412
@@ -114,7 +114,7 @@ eventsourcing/tests/docs_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
114
114
  eventsourcing/tests/docs_tests/test_docs.py,sha256=bxb4xd0PNMRG9X-SeyQ6C7Tq6nAw4MgoC3FdQ3T0rsg,10871
115
115
  eventsourcing/tests/domain.py,sha256=lHSlY6jIoSeqlcPSbrrozEPUJGvJ8bgPrznlmzTxn2w,3254
116
116
  eventsourcing/tests/domain_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
117
- eventsourcing/tests/domain_tests/test_aggregate.py,sha256=_77pimN4VAJZVCdm1JCumfNxU2oFJClv_o_OKdcjSSg,39106
117
+ eventsourcing/tests/domain_tests/test_aggregate.py,sha256=XRO4YbFTW0mwJYVJ0hLBOJRyFs28XSyvRxlpkD5pibA,39133
118
118
  eventsourcing/tests/domain_tests/test_aggregate_decorators.py,sha256=zky6jmqblM0GKgdhCJjYdSxtEE9MwRcemYaZhqxL1AE,50256
119
119
  eventsourcing/tests/domain_tests/test_domainevent.py,sha256=3EGLKnla1aWfKPzMfLCNmh7UtVAztk_ne_Oi0cP7jPU,2782
120
120
  eventsourcing/tests/interface_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -138,8 +138,8 @@ eventsourcing/tests/system_tests/test_system.py,sha256=IRmLBovJ5Ha4KWNVg8efM-0OV
138
138
  eventsourcing/tests/utils_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
139
139
  eventsourcing/tests/utils_tests/test_utils.py,sha256=8HcTk_0_lXyoT307fEmd2utwmOUS_joToUPGFeFnKW8,6486
140
140
  eventsourcing/utils.py,sha256=PIWDvoGiKCXsNbR5DirkoJ_svopg80SoH37bqxOcjkU,8247
141
- eventsourcing-9.3.1.dist-info/AUTHORS,sha256=8aHOM4UbNZcKlD-cHpFRcM6RWyCqtwtxRev6DeUgVRs,137
142
- eventsourcing-9.3.1.dist-info/LICENSE,sha256=bSE_F-T6cQPmMY5LuJC27km_pGB1XCVuUFx1uY0Nueg,1512
143
- eventsourcing-9.3.1.dist-info/METADATA,sha256=Zod4mspfz0kMzu8dxiVYAQbqanX9KqFlTTAU8VHXu0M,9968
144
- eventsourcing-9.3.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
145
- eventsourcing-9.3.1.dist-info/RECORD,,
141
+ eventsourcing-9.3.2.dist-info/AUTHORS,sha256=8aHOM4UbNZcKlD-cHpFRcM6RWyCqtwtxRev6DeUgVRs,137
142
+ eventsourcing-9.3.2.dist-info/LICENSE,sha256=bSE_F-T6cQPmMY5LuJC27km_pGB1XCVuUFx1uY0Nueg,1512
143
+ eventsourcing-9.3.2.dist-info/METADATA,sha256=QFafd2jcyxKW5UCb_N5-8M-iZBJKU8YPdk5fOCJYcsQ,9968
144
+ eventsourcing-9.3.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
145
+ eventsourcing-9.3.2.dist-info/RECORD,,