importlib_metadata 4.8.0 breaks stevedore

Bug #1941991 reported by William Edwards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
stevedore
Fix Released
High
Stephen Finucane

Bug Description

importlib_metadata 4.8.0 was released a few hours ago, which contains https://github.com/python/importlib_metadata/pull/339 . This breaks stevedore: https://github.com/python/importlib_metadata/issues/348 . The comment https://github.com/python/importlib_metadata/pull/339#issuecomment-907714559 implies a final decision is not made yet, so maybe stevedore should depend on importlib_metadata 4.7.1 for now.

Revision history for this message
frigo (rigault-francois) wrote :

It was fixed with https://github.com/python/importlib_metadata/commit/177d5500ea3618c5c699e2ddd6451fa8dccd1261

however the commit implies we are using a deprecated method to access members.

Revision history for this message
Jason R. Coombs (jaraco) wrote :

It doesn't imply the method is deprecated - it specifically deprecates it. The method was never explicitly supported (no tests exercised that behavior) and the interface was available incidentally as a consequence of using 'namedtuple'.

I created https://github.com/openstack/stevedore/pull/4 as an example of how to avoid the deprecation warning.

Revision history for this message
Stephen Finucane (stephenfinucane) wrote :
Changed in python-stevedore:
status: New → Fix Released
importance: Undecided → High
assignee: nobody → Stephen Finucane (stephenfinucane)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.