Skip to content

v2.0

Latest
Compare
Choose a tag to compare
@laurence-myers laurence-myers released this 03 Mar 02:39
06ad45e

What's Changed

  • Add support for Python 3.8 and higher (including, but not limited to: 3.9, 3.10, and 3.11)
  • Remove support for Python 2.7 and lower
  • Build and publish to PyPI via CI (GitHub Actions), using cibuildwheel
    • Wheels are now available for every supported combination of:
      • OS (Windows, Linux, macOS)
      • Architecture (win32, amd64)
      • Python version (3.8, 3.9, 3.10, 3.11+)
      • Python runtime (CPython, PyPy)
  • From CPython 3.11 upwards, wheels are built using the Limited API (Stable ABI). This means all future version of CPython should be supported by the wheel for CPython 3.11.
    • PyPy only supports up to Python 3.10 at the moment, so we might need to build another wheel in the future.
  • Add a basic regression test, run after building each wheel
  • Updates to support publishing to PyPI: replace setup.py with pyproject.toml
  • pyopl.pyi: added a type hint bytearray for buffer argument

Contributors

  • @adambiser implemented support for Python 3
  • @laurence-myers added CI builds, publishing to PyPI, Limited API builds, and a regression test.

Full Changelog: https://github.com/Malvineous/pyopl/commits/release/2.0