goodboy / tractor

A distributed, structured concurrent runtime for Python (and friends)
GNU Affero General Public License v3.0
258 stars 12 forks source link

`trio.MultiError` is deprecated -> move to `exceptiongroup.ExceptionGroup` #332

Closed goodboy closed 1 year ago

goodboy commented 1 year ago

This is killing CI: https://github.com/goodboy/tractor/actions/runs/3207101811/jobs/5241628100

test_multierror_assert.py::test_bad_assert
  /home/goodboy/repos/tractor/test_multierror_assert.py:32: TrioDeprecationWarning: trio.NonBaseMultiError is deprecated since Trio 0.22.0; use ExceptionGroup (on Python 3.11 and later) or exceptiongroup.ExceptionGroup (earlier versions) instead (https://github.com/python-trio/trio/issues/2211)
    assert trio.NonBaseMultiError is trio.MultiError

Have repro-ed this locally

goodboy commented 1 year ago

Closed by #333