public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Packit <hello@packit.dev>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyogrio] f44: Update to 0.13.0 upstream release
Date: Sat, 27 Jun 2026 03:26:29 GMT	[thread overview]
Message-ID: <178253078954.1.11022760209423043769.rpms-python-pyogrio-e3d3ed651e7d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-pyogrio
            Branch : f44
            Commit : e3d3ed651e7d9f6afd468b506a605ae017da0db5
            Author : Packit <hello@packit.dev>
            Date   : 2026-06-26T22:59:51-04:00
            Stats  : +6/-103 in 6 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pyogrio/c/e3d3ed651e7d9f6afd468b506a605ae017da0db5?branch=f44

            Log:
            Update to 0.13.0 upstream release

- Resolves: rhbz#2493584

Commit authored by Packit automation (https://packit.dev/)

---
diff --git a/.gitignore b/.gitignore
index 91e5a85..e45f960 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /pyogrio-0.11.1.tar.gz
 /pyogrio-0.12.0.tar.gz
 /pyogrio-0.12.1.tar.gz
+/pyogrio-0.13.0.tar.gz

diff --git a/0001-Drop-extra-dependencies.patch b/0001-Drop-extra-dependencies.patch
deleted file mode 100644
index c76705f..0000000
--- a/0001-Drop-extra-dependencies.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 7cb519025d828225122888d1af5465fe6a492edf Mon Sep 17 00:00:00 2001
-From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
-Date: Wed, 26 Jun 2024 03:44:26 -0400
-Subject: [PATCH] Drop extra dependencies
-
-Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
----
- pyproject.toml | 6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index c4ae995..bc178d0 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -2,9 +2,7 @@
- requires = [
-     "setuptools",
-     "Cython>=3.1",
--    "versioneer[toml]==0.28",
--    # tomli is used by versioneer
--    "tomli; python_version < '3.11'",
-+    "versioneer[toml]>=0.28",
- ]
- build-backend = "setuptools.build_meta"
- 
-@@ -33,7 +31,7 @@ dependencies = ["certifi", "numpy", "packaging"]
- 
- [project.optional-dependencies]
- dev = ["cython>=3.1"]
--test = ["pytest", "pytest-cov"]
-+test = ["pytest"]
- benchmark = ["pytest-benchmark"]
- geopandas = ["geopandas"]
- 
--- 
-2.50.0
-

diff --git a/06d9b61cf9edfa85c99d55568346a17968e51a02.patch b/06d9b61cf9edfa85c99d55568346a17968e51a02.patch
deleted file mode 100644
index 610e40a..0000000
--- a/06d9b61cf9edfa85c99d55568346a17968e51a02.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff -rupN --no-dereference pyogrio-0.12.1/pyogrio/_compat.py pyogrio-0.12.1-new/pyogrio/_compat.py
---- pyogrio-0.12.1/pyogrio/_compat.py	2025-11-28 19:23:16.000000000 +0100
-+++ pyogrio-0.12.1-new/pyogrio/_compat.py	2026-06-19 16:03:08.195304116 +0200
-@@ -47,6 +47,7 @@ PANDAS_GE_30 = pandas is not None and Ve
- GDAL_GE_37 = __gdal_version__ >= (3, 7, 0)
- GDAL_GE_38 = __gdal_version__ >= (3, 8, 0)
- GDAL_GE_311 = __gdal_version__ >= (3, 11, 0)
-+GDAL_GE_313 = __gdal_version__ >= (3, 13, 0)
- 
- HAS_GDAL_GEOS = __gdal_geos_version__ is not None
- 
-diff -rupN --no-dereference pyogrio-0.12.1/pyogrio/tests/test_raw_io.py pyogrio-0.12.1-new/pyogrio/tests/test_raw_io.py
---- pyogrio-0.12.1/pyogrio/tests/test_raw_io.py	2025-11-28 19:23:16.000000000 +0100
-+++ pyogrio-0.12.1-new/pyogrio/tests/test_raw_io.py	2026-06-19 16:03:08.196215490 +0200
-@@ -17,7 +17,7 @@ from pyogrio import (
-     read_info,
-     set_gdal_config_options,
- )
--from pyogrio._compat import GDAL_GE_37, HAS_PYARROW, HAS_SHAPELY
-+from pyogrio._compat import GDAL_GE_37, GDAL_GE_313, HAS_PYARROW, HAS_SHAPELY
- from pyogrio.errors import DataLayerError, DataSourceError, FeatureError
- from pyogrio.raw import open_arrow, read, write
- from pyogrio.tests.conftest import (
-@@ -1054,7 +1054,10 @@ def test_write_float_nan_null(tmp_path,
-     write(filename, geometry, field_data, fields, **meta)
-     with open(filename) as f:
-         content = f.read()
--    assert '{ "col": null }' in content
-+    if GDAL_GE_313:
-+        assert '{"col":null}' in content
-+    else:
-+        assert '{ "col": null }' in content
- 
-     # set to False
-     # by default, GDAL will skip the property for GeoJSON if the value is NaN
-@@ -1066,7 +1069,10 @@ def test_write_float_nan_null(tmp_path,
-         write(filename, geometry, field_data, fields, **meta, nan_as_null=False)
-     with open(filename) as f:
-         content = f.read()
--    assert '"properties": { }' in content
-+    if GDAL_GE_313:
-+        assert '"properties":{}' in content
-+    else:
-+        assert '"properties": { }' in content
- 
-     # but can instruct GDAL to write NaN to json
-     write(
-@@ -1080,7 +1086,10 @@ def test_write_float_nan_null(tmp_path,
-     )
-     with open(filename) as f:
-         content = f.read()
--    assert '{ "col": NaN }' in content
-+    if GDAL_GE_313:
-+        assert '{"col":NaN}' in content
-+    else:
-+        assert '{ "col": NaN }' in content
- 
- 
- @requires_pyarrow_api

diff --git a/README.packit b/README.packit
index b4b46e3..dd0af79 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
 This repository is maintained by packit.
 https://packit.dev/
-The file was generated using packit 1.12.0.post1.dev20+g7d30dac21.
+The file was generated using packit 1.16.1.

diff --git a/python-pyogrio.spec b/python-pyogrio.spec
index b9c4d52..6a58a51 100644
--- a/python-pyogrio.spec
+++ b/python-pyogrio.spec
@@ -4,7 +4,7 @@
 %global srcname pyogrio
 
 Name:           python-%{srcname}
-Version:        0.12.1
+Version:        0.13.0
 Release:        %autorelease
 Summary:        Vectorized spatial vector file format I/O using GDAL/OGR
 
@@ -15,10 +15,6 @@ Summary:        Vectorized spatial vector file format I/O using GDAL/OGR
 License:        MIT AND Apache-2.0 AND LicenseRef-Fedora-Public-Domain AND ODbl-1.0
 URL:            https://github.com/geopandas/pyogrio
 Source:         %pypi_source %{srcname}
-# Some Fedora-specific things
-Patch:          0001-Drop-extra-dependencies.patch
-# Backport fix for test failure with gdal-3.14+
-Patch:          https://github.com/geopandas/pyogrio/commit/06d9b61cf9edfa85c99d55568346a17968e51a02.patch
 
 # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
 ExcludeArch:    %{ix86}
@@ -44,6 +40,8 @@ Summary:        %{summary}
 
 %prep
 %autosetup -n %{srcname}-%{version} -p1
+%pyproject_patch_dependency versioneer:drop_upper
+%pyproject_patch_dependency pytest-cov:ignore
 
 %generate_buildrequires
 %pyproject_buildrequires -x dev,test%{!?with_bootstrap:,geopandas}

diff --git a/sources b/sources
index 3e2f5cc..280b8b2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyogrio-0.12.1.tar.gz) = c687c8d1f13639e1e8bdfe618c9a9f1b4ee492effc089674bf23318e7b2e02dbe88541bf7ff0b0ad5fb913cc7c0b7b188280bcc618e6a13305446b21a2988264
+SHA512 (pyogrio-0.13.0.tar.gz) = 01d07745e8371ea8e9b4568d3ef9660aca4f3912a571e489712f47d8d7aee6e957ed2fef211810fabed24273e2114ef646dabfc104028df89e44d9116f4837ad

                 reply	other threads:[~2026-06-27  3:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178253078954.1.11022760209423043769.rpms-python-pyogrio-e3d3ed651e7d@fedoraproject.org \
    --to=hello@packit.dev \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox