Edgewall Software
Modify

#13511 closed defect (fixed)

imp module is deprecated in favour of importlib and slated for removal in Python 3.12

Reported by: Jun Omae Owned by: Jun Omae
Priority: normal Milestone: 1.5.4
Component: general Version:
Severity: normal Keywords: python3.12
Cc: Branch:
Release Notes:

Use importlib rather than deprecated imp to load *.py plugin files.

API Changes:
Internal Changes:

Description

See https://docs.python.org/3/library/imp.html?highlight=Deprecated%20since

trac/loader.py:18: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
  import imp

Attachments (0)

Change History (2)

comment:1 by Jun Omae, 16 months ago

Milestone: 1.61.5.4
Owner: set to Jun Omae
Status: newassigned

comment:2 by Jun Omae, 16 months ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Fixed in [17645].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.