Up to [cvs.NetBSD.org] / pkgsrc / graphics / py-cairo
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-cairo: update to 1.29.2. 1.29.2 - 2026-10-04 ------------------- * Update dependencies (cairo 1.18.4 -> 1.18.6) for the Windows wheels :pr:`448`
py-cairo: update to 1.29.1. .. _v1.29.1: 1.29.1 - 2026-08-07 ------------------- * Update dependencies (libpng, zlib) for the Windows wheels :pr:`442` * Fix documentation build with Python 3.15 :pr:`441` * Build wheels for Python 3.15 (except for 32bit Windows) :pr:`444` * Fix a memory leak in :meth:`ScaledFont.text_to_glyphs` :pr:`446` * Fix some minor reference leaks :pr:`447`
py-cairo: update to 1.29.0. 1.29.0 - 2025-11-11 ------------------- * :meth:`ImageSurface.get_data`: Return empty memoryview for empty image :pr:`418` * :meth:`ImageSurface.create_for_data`: support empty images :pr:`419` * Drop support for Python 3.9 :pr:`428` * Drop support for PyPy 3.10 * Support multi-phase init :pr:`413` * Experimental support for free-threaded Python :pr:`430` :pr:`429` * Update dependencies (libpng, pixman) for the Windows wheels :pr:`431` * build: add "no-x11" option to disable X11 surface support :pr:`432` :issue:`420` * dev: support uv for development :pr:`433`
py-cairo: update to 1.28.0.
1.28.0 - 2025-04-14
-------------------
* Changes:
* Remove hypothesis test dependency :pr:`398`
* Updated cairo in Windows wheels from 1.18.2 to 1.18.4 :pr:`393`
* Release the input buffer passed to :meth:`ImageSurface.create_for_data`
when calling :meth:`Surface.finish` already, not just when the underlying
surface is destroyed :pr:`405` :bug:`392`
* Return a :class:`PathDataType` (:class:`int` subtype) instead of
:class:`int` with :meth:`Path.__iter__` :pr:`410`. This was missed in the
1.13.0 enum change.
* Emit a :class:`DeprecationWarning` in case :meth:`ImageSurface.get_data`
is called on an already finished surface :pr:`400` :pr:`412`. In a future
version this will raise an exception instead.
* Emit a :class:`DeprecationWarning` for the undocumented ``num_glyphs``
parameter in :meth:`Context.glyph_extents`, :meth:`Context.glyph_path`,
:meth:`Context.show_glyphs`, :meth:`ScaledFont.glyph_extents` :pr:`409`
* Fixes:
* Remove the executable bit from `cairo/__init__.py` :pr:`383`
* Remove usage of removed ``typing.ByteString`` to fix compatibility with
Python 3.14.0a1 :pr:`389`
* docs: Fix pygame integration example using the wrong format :pr:`411`
* Typing fixes (no API changes, just type annotations):
* Include `os.PathLike` for parameters accepting file paths :pr:`401`
* For :meth:`ImageSurface.create_for_data` include all writable buffer types
and not just :class:`memoryview` :pr:`402`
* Add missing `Optional` for :meth:`Surface.set_mime_data`,
:meth:`SVGSurface.__init__` :meth:`PDFSurface.__init__`,
:meth:`PSSurface.__init__`, :meth:`RecordingSurface.__init__` :pr:`404`
* Add various missing :class:`Path` dunder methods like `__iter__`,
`__eq__`, `__lt__`, etc. :pr:`408`
* Add missing `__getitem__` and `__mul__` for :class:`Matrix` :pr:`408`
py-cairo*: update to 1.27.0 1.27.0 - 2024-09-06 ------------------- This release only contains build related changes/fixes and no API changes. * Drop support for Python 3.8 * Add Windows wheels for Python 3.13 * Updated cairo in Windows wheels from 1.18.0 to 1.18.2 * Port PEP517/wheel build from setuptools to meson-python. This means setup.py is gone. System packagers should not switch to wheel builds and continue using meson directly. * meson: install the package metadata to .dist-info/METADATA instead of .egg-info * Drop arm64 Windows wheels again. pypa/cibuildwheel does not support cross compiling with meson-python. They might be added back in the future if GitHub Actions gains a native Windows runner with arm64 support.
py-cairo*: update to 1.26.1 1.26.1 - 2024-06-21 ------------------- * Fix Surface.set_mime_data() with Python 3.13 :pr:`366` This also fixes the test suite with Python 3.13b2. * Update vendored Windows wheel dependencies :pr:`370`
py-cairo*: update to 1.26.0 1.26.0 - 2024-02-11 ------------------- This release only contains build related changes/fixes and no API changes. * Bump minimum required meson version from 0.56.0 to 0.64.0 :pr:`346` * Various meson related cleanups :pr:`350` * Fix header file being installed to the wrong location with meson on some systems :pr:`350` * Adds a new ``wheel`` meson build option as preparation for meson-python support :pr:`350` :pr:`345` * Update dependencies (libpng, pixman, zlib) of the Windows wheels :pr:`358` * Various maintenance related updates :pr:`360` :pr:`359` :pr:`361` :pr:`362`
py-cairo{,-shared}: split non python version specific files
into a separate package (py-cairo-shared) and convert back to wheel.mk