Your message dated Fri, 11 Apr 2025 00:05:46 +0000
with message-id <e1u31ty-000xz7...@fasolo.debian.org>
and subject line Bug#1088876: fixed in python-xsdata 24.1-2
has caused the Debian Bug report #1088876,
regarding Missing dependency on python3-ruff / ruff
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 ow...@bugs.debian.org
immediately.)


-- 
1088876: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088876
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: xsdata
Version: 24.1-1

Running xsdata on an XSD file produces the following output:

[...]
Builder: 67 main and 6 inner classes
Analyzer input: 114 main and 8 inner classes
Analyzer output: 67 main and 3 inner classes
Generating package: init
Traceback (most recent call last):
  File "/usr/bin/xsdata", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/xsdata/cli.py", line 143, in generate
    transformer.process(uris, cache=cache)
  File "/usr/lib/python3/dist-packages/xsdata/codegen/transformer.py", line 
113, in process
    self.process_classes()
  File "/usr/lib/python3/dist-packages/xsdata/codegen/transformer.py", line 
221, in process_classes
    writer.write(classes)
  File "/usr/lib/python3/dist-packages/xsdata/codegen/writer.py", line 40, in 
write
    src_code = self.ruff_code(header + result.source, result.path)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/xsdata/codegen/writer.py", line 87, in 
ruff_code
    result = subprocess.run(
             ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ruff'

The xsdata package depends on python3-click, python3-click-default-group,
python3-docformatter, python3-jinja2, python3-toposort, python3-xsdata (= 
24.1-1), python3:any.
It seems that it is missing a dependency on the ruff package.

With python3-ruff installed, the package works as expected.

--- End Message ---
--- Begin Message ---
Source: python-xsdata
Source-Version: 24.1-2
Done: Santiago Vila <sanv...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-xsdata, 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 1088...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanv...@debian.org> (supplier of updated python-xsdata 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Fri, 11 Apr 2025 01:55:48 +0200
Source: python-xsdata
Architecture: source
Version: 24.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Santiago Vila <sanv...@debian.org>
Closes: 1088876
Changes:
 python-xsdata (24.1-2) unstable; urgency=medium
 .
   * Team upload.
   [ Adrian Bunk ]
   * python3-xsdata: Depend on ruff. Closes: #1088876.
   * autopkgtest: skip-not-installable
Checksums-Sha1:
 cba7e2aebfbc25770bbe5623a6862f1964b6e77d 2515 python-xsdata_24.1-2.dsc
 dbb509e7e0eef6c95e8f07b319b9645e1219a5e0 6632 
python-xsdata_24.1-2.debian.tar.xz
 e193866fefd6ae91b15d2887cadec08bbebf4084 7963 
python-xsdata_24.1-2_source.buildinfo
Checksums-Sha256:
 39fda0e0ecdc83580c8524e5433071d10b9d1ab9d0c5644da6ebbc3063745fa2 2515 
python-xsdata_24.1-2.dsc
 db9e67c9ddd105361ced41db3e2854830364439d3fdd64b4cd017e8d33f0f845 6632 
python-xsdata_24.1-2.debian.tar.xz
 4056084019a92fad1d881d87af7d102eae2ef6f8d7c751b52aa0212fc5ede0f2 7963 
python-xsdata_24.1-2_source.buildinfo
Files:
 337f5b415f149bfd5c239462f59d3c08 2515 python optional python-xsdata_24.1-2.dsc
 ad4a5086fa99c2bdd48da65d5d28c630 6632 python optional 
python-xsdata_24.1-2.debian.tar.xz
 d9033287c4684158c1e497a31ac28376 7963 python optional 
python-xsdata_24.1-2_source.buildinfo

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

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmf4W6kACgkQQc5/C58b
izIouAf+K0OAFR3Vqf4U10BwU4kqMGXWfMtLR+MXEBEyLmq0AW6rXxnOujt2Y0TF
k26Wh5thMVkYQqH2gcn/wu4QnufycmeC54IZTcDw0VtiHIxBkIWkWwW+8AUpEZcW
ByoXgFfuVAp94cLHxBx0e+AE8OGLmizdd76jb1kOD74TL3SKDrOBIpOHZUhS4jW/
dU7mbUdVnv7fy1ZgUeyDArQ1EKZE1VV3mPQv3OxesYecL8FlP1Hal/pAh74EjL6F
BcN42hQRmbhwYcMoYz6VGIasPANc+VLwCpAl0Zqz+QsY/4mcsJsEwApPYaRUkl3x
+U719KEMnWIm0nwEdHy67hdgR3uehA==
=Ucb1
-----END PGP SIGNATURE-----

Attachment: pgphMuQW0IR_N.pgp
Description: PGP signature


--- End Message ---

Reply via email to