[Git][debian-gis-team/python-geopandas][master] 2 commits: Use autopkgtest-pkg-pybuild testsuite.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Sun Jul 16 18:13:48 BST 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / python-geopandas


Commits:
a66c5808 by Bas Couwenberg at 2023-07-16T19:13:30+02:00
Use autopkgtest-pkg-pybuild testsuite.

- - - - -
49fa7330 by Bas Couwenberg at 2023-07-16T19:13:35+02:00
Enable Salsa CI.

- - - - -


4 changed files:

- + debian/.gitlab-ci.yml
- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/.gitlab-ci.yml
=====================================
@@ -0,0 +1,3 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml


=====================================
debian/changelog
=====================================
@@ -3,6 +3,8 @@ python-geopandas (0.13.2-2) UNRELEASED; urgency=medium
   * Team upload.
   * Bump debhelper compat to 13.
   * Don't set environment variables in dh_auto_test override.
+  * Use autopkgtest-pkg-pybuild testsuite.
+  * Enable Salsa CI.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 13 Jun 2023 10:10:05 +0200
 


=====================================
debian/control
=====================================
@@ -33,6 +33,7 @@ Vcs-Browser: https://salsa.debian.org/debian-gis-team/python-geopandas/
 Vcs-Git: https://salsa.debian.org/debian-gis-team/python-geopandas.git
 Homepage: http://www.geopandas.org
 Rules-Requires-Root: no
+Testsuite: autopkgtest-pkg-pybuild
 
 Package: python3-geopandas
 Architecture: all


=====================================
debian/rules
=====================================
@@ -5,7 +5,11 @@ DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 export PYBUILD_NAME=geopandas
 export PYBUILD_BEFORE_TEST=cp -v debian/nybb_*.zip examples/ && cp -rv examples/ {build_dir} && mkdir -p {build_dir}/tests/ && cp -rv geopandas/tests/data/ {build_dir}/tests/
 export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/examples/ {build_dir}/tests/data/ && rm -f examples/nybb_*.zip
-export PYBUILD_TEST_ARGS=-v --ignore=geopandas/tests/test_geocode.py --ignore=geopandas/tests/test_plotting.py --ignore=geopandas/tests/test_overlay.py
+export PYBUILD_TEST_ARGS=-v \
+ --ignore=geopandas/io/tests/test_file.py \
+ --ignore=geopandas/tests/test_geocode.py \
+ --ignore=geopandas/tests/test_overlay.py \
+ --ignore=geopandas/tests/test_plotting.py
 
 %:
 	dh  $@ --with python3,numpy3 --buildsystem pybuild
@@ -14,9 +18,6 @@ override_dh_clean:
 	dh_clean
 	rm -f geopandas/version.py
 
-override_dh_auto_test:
-	dh_auto_test || echo "Ignoring test failures"
-
 override_dh_auto_install:
 	dh_auto_install
 	# Remove README with privacy-breach issues



View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geopandas/-/compare/7c90cb2d6366f457aca5381d0bfbebc64e51c7a6...49fa7330d695e98644c8453af4eb9f739aafc0f7

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/python-geopandas/-/compare/7c90cb2d6366f457aca5381d0bfbebc64e51c7a6...49fa7330d695e98644c8453af4eb9f739aafc0f7
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230716/969c80d3/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list