#949612 PendingDeprecationWarning: isAlive() is deprecated, use is_alive() instead

Package:
apt-offline
Source:
apt-offline
Submitter:
dann frazier
Date:
2022-06-15 17:39:03 UTC
Severity:
normal
Tags:
#949612#5
Date:
2020-01-22 20:09:43 UTC
From:
To:
apt-offline reports a PendingDeprecationWarning as shown below:

$ apt-offline get apt-offline.sig --bundle update.zip

Fetching APT Data

Downloading flash-kernel - 30 KiB
flash-kernel done
Traceback (most recent call last):
  File "/usr/bin/apt-offline", line 28, in <module>
    main()
  File "/usr/lib/python3/dist-packages/apt_offline_core/AptOfflineCoreLib.py", line 2211, in main
    args.func(args)
  File "/usr/lib/python3/dist-packages/apt_offline_core/AptOfflineCoreLib.py", line 1360, in fetcher
    ConnectThread.stopQueue(0.2)
  File "/usr/lib/python3/dist-packages/apt_offline_core/AptOfflineLib.py", line 674, in stopQueue
    if not thread.isAlive():
  File "/usr/lib/python3.7/threading.py", line 1113, in isAlive
    PendingDeprecationWarning, stacklevel=2)
PendingDeprecationWarning: isAlive() is deprecated, use is_alive() instead
Downloading base-files - 58 KiB
base-files done
Downloading bash - 533 KiB

#949612#10
Date:
2020-01-27 09:54:38 UTC
From:
To:
Hello Dann,

Thank you for the report.

This has already been fixed in my git repo. apt-offline is pending a
new release/upload, version 1.8.2, which has many more fixes including
APT metadata validation (DBUG: #871656).

I hope I can do a release soon (has been pending on my todo list since
December).


Thanks,
Ritesh
-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

#949612#17
Date:
2022-06-14 21:39:24 UTC
From:
To:
Package: apt-offline
Version: 1.8.2
Tags: upstream
Usertags: gardening

Meanwhile 1.8.2 is in Debian (buster), this bug should be resolved.

#949612#22
Date:
2022-06-15 17:33:32 UTC
From:
To:
Package: apt-offline
Version: 1.8.2-1
Tags: upstream
Usertags: gardening
User: info@guillaume-d.info

Last try to make this bug disappear from Outstanding bugs...