- **status**: unassigned --> assigned
- **assigned_to**: Thang Duc Nguyen



---

**[tickets:#3372] pyosaf: import abstract base classes (ABCs) fails on python 
3.10+**

**Status:** assigned
**Milestone:** 5.25.04
**Created:** Wed May 14, 2025 12:57 AM UTC by Thang Duc Nguyen
**Last Updated:** Wed May 14, 2025 12:57 AM UTC
**Owner:** Thang Duc Nguyen
**Attachments:**

- 
[pyosaf.patch](https://sourceforge.net/p/opensaf/tickets/3372/attachment/pyosaf.patch)
 (1.3 kB; application/octet-stream)


The errors looked like
`ImportError: cannot import name 'Iterator' from 'collections'`
It is due to in Python 3.10 and later, several abstract base classes (ABCs) — 
like Iterable, Iterator, Mapping, Sequence, etc. — were fully removed from the 
main collections module. 
These classes were moved to collections.abc in Python 3.3.
Patch attach for reference.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to