Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Fiona for openSUSE:Factory checked in at 2024-07-01 11:21:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Fiona (Old) and /work/SRC/openSUSE:Factory/.python-Fiona.new.18349 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Fiona" Mon Jul 1 11:21:17 2024 rev:4 rq:1184097 version:1.9.6 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Fiona/python-Fiona.changes 2023-02-27 12:55:12.323362466 +0100 +++ /work/SRC/openSUSE:Factory/.python-Fiona.new.18349/python-Fiona.changes 2024-07-01 11:21:58.558570076 +0200 @@ -1,0 +2,54 @@ +Wed Jun 19 19:49:34 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to 1.9.6 + * Ensure that geometry types in a schema are translated to a linear type, + as geometry instances are (#1313). + * Fix broken stable API documentation on Read The Docs (#). + * Remove install requirement of setuptools, a regression introduced in 1.9.5. +- from 1.9.5 + * Expand keys in schema mismatch exception, resolving #1278. + * Preserve the null properties and geometry of a Feature when serializing (#1276). + * The distribution name is now officially "fiona", not "Fiona". The import name + remains "fiona". + * Builds now require Cython >= 3.0.2 (#1276). + * PyPI wheels include GDAL 3.6.4, PROJ 9.0.1, and GEOS 3.11.2. + * PyPI wheels include curl 8.4.0, addressing CVE-2023-38545 and CVE-38546. + * PyPI wheels are now available for Python 3.12. +- from 1.9.4.post1 + * Extraneous files were unintentionally packaged in the 1.9.4 wheels. This + post1 release excludes them so that wheel contents are as in version 1.9.3. +- from 1.9.4 + * The performance of Feature.from_dict() has been improved (#1267). + * Several sources of meaningless log messages from fiona._geometry about NULL + geometries are avoided (#1264). + * The Parquet driver has been added to the list of supported drivers and will + be available if your system's GDAL library links libarrow. Note that fiona + wheels on PyPI do not include libarrow as it is rather large. + * Ensure that fiona._vendor modules are found and included. + * Bytes type feature properties are now hex encoded when serializing to GeoJSON (#1263). + * Docstrings for listdir and listlayers have been clarified and harmonized. + * Nose style test cases have been converted to unittest.TestCase (#1256). + * The munch package used by fio-filter and fio-calc is now vendored and patched + to remove usage of the deprecated pkg_resources module (#1255). +- from 1.9.3 + * Rasterio CRS objects are compatible with the Collection constructor and are + now accepted (#1248). + * Enable append mode for fio-load (#1237). + * Reading a GeoJSON with an empty array property can result in a segmentation + fault since version 1.9.0. This has been fixed (#1228). +- from 1.9.2 + * Get command entry points using importlib.metadata (#1220). + * Instead of warning, transform_geom() raises an exception when some points + can't be reprojected unless the caller opts in to partial reprojection. This + restores the behavior of version 1.8.22. + * Add support for open options to all CLI commands that call fiona.open (#1215). + * Fix a memory leak that can occur when iterating over a dataset using strides (#1205). + * ZipMemoryFile now supports zipped GDB data (#1203). +- Switch package to modern Python Stack on SLE-15 + + Use Python 3.11 on SLE-15 by default + + Drop support for older Python versions +- Update name for dist directory in %files section +- Cherry-pick upstream patch to fix build with GCC 14 + * https://github.com/Toblerity/Fiona/pull/1314.patch + +------------------------------------------------------------------- Old: ---- Fiona-1.9.1.tar.gz New: ---- 1314.patch fiona-1.9.6.tar.gz BETA DEBUG BEGIN: New:- Cherry-pick upstream patch to fix build with GCC 14 * https://github.com/Toblerity/Fiona/pull/1314.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Fiona.spec ++++++ --- /var/tmp/diff_new_pack.A1X9y7/_old 2024-07-01 11:21:59.066588583 +0200 +++ /var/tmp/diff_new_pack.A1X9y7/_new 2024-07-01 11:21:59.070588728 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Fiona # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,15 +16,17 @@ # -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-Fiona -Version: 1.9.1 +Version: 1.9.6 Release: 0 Summary: Module for reading and writing spatial data files License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/Toblerity/Fiona -Source: https://files.pythonhosted.org/packages/source/F/Fiona/Fiona-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/f/fiona/fiona-%{version}.tar.gz +# PATCH-FIX-UPSTREAM - Fix leak in set_proj_search_path +Patch: https://github.com/Toblerity/Fiona/pull/1314.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} @@ -58,9 +60,7 @@ BuildRequires: %{python_module pytz} BuildRequires: %{python_module six >= 1.7} # /SECTION -%ifpython3 Recommends: fiona-fio -%endif %python_subpackages %description @@ -78,7 +78,7 @@ using OGR's Fiona package. %prep -%autosetup -p1 -n Fiona-%{version} +%autosetup -p1 -n fiona-%{version} %build %pyproject_wheel @@ -106,7 +106,7 @@ %doc CHANGES.txt CREDITS.txt README.rst %license LICENSE.txt %{python_sitearch}/fiona -%{python_sitearch}/Fiona-%{version}*-info +%{python_sitearch}/fiona-%{version}*-info %files -n fiona-fio %license LICENSE.txt ++++++ 1314.patch ++++++ >From b6d6d9d7f11ba9ff6e3778832c4306ac0a8fab06 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade <quantum.anal...@gmail.com> Date: Sat, 2 Dec 2023 04:49:36 -0500 Subject: [PATCH] Fix leak in set_proj_search_path The `CSLAddString` function takes a `char *`, not a `const char *`, which may turn into an error on new GCC. It also allocates a new array when given `NULL`, which is _copied_ by `OSRSetPROJSearchPaths`, so it is leaked. --- fiona/_env.pyx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fiona/_env.pyx b/fiona/_env.pyx index f33f44e9f..af0603cc6 100644 --- a/fiona/_env.pyx +++ b/fiona/_env.pyx @@ -64,12 +64,13 @@ except ImportError: cdef bint is_64bit = sys.maxsize > 2 ** 32 cdef void set_proj_search_path(object path): - cdef const char **paths = NULL + cdef char **paths = NULL cdef const char *path_c = NULL path_b = path.encode("utf-8") path_c = path_b paths = CSLAddString(paths, path_c) - OSRSetPROJSearchPaths(paths) + OSRSetPROJSearchPaths(<const char *const *>paths) + CSLDestroy(paths) cdef _safe_osr_release(OGRSpatialReferenceH srs): ++++++ Fiona-1.9.1.tar.gz -> fiona-1.9.6.tar.gz ++++++ ++++ 9239 lines of diff (skipped)