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

Launchpad Bug Tracker 2068046 at bugs.launchpad.net
Wed Jun 5 04:16:30 UTC 2024


This bug was fixed in the package yt - 4.3.0-1ubuntu1

---------------
yt (4.3.0-1ubuntu1) oracular; urgency=medium

  * d/p/test-alt-ray-tracers-pytest-module-funcs.patch (LP: #2068046)
    - Update test module for Pytest 8 compatibility

 -- Chris Peterson <chris.peterson at canonical.com>  Tue, 04 Jun 2024
10:45:36 -0700

** Changed in: yt (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2068046

Title:
  proposed-migration yt/4.3.0-1build1 vs pytest/8.2.1-2

Status in yt package in Ubuntu:
  Fix Released
Status in yt package in Debian:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/yt/+bug/2068046/+subscriptions




More information about the Ubuntu-sponsors mailing list