Opened 6 months ago

Closed 6 months ago

#21976 closed enhancement (fixed)

pycairo-1.28.0

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 12.4
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version

Change History (3)

comment:1 by Douglas R. Reno, 6 months ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 6 months ago

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.

1.28.0

1.28.0 - 2025-04-14

    Changes:

            Remove hypothesis test dependency #398

            Updated cairo in Windows wheels from 1.18.2 to 1.18.4 #393

            Provide arm64 Windows wheels again

            Release the input buffer passed to ImageSurface.create_for_data() when 
calling Surface.finish() already, not just when the underlying surface is destroyed #405 
#392

            Return a PathDataType (int subtype) instead of int with Path.__iter__() 
#410. This was missed in the 1.13.0 enum change.

            Emit a DeprecationWarning in case ImageSurface.get_data() is called on an 
already finished surface #400 #412. In a future version this will raise an exception 
instead.

            Emit a DeprecationWarning for the undocumented num_glyphs parameter in 
Context.glyph_extents(), Context.glyph_path(), Context.show_glyphs(), 
ScaledFont.glyph_extents() #409

    Fixes:

            Remove the executable bit from cairo/__init__.py #383

            Remove usage of removed typing.ByteString to fix compatibility with Python 
3.14.0a1 #389

            docs: Fix pygame integration example using the wrong format #411

    Typing fixes (no API changes, just type annotations):

            Include os.PathLike for parameters accepting file paths #401

            For ImageSurface.create_for_data() include all writable buffer types and not 
just memoryview #402

            Add missing Optional for Surface.set_mime_data(), SVGSurface.__init__() 
PDFSurface.__init__(), PSSurface.__init__(), RecordingSurface.__init__() #404

            Add various missing Path dunder methods like __iter__, __eq__, __lt__, etc. 
#408

            Add missing __getitem__ and __mul__ for Matrix #408
Last edited 6 months ago by Douglas R. Reno (previous) (diff)

comment:3 by Douglas R. Reno, 6 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.