Compare commits

..

3 commits

Author SHA1 Message Date
Elliott Sales de Andrade
998bf24ae6 Merge branch 'rawhide' into f32 2021-02-06 01:46:28 -05:00
Elliott Sales de Andrade
813af7903d Merge branch 'master' into f32 2020-07-16 04:38:49 -04:00
Elliott Sales de Andrade
1826c2cd1a Force shapely check to true, to fix build.
This fails because Shapely is some beta version in F32, which doesn't
compare correctly.
2020-07-02 04:06:05 -04:00
8 changed files with 176 additions and 197 deletions

20
.gitignore vendored
View file

@ -10,23 +10,3 @@
/geopandas-0.8.0.tar.gz /geopandas-0.8.0.tar.gz
/geopandas-0.8.1.tar.gz /geopandas-0.8.1.tar.gz
/geopandas-0.8.2.tar.gz /geopandas-0.8.2.tar.gz
/geopandas-0.9.0.tar.gz
/geopandas-0.10.0.tar.gz
/geopandas-0.10.1.tar.gz
/geopandas-0.10.2.tar.gz
/geopandas-0.11.1.tar.gz
/geopandas-0.12.1.tar.gz
/geopandas-0.12.2.tar.gz
/geopandas-0.13.0.tar.gz
/geopandas-0.13.2.tar.gz
/geopandas-0.14.0.tar.gz
/geopandas-0.14.1.tar.gz
/geopandas-0.14.2.tar.gz
/geopandas-0.14.3.tar.gz
/geopandas-0.14.4.tar.gz
/geopandas-1.0.1.tar.gz
/geopandas-1.1.0.tar.gz
/geopandas-1.1.1.tar.gz
/geopandas-1.1.2.tar.gz
/geopandas-1.1.3.tar.gz
/geopandas-1.1.4.tar.gz

View file

@ -1,18 +0,0 @@
# See the documentation for more information:
# https://packit.dev/docs/configuration/
---
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
rawhide:
fast_forward_merge_into:
- fedora-branched
- job: koji_build
trigger: commit
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-all

View file

@ -0,0 +1,33 @@
From d79b414d398651c4c2531012a7ab318209a0065f Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Sun, 29 Jul 2018 19:34:39 -0400
Subject: [PATCH] Skip test_overlay_nybb on broken platforms.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
geopandas/tests/test_overlay.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/geopandas/tests/test_overlay.py b/geopandas/tests/test_overlay.py
index 467fbb9..e26c00a 100644
--- a/geopandas/tests/test_overlay.py
+++ b/geopandas/tests/test_overlay.py
@@ -1,4 +1,5 @@
import os
+import platform
import pandas as pd
@@ -107,6 +108,9 @@ def test_overlay(dfs_index, how):
@pytest.mark.filterwarnings("ignore:GeoSeries crs mismatch:UserWarning")
def test_overlay_nybb(how):
+ if how != 'difference' and platform.machine() in ('aarch64', 'ppc64le', 's390x'):
+ pytest.xfail('platform-specific problems')
+
polydf = read_file(geopandas.datasets.get_path("nybb"))
# construct circles dataframe
--
2.25.4

View file

@ -1,3 +0,0 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.16.1.

113
changelog
View file

@ -1,113 +0,0 @@
* Mon Sep 13 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.0-4
- Backport patches for GDAL 3.3 (#1981675)
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Jun 17 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.0-2
- Update & correct dependencies
- Backport patch to fix tests with Proj 8.0.1
- Skip tests broken on GDAL 3.3.0
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.9.0-2
- Rebuilt for Python 3.10
* Sun Feb 28 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.9.0-1
- Update to latest version (#1933514)
* Sat Feb 06 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.2-1
- Update to latest version (#1920235)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.1-2
- Fix alternate architecture patch.
* Thu Jul 16 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.1-1
- Update to latest version
* Thu Jul 02 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.0-1
- Update to latest version
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-2
- Rebuilt for Python 3.9
* Tue Feb 18 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7.0-1
- Update to latest version
* Sat Feb 08 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6.3-1
- Update to latest version
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Sep 29 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6.0-1
- Update to latest version
* Sat Aug 24 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6.0-0.1.rc1
- Update to latest release candidate
* Sat Aug 24 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.1-1
- Update to latest version
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-3
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Apr 27 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.0-1
- Update to latest version
* Sat Mar 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.4.1-1
- Update to latest version
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Sep 21 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-2
- Drop Python 2 subpackage
* Wed Jul 18 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.4.0-1
- Update to latest version
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jul 11 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-6
- Add patch to build against Pandas 0.23.0
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-6
- Rebuilt for Python 3.7
* Wed Feb 14 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-5
- rebuilt
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Dec 09 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-3
- Add patch for non-x86 systems.
- Use python2-* BR.
* Fri Dec 01 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-2
- Add patch for non-x86 systems.
* Tue Sep 19 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-1
- Update to latest version.
- Use lowercase rtree dependency.
- Fix inconsistent capitalization.
* Sat Aug 12 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.1-3
- Simplify spec with more macros.
* Sun Jul 09 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.1-2
- Simplify spec a bit.
- Add patch for new Pandas compatibility.
* Sun Mar 05 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.1-1
- Initial package release.

View file

@ -0,0 +1,13 @@
diff --git a/geopandas/_compat.py b/geopandas/_compat.py
index fa86961..8cb4fc7 100644
--- a/geopandas/_compat.py
+++ b/geopandas/_compat.py
@@ -21,7 +21,7 @@ PANDAS_GE_11 = str(pd.__version__) >= LooseVersion("1.1.0.dev")
# -----------------------------------------------------------------------------
-SHAPELY_GE_17 = str(shapely.__version__) >= LooseVersion("1.7.0")
+SHAPELY_GE_17 = True
HAS_PYGEOS = None
USE_PYGEOS = None

View file

@ -1,22 +1,9 @@
%global srcname geopandas %global srcname geopandas
# There is a build dependency loop when built with tests.
# It involves libpysal, mapclassify, networkx.
# This bcond allows to bootstrap it.
%bcond bootstrap 0
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.1.4 Version: 0.8.2
Release: %autorelease Release: 1%{?dist}
Summary: Geographic Pandas extensions Summary: Geographic Pandas extensions
License: BSD-3-Clause
URL: https://pypi.python.org/pypi/%{srcname}
# PyPI source does not have test data.
Source: https://github.com/%{srcname}/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
%global _description \ %global _description \
GeoPandas is a project to add support for geographic data to Pandas objects. \ GeoPandas is a project to add support for geographic data to Pandas objects. \
\ \
@ -26,55 +13,155 @@ operations in Pandas and a high-level interface to multiple geometries to \
Shapely. GeoPandas enables you to easily do operations in Python that would \ Shapely. GeoPandas enables you to easily do operations in Python that would \
otherwise require a spatial database such as PostGIS. otherwise require a spatial database such as PostGIS.
License: BSD
URL: https://pypi.python.org/pypi/%{srcname}
Source0: https://github.com/%{srcname}/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
Patch0001: 0001-Skip-test_overlay_nybb-on-broken-platforms.patch
# Force shapely check to True, because the shapely version is a beta that
# doesn't compare correctly.
Patch0002: force-shapely-check-true.patch
BuildArch: noarch
%description %{_description} %description %{_description}
%package -n python3-%{srcname} %package -n python3-%{srcname}
Summary: %{summary} Summary: %{summary}
BuildRequires: python3-devel %{?python_provide:%python_provide python3-%{srcname}}
%if %{without bootstrap} BuildRequires: python3-devel
BuildRequires: python3dist(fsspec) BuildRequires: python3-setuptools
BuildRequires: python3dist(fiona) >= 1.8.21 BuildRequires: python3-descartes
BuildRequires: python3dist(geopy) BuildRequires: python3-fiona >= 1.0.1
BuildRequires: python3dist(mapclassify) >= 2.5 BuildRequires: python3-pandas >= 0.23
BuildRequires: python3dist(matplotlib) >= 3.7 BuildRequires: python3-pyproj >= 2.2
BuildRequires: python3dist(psycopg) >= 3.1 BuildRequires: python3-shapely >= 1.2.18
BuildRequires: python3dist(pyarrow) >= 8
BuildRequires: python3dist(pytest) BuildRequires: python3-pytest
BuildRequires: python3dist(sqlalchemy) >= 2 BuildRequires: python3-rtree >= 0.8
BuildRequires: python3dist(xyzservices) BuildRequires: python3-matplotlib >= 2.0.1
# See:
# Depend on pandas[test] for testing
# https://github.com/geopandas/geopandas/pull/2438
BuildRequires: python3dist(pandas[test])
%endif
%description -n python3-%{srcname} %{_description} %description -n python3-%{srcname} %{_description}
%prep %prep
%autosetup -n %{srcname}-%{version} -p1 %autosetup -n %{srcname}-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires
%build %build
%pyproject_wheel %py3_build
%install %install
%pyproject_install %py3_install
%pyproject_save_files %{srcname}
%check %check
%if %{without bootstrap}
%{pytest} -ra geopandas -m 'not web' %{pytest} -ra geopandas -m 'not web'
%else
%pyproject_check_import -e 'geopandas.*test*'
%endif
%files -n python3-%{srcname} -f %{pyproject_files}
%files -n python3-%{srcname}
%license LICENSE.txt %license LICENSE.txt
%doc README.md CHANGELOG.md %doc README.md CHANGELOG.md
%{python3_sitelib}/%{srcname}
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
%changelog %changelog
%autochangelog * Sat Feb 06 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.2-1
- Update to latest version (#1920235)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 17 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.1-2
- Fix alternate architecture patch.
* Thu Jul 16 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.1-1
- Update to latest version
* Thu Jul 02 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.8.0-1
- Update to latest version
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-2
- Rebuilt for Python 3.9
* Tue Feb 18 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.7.0-1
- Update to latest version
* Sat Feb 08 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6.3-1
- Update to latest version
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Sep 29 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6.0-1
- Update to latest version
* Sat Aug 24 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.6.0-0.1.rc1
- Update to latest release candidate
* Sat Aug 24 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.1-1
- Update to latest version
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-3
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Apr 27 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.5.0-1
- Update to latest version
* Sat Mar 09 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.4.1-1
- Update to latest version
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Sep 21 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.0-2
- Drop Python 2 subpackage
* Wed Jul 18 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.4.0-1
- Update to latest version
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jul 11 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-6
- Add patch to build against Pandas 0.23.0
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-6
- Rebuilt for Python 3.7
* Wed Feb 14 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-5
- rebuilt
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Dec 09 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-3
- Add patch for non-x86 systems.
- Use python2-* BR.
* Fri Dec 01 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-2
- Add patch for non-x86 systems.
* Tue Sep 19 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.0-1
- Update to latest version.
- Use lowercase rtree dependency.
- Fix inconsistent capitalization.
* Sat Aug 12 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.1-3
- Simplify spec with more macros.
* Sun Jul 09 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.1-2
- Simplify spec a bit.
- Add patch for new Pandas compatibility.
* Sun Mar 05 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.1-1
- Initial package release.

View file

@ -1 +1 @@
SHA512 (geopandas-1.1.4.tar.gz) = 70e30407e50acee8ff8d081d3db097ab188a078467bffe2e9765c5d64d9e1d88be76c4f37747a5c107cb96d75c9fa53a7f779e0b406b784386be7d5fef899878 SHA512 (geopandas-0.8.2.tar.gz) = 2eef8c15c0fcbb3ee1e36fe921aaecf9cc091664d45dd714c3bfba3d934633b44f720aa133c654fe2c61c2f03268a1ba1e61459b42131000d18addf3f2cd430f