[Bug 2068046] [NEW] proposed-migration yt/4.3.0-1build1 vs pytest/8.2.1-2

Launchpad Bug Tracker 2068046 at bugs.launchpad.net
Tue Jun 4 20:23:03 UTC 2024


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

yt autopkgtests fail with the latest version of pytest:

=================================== FAILURES ===================================
__________________________ test_cylindrical_ray_trace __________________________

    def test_cylindrical_ray_trace():
        for pair in point_pairs:
            p1, p2 = pair
            p1cart, p2cart = _cyl2cart(pair)
            pathlen = np.sqrt(np.sum((p2cart - p1cart) ** 2))

>           t, s, rztheta, inds = cylindrical_ray_trace(p1, p2,
left_grid, right_grid)

yt/utilities/lib/tests/test_alt_ray_tracers.py:74:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

>   rleft = left_edges[:,0]
E   TypeError: 'NoneType' object is not subscriptable

yt/utilities/lib/alt_ray_tracers.pyx:111: TypeError


This is likely due to the deprecation of nose style test support:
https://github.com/pytest-dev/pytest/issues/9886

** Affects: yt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch update-excuse
-- 
proposed-migration yt/4.3.0-1build1 vs pytest/8.2.1-2
https://bugs.launchpad.net/bugs/2068046
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list