lp:~cjwatson/storm/fix-py311-tests

Created by Colin Watson and last modified
Get this branch:
bzr branch lp:~cjwatson/storm/fix-py311-tests
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Colin Watson
Project:
Storm
Status:
Merged

Recent revisions

582. By Colin Watson

Fix tests on Python 3.11.

Tests were failing as follows:

  ======================================================================
  ERROR: test_hook_unhook_emit (storm.tests.event.EventTest.test_hook_unhook_emit)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "storm/tests/mocker.py", line 101, in test_method_wrapper
      result = test_method()
               ^^^^^^^^^^^^^
    File "storm/tests/event.py", line 61, in test_hook_unhook_emit
      self.assertEqual(sorted(called1), [
                       ^^^^^^^^^^^^^^^
  TypeError: '<' not supported between instances of 'Marker' and 'Marker'

This seems to have been prompted by a change to the `list.sort`
implementation in Python 3.11 that I somehow failed to notice before,
but it's easily fixed by giving `Marker` a few trivial comparison
methods.

581. By Colin Watson

[r=lgp171188] Fix several syntax warnings from recent Python versions.

580. By Colin Watson

Release Storm 0.26.

579. By Colin Watson

[r=jugmac00] Make passenv declaration compatible with tox 4.

578. By Colin Watson

[r=andrey-fedoseev] Support Python 3.10 and 3.11.

577. By Colin Watson

[r=andrey-fedoseev] Add storm.expr.Is and storm.expr.IsNot operators.

576. By Colin Watson

[r=ilasc] Clarify exception for a property with allow_none=False and default=None.

575. By Colin Watson

[r=cjwatson] Fix a typo in the tutorial doctest code block

574. By Colin Watson

[r=ilasc] Fix test compatibility with MySQL >= 8.0.24.

573. By Colin Watson

Bump version to 0.25.0.99.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:storm
This branch contains Public information 
Everyone can see this information.

Subscribers