Your message dated Thu, 29 Jun 2023 08:39:06 +0000
with message-id <[email protected]>
and subject line Bug#1038031: fixed in migrate 0.13.0-4
has caused the Debian Bug report #1038031,
regarding python3-migrate: python 3.11 compatiblity
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.)


-- 
1038031: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038031
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-migrate
Version: 0.13.0-3
Severity: grave
Tags: patch
Justification: renders package unusable
X-Debbugs-Cc: [email protected]

Dear Maintainer,

When executing migrate on python 3.11 the following error is produced due to 
the deprecation of inspect.getargspec

  File 
"/nix/store/7a8iky58c7smv24ybgw4x592c9hn7rny-python3.11-sqlalchemy-migrate-0.13.0/lib/python3.11/site-packages/migrate/versioning/shell.py",
 line 111, in main
     f_args, f_varargs, f_kwargs, f_defaults = inspect.getargspec(command_func)
                                               ^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 
'getargs'?


the fix is as simple as replacing line 111 of shell.py by:

f_args, f_varargs, f_kwargs, f_defaults, _, _, _ = 
inspect.getfullargspec(command_func)

Also see upstream project bug:
https://bugs.launchpad.net/sqlalchemy-migrate/+bug/2003619


-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 6.1.0-7-arm64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-migrate depends on:
ii  python3             3.11.2-1+b1
ii  python3-decorator   5.1.1-3
ii  python3-pbr         5.10.0-2
ii  python3-six         1.16.0-4
ii  python3-sqlalchemy  1.4.46+ds1-1
ii  python3-sqlparse    0.4.2-1
ii  python3-tempita     0.5.2-7

python3-migrate recommends no packages.

Versions of packages python3-migrate suggests:
pn  python-migrate-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: migrate
Source-Version: 0.13.0-4
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
migrate, 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.
Thomas Goirand <[email protected]> (supplier of updated migrate 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: SHA256

Format: 1.8
Date: Thu, 29 Jun 2023 09:21:26 +0200
Source: migrate
Architecture: source
Version: 0.13.0-4
Distribution: unstable
Urgency: high
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1038031
Changes:
 migrate (0.13.0-4) unstable; urgency=high
 .
   * Add use-getfullargspec-instead-of-getargspec.patch (Closes: #1038031).
   * Add another fix in remove-tempest-lib-build-depends-from-upstream.patch.
Checksums-Sha1:
 facf182fdbae93a290be6e390d0436de3ba95ff5 2510 migrate_0.13.0-4.dsc
 0d61a17d3ce3240711575215d68ca1cf6158ee76 12832 migrate_0.13.0-4.debian.tar.xz
 f2bccfbe9e399153db6e1e5de96e8d42044fbf3d 10280 migrate_0.13.0-4_amd64.buildinfo
Checksums-Sha256:
 4b9839165d2542cc1f55109720bb14675c0f27b36cd30b5ee5caeef925c894ef 2510 
migrate_0.13.0-4.dsc
 820ff1d87307690706afc36f2c4a7324c8785e87bb43c95dd54f673aa6c1d258 12832 
migrate_0.13.0-4.debian.tar.xz
 c54c5e346dedae0058d575e3d90fdf135556a0b5f31857b05b74d86fe39e05c9 10280 
migrate_0.13.0-4_amd64.buildinfo
Files:
 6421e5918a2c4c6568c9bd6b858b6129 2510 python optional migrate_0.13.0-4.dsc
 ec1555ec80b4a31df4f3bfce3b9882c1 12832 python optional 
migrate_0.13.0-4.debian.tar.xz
 728e3afa8933c3cf737b2383793b532f 10280 python optional 
migrate_0.13.0-4_amd64.buildinfo

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

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmSdNHsACgkQ1BatFaxr
Q/7HaA/+P4MUOdKqzkKdwo/4Ad2bHr3Fp2HCeQh2uzFHx7KZQJRyPlupZtnh7hoG
1zdZefkU4hDlqUxYVuTMgQydmrvxt63ZBTdgbaFu8oQxG3K2/T8/OZ4obd0001BW
ATSMwhU6Ok6m0ftrgW7agckZvZxpDKJ1cJUcU6Zywa4dviZkDU981AG8Vo6NXFyT
102R400Y8+j9egAXUdFPXiQZPpVNvO6xw3QK/K9Tqn9e44hRBvNL7PrFo/9wFaqn
2h1NyugHtky8xrgOPVfBqNrtG1kdxBo3+rYcYX+uH/wMmCk62C28lzuhxUnFlmjv
0ADJ+NWHbcq0dsCvEjKWR6Im0tQA6ZcIra37LAqNG/IZrL2WYpBqKETgACff33Z5
wvdYE8DZTvE6PGrtyfwxjdyaa4QsDp5NaUxbov54GzkeVD+9eH1Ko9CsWkbtFXN7
5YA4b+e6dpuKGK9VdZhamoPZq+30iy3m3kqATz6Fh0d/1Xiw/52sYqA3xEziQTlv
SsSF/uy0jpneaj4W4J/ca8IBA8YLB+xijF4SO4UjFm24RImccKKeeAOKYLCM2zCc
dAsbubOZo/z7mdpTu0K51Mx7Yy8cUEqpKI5wtuUdYA+JX9/DMKe3NBe+fbx5vesA
1KF75Oz1GzJvDkawDskUI0ftLcuD1XoEIGfi+OV6vf4APJumXNk=
=99nl
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to