Your message dated Wed, 03 Jul 2024 13:34:35 +0000
with message-id <[email protected]>
and subject line Bug#1074630: fixed in xrayutilities 1.7.8-1
has caused the Debian Bug report #1074630,
regarding xrayutilities: fails tests with matplotlib 3.8
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1074630: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074630
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xrayutilities
Version: 1.7.4-1
Severity: normal

xrayutilities is failing tests with matplotlib 3.8 from experimental

470s _________________ TestExampleScripts.test_simpack_powdermodel 
__________________
470s 
470s self = <test_examples.TestExampleScripts 
testMethod=test_simpack_powdermodel>
470s 
470s     def test(self):
470s         with tempfile.TemporaryFile(mode='w') as fid:
470s             env = os.environ.copy()
470s             env['MPLBACKEND'] = 'agg'
470s             cmd = [sys.executable, scriptname]
470s >           subprocess.run(cmd, env=env, cwd=scriptdir, stdout=fid,
470s                            check=True)
470s 
470s tests/test_examples.py:78: 
470s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
470s 
470s input = None, capture_output = False, timeout = None, check = True
470s popenargs = (['/usr/bin/python3.11', 'simpack_powdermodel.py'],)
470s kwargs = {'cwd': 
'/tmp/autopkgtest-lxc.jsvdm1mu/downtmp/autopkgtest_tmp/tests/../examples', 
'env': {'ADTTMP': 
'/tmp/autopkgtest...topkgtest-lxc.jsvdm1mu/downtmp/autopkgtest_tmp', ...}, 
'stdout': <_io.TextIOWrapper name=12 mode='w' encoding='UTF-8'>}
470s process = <Popen: returncode: 1 args: ['/usr/bin/python3.11', 
'simpack_powdermodel.py']>
470s stdout = None, stderr = None, retcode = 1
470s 
470s     def run(*popenargs,
470s             input=None, capture_output=False, timeout=None, check=False, 
**kwargs):
470s         """Run command with arguments and return a CompletedProcess 
instance.
470s     
470s         The returned instance will have attributes args, returncode, 
stdout and
470s         stderr. By default, stdout and stderr are not captured, and those 
attributes
470s         will be None. Pass stdout=PIPE and/or stderr=PIPE in order to 
capture them,
470s         or pass capture_output=True to capture both.
470s     
470s         If check is True and the exit code was non-zero, it raises a
470s         CalledProcessError. The CalledProcessError object will have the 
return code
470s         in the returncode attribute, and output & stderr attributes if 
those streams
470s         were captured.
470s     
470s         If timeout is given, and the process takes too long, a 
TimeoutExpired
470s         exception will be raised.
470s     
470s         There is an optional argument "input", allowing you to
470s         pass bytes or a string to the subprocess's stdin.  If you use this 
argument
470s         you may not also use the Popen constructor's "stdin" argument, as
470s         it will be used internally.
470s     
470s         By default, all communication is in bytes, and therefore any 
"input" should
470s         be bytes, and the stdout and stderr will be bytes. If in text 
mode, any
470s         "input" should be a string, and stdout and stderr will be strings 
decoded
470s         according to locale encoding, or by "encoding" if set. Text mode is
470s         triggered by setting any of text, encoding, errors or 
universal_newlines.
470s     
470s         The other arguments are the same as for the Popen constructor.
470s         """
470s         if input is not None:
470s             if kwargs.get('stdin') is not None:
470s                 raise ValueError('stdin and input arguments may not both 
be used.')
470s             kwargs['stdin'] = PIPE
470s     
470s         if capture_output:
470s             if kwargs.get('stdout') is not None or kwargs.get('stderr') is 
not None:
470s                 raise ValueError('stdout and stderr arguments may not be 
used '
470s                                  'with capture_output.')
470s             kwargs['stdout'] = PIPE
470s             kwargs['stderr'] = PIPE
470s     
470s         with Popen(*popenargs, **kwargs) as process:
470s             try:
470s                 stdout, stderr = process.communicate(input, 
timeout=timeout)
470s             except TimeoutExpired as exc:
470s                 process.kill()
470s                 if _mswindows:
470s                     # Windows accumulates the output in a single blocking
470s                     # read() call run on child threads, with the timeout
470s                     # being done in a join() on those threads.  
communicate()
470s                     # _after_ kill() is required to collect that and add it
470s                     # to the exception.
470s                     exc.stdout, exc.stderr = process.communicate()
470s                 else:
470s                     # POSIX _communicate already populated the output so
470s                     # far into the TimeoutExpired exception.
470s                     process.wait()
470s                 raise
470s             except:  # Including KeyboardInterrupt, communicate handled 
that.
470s                 process.kill()
470s                 # We don't call process.wait() as .__exit__ does that for 
us.
470s                 raise
470s             retcode = process.poll()
470s             if check and retcode:
470s >               raise CalledProcessError(retcode, process.args,
470s                                          output=stdout, stderr=stderr)
470s E               subprocess.CalledProcessError: Command 
'['/usr/bin/python3.11', 'simpack_powdermodel.py']' returned non-zero exit 
status 1.
470s 
470s /usr/lib/python3.11/subprocess.py:571: CalledProcessError
470s ----------------------------- Captured stderr call 
-----------------------------
470s Traceback (most recent call last):
470s   File 
"/tmp/autopkgtest-lxc.jsvdm1mu/downtmp/autopkgtest_tmp/examples/simpack_powdermodel.py",
 line 137, in <module>
470s     main()
470s   File 
"/tmp/autopkgtest-lxc.jsvdm1mu/downtmp/autopkgtest_tmp/examples/simpack_powdermodel.py",
 line 128, in main
470s     xu.simpack.plot_powder(tt, det, pm, scale='sqrt', mask=mask)
470s   File 
"/usr/lib/python3/dist-packages/xrayutilities/simpack/powdermodel.py", line 
584, in plot_powder
470s     sim.plot(twotheta[mask], label=labelsim, formatspec=formatsim, ax=ax)
470s   File 
"/usr/lib/python3/dist-packages/xrayutilities/simpack/powdermodel.py", line 
420, in plot
470s     tax.figure.texts.append(tax.texts.pop())
470s                             ^^^^^^^^^^^^^
470s AttributeError: 'ArtistList' object has no attribute 'pop'

--- End Message ---
--- Begin Message ---
Source: xrayutilities
Source-Version: 1.7.8-1
Done: Alexandre Detiste <[email protected]>

We believe that the bug you reported is fixed in the latest version of
xrayutilities, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <[email protected]> (supplier of updated xrayutilities package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 03 Jul 2024 14:18:43 +0200
Source: xrayutilities
Architecture: source
Version: 1.7.8-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PaN Maintainers 
<[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1038288 1058969 1074630
Changes:
 xrayutilities (1.7.8-1) unstable; urgency=medium
 .
   * Team Upload
   * New upstream version 1.7.8 (Closes: #1074630)
   * Remove obsolete python3-unittest2 build dependency (Closes: #1058969)
   * Drop transitional package xrayutilities (Closes: #1038288)
   * Apply Multi-Arch hint
   * Remove dh-python dependency duplicated by dh-sequence-python3
   * Refresh patches
Checksums-Sha1:
 3d191513fdac70dd68957ca7307d2ffc4bd916c6 2713 xrayutilities_1.7.8-1.dsc
 c133e76cf9eb1191a8974ac9ade4d332ad5800b5 9124089 
xrayutilities_1.7.8.orig.tar.gz
 147668133a6bb45cfe797d6d08922864346e6d24 4760 
xrayutilities_1.7.8-1.debian.tar.xz
 aaf578cf479b8061bc89adbf0893afc7b82bded3 12519 
xrayutilities_1.7.8-1_source.buildinfo
Checksums-Sha256:
 c00a751456510db6ad11ff75001e3bb736f1dec5ca0300199fcebfb7d8c2dd8b 2713 
xrayutilities_1.7.8-1.dsc
 63fd635b1113601e163c29005d0ee1409e4551556f495fcef0a413c241fd232f 9124089 
xrayutilities_1.7.8.orig.tar.gz
 d4227b3bcbf5863e3263b63a9b65c0b490afeccce9ea247e0760f97745a47af9 4760 
xrayutilities_1.7.8-1.debian.tar.xz
 c118db02ed2d5a8bb82ccee593bd7dd697c6a3c2dd28ad9c4da257c48a2455af 12519 
xrayutilities_1.7.8-1_source.buildinfo
Files:
 682a70c64daabfe2a8a23b1031c71869 2713 science optional 
xrayutilities_1.7.8-1.dsc
 04c343904c3858101b2a7ec48d398198 9124089 science optional 
xrayutilities_1.7.8.orig.tar.gz
 ab3d051a2de1f6093396c8bb44895e1c 4760 science optional 
xrayutilities_1.7.8-1.debian.tar.xz
 33a7fc47cbe7c4d94f1078b350918fd0 12519 science optional 
xrayutilities_1.7.8-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmaFTgURHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBoebQ//a6oKcB0KT2QyfEBLYrvdpo2VnJz8gz2T
iTqjLG4rzu8gJZEfc7kB/KOt8Kkun0L/9U8OyZdJPfr4bs3du8v/S4OYS0IIZgWY
2qMZH+9AopWR72lrcrJSQGlM+3TzyU7SsBDRtZOocg/Sr6f099Hn0hrtwVVTZG9g
s6/OdnMJZjIeHByiz+GFuctnweLZnotnf6lOf+mkjKtNudHd+EcwP3a3FGQE3gfj
vsk3/bYtNUqzfz49tmxyRwbxkBaX2cC9hMts638aygeU9usEO6kxZQe8ovN0aFPF
rJJ/LLgyneD6Yiy8BH5x5zePiaZ7KDUhZWtQUc/tbFVgHTQulTggqLNaNmRAfi2e
zeaT4jO567tCaK+ZGQOuN9VRUndruGgtYs9TP9ezuKk+8nm5c9CPIntGR0vV4i+m
CICadGbKPGqwIfZ4bhjmQvea766MUp120HS4HQTl/IFgnSUDeD0h0t7RImZ0Pxx4
n0c2g6OJQx2RAiQGjcuEFWzUMlGp7gg/BJCLTUI/APKX2kla4Y4bOG8NyOibPHYh
4+OteHwC7cYlInTdMBwo1tybqrMjbcdkULC5BzQ66Le0JdEOqj8euAq96Iy9tU+w
w71Mj0FPJtylMN7roGuP17wZhTYI76pM7BdysOU1RRNzdB53klV/pkB7rJs2jU2O
ucnZIymzYtk=
=QXYb
-----END PGP SIGNATURE-----

Attachment: pgpUZttoDnb_J.pgp
Description: PGP signature


--- End Message ---

Reply via email to