What's Changed
Bug Fixes
- Python 3.11 Compatibility: Fixed import error for
collections.abc.Bufferwhich was introduced in Python 3.12- Added fallback to
bytestype for Python versions < 3.12 - Ensures PyneCore works correctly on Python 3.11 (minimum supported version)
- Resolves ImportError when running on older Python versions
- Added fallback to
Technical Details
The Buffer type was added to collections.abc in Python 3.12 as part of PEP 688. This release adds a compatibility layer that:
- Uses the native
Buffertype on Python 3.12+ - Falls back to
byteson Python 3.11 - Maintains full functionality across all supported Python versions