4 Commits

Author SHA256 Message Date
e2142f5e5a Accepting request 1284631 from devel:languages:python
- Update to 1.28.0:
  * Changes:
    + Remove hypothesis test dependency
    + Release the input buffer passed to ImageSurface.create_for_data() when
      calling Surface.finish() already, not just when the underlying surface
      is destroyed
    + Return a PathDataType (int subtype) instead of int with Path.__iter__()
    + Emit a DeprecationWarning in case ImageSurface.get_data() is called on
      an already finished surface.
    + Emit a DeprecationWarning for the undocumented num_glyphs parameter in
      Context.glyph_extents(), Context.glyph_path(), Context.show_glyphs(),
      ScaledFont.glyph_extents()
  * Fixes:
    + Remove the executable bit from cairo/__init__.py
    + Remove usage of removed typing.ByteString to fix compatibility with
      Python 3.14.0a1
    + Drop support for Python 3.8
    + Port PEP517/wheel build from setuptools to meson-python.
    + meson: install the package metadata to .dist-info/METADATA instead
      of .egg-info

OBS-URL: https://build.opensuse.org/request/show/1284631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=16
2025-06-11 14:19:03 +00:00
11157d53b2 - Update to 1.28.0:
* Changes:
    + Remove hypothesis test dependency
    + Release the input buffer passed to ImageSurface.create_for_data() when
      calling Surface.finish() already, not just when the underlying surface
      is destroyed
    + Return a PathDataType (int subtype) instead of int with Path.__iter__()
    + Emit a DeprecationWarning in case ImageSurface.get_data() is called on
      an already finished surface.
    + Emit a DeprecationWarning for the undocumented num_glyphs parameter in
      Context.glyph_extents(), Context.glyph_path(), Context.show_glyphs(),
      ScaledFont.glyph_extents()
  * Fixes:
    + Remove the executable bit from cairo/__init__.py
    + Remove usage of removed typing.ByteString to fix compatibility with
      Python 3.14.0a1
    + Drop support for Python 3.8
    + Port PEP517/wheel build from setuptools to meson-python.
    + meson: install the package metadata to .dist-info/METADATA instead
      of .egg-info

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=32
2025-06-11 06:17:26 +00:00
ab84db5a01 Accepting request 1190484 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1190484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycairo?expand=0&rev=15
2024-07-31 11:28:52 +00:00
b893154452 Accepting request 1190285 from home:glaubitz:branches:devel:languages:python
- Update to 1.26.1
  * 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`

OBS-URL: https://build.opensuse.org/request/show/1190285
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycairo?expand=0&rev=30
2024-07-30 12:42:18 +00:00
4 changed files with 5 additions and 24 deletions

3
pycairo-1.28.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:26ec5c6126781eb167089a123919f87baa2740da2cca9098be8b3a6b91cc5fbc
size 662477

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3f7fde97325cae80224c09f12564ef58d0d0f655da0e3b040f5807bd5bd3142
size 665871

View File

@@ -1,22 +1,3 @@
-------------------------------------------------------------------
Mon Jan 26 08:19:39 UTC 2026 - Dirk Müller <dmueller@suse.com>
- update to 1.29.0:
* :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`
-------------------------------------------------------------------
Wed Jun 11 05:52:55 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycairo
#
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?sle15_python_module_pythons}
%define oldpython python
Name: python-pycairo
Version: 1.29.0
Version: 1.28.0
Release: 0
Summary: Python Bindings for Cairo
License: LGPL-2.1-or-later OR MPL-1.1