This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Anthony Sottile
Recipients Anthony Sottile, barry-scott, brandtbucher, miss-islington, paul.moore, python-dev, steve.dower, tim.golden, zach.ware
Date 2020-04-15.19:47:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586980024.01.0.0156691300932.issue40260@roundup.psfhosted.org>
In-reply-to
Content
This patch has broken debian's builds due to use of modulefinder -- notably the type of `file_info` changed as a side-effect of this patch and is now causing:

../debian/pymindeps.py:29: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
Traceback (most recent call last):
  File "../debian/pymindeps.py", line 185, in <module>
    main(sys.argv[1:])
  File "../debian/pymindeps.py", line 178, in main
    mf.run_script(arg)
  File "/tmp/code/Lib/modulefinder.py", line 163, in run_script
    self.load_module('__main__', fp, pathname, stuff)
  File "../debian/pymindeps.py", line 91, in load_module
    suffix, mode, type = file_info
ValueError: not enough values to unpack (expected 3, got 2)


This is breaking python3.8 and python3.9 (should I open a separate issue or is it ok to continue discussion here?)
History
Date User Action Args
2020-04-15 19:47:04Anthony Sottilesetrecipients: + Anthony Sottile, barry-scott, paul.moore, tim.golden, python-dev, zach.ware, steve.dower, miss-islington, brandtbucher
2020-04-15 19:47:04Anthony Sottilesetmessageid: <1586980024.01.0.0156691300932.issue40260@roundup.psfhosted.org>
2020-04-15 19:47:04Anthony Sottilelinkissue40260 messages
2020-04-15 19:47:03Anthony Sottilecreate