Jakub Klinkovský pushed to branch main at Arch Linux / Packaging / Packages /
python-scikit-image
Commits:
fc59fcab by Jakub Klinkovský at 2026-01-06T21:20:40+01:00
upgpkg: 0.26.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,15 +1,16 @@
pkgbase = python-scikit-image
pkgdesc = Image processing in Python
- pkgver = 0.25.2
- pkgrel = 3
+ pkgver = 0.26.0
+ pkgrel = 1
url = https://github.com/scikit-image/scikit-image
arch = x86_64
license = BSD-3-Clause
license = BSD-2-Clause
license = MIT
checkdepends = python-pytest
+ checkdepends = python-pytest-pretty
+ checkdepends = python-pytest-localserver
checkdepends = python-astropy
- checkdepends = python-cloudpickle
checkdepends = python-dask
checkdepends = python-matplotlib
checkdepends = python-pooch
@@ -32,7 +33,6 @@ pkgbase = python-scikit-image
depends = python-scipy
depends = python-tifffile
optdepends = python-astropy: for FITS I/O capability
- optdepends = python-cloudpickle: necessary to provide the processes
scheduler for dask
optdepends = python-dask: used to speed up certain functions
optdepends = python-matplotlib: for plotting
optdepends = python-pooch: for data fetching and caching
@@ -40,7 +40,7 @@ pkgbase = python-scikit-image
optdepends = python-pywavelets
optdepends = python-scikit-learn
optdepends = python-simpleitk: Optional I/O plugin providing a wide
variety of formats. including specialized formats using in medical imaging
- source =
python-scikit-image-0.25.2.tar.gz::https://github.com/scikit-image/scikit-image/archive/v0.25.2.tar.gz
- b2sums =
652eff12e70cf23cd91dedc92ee7ebab9ec4901394c0803fdf663b03770ef1c456648bbf4006239e06f3ed6f7c11f1069a2c46aa8fc704a836840a8b8eb3c543
+ source =
python-scikit-image-0.26.0.tar.gz::https://github.com/scikit-image/scikit-image/archive/v0.26.0.tar.gz
+ b2sums =
2969e48298ef8e5439b9806b14f06bde8ede3121d399495f85533f017752ae566bc33e2114cfdfb9161d8dd2ff0c638bc7531fac8c32b0221cf03f5cc46dd507
pkgname = python-scikit-image
=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
_name=scikit-image
pkgname=python-$_name
-pkgver=0.25.2
-pkgrel=3
+pkgver=0.26.0
+pkgrel=1
pkgdesc="Image processing in Python"
arch=(x86_64)
url="https://github.com/scikit-image/scikit-image"
@@ -34,9 +34,10 @@ makedepends=(
)
checkdepends=(
python-pytest
+ python-pytest-pretty
+ python-pytest-localserver
# optdepends
python-astropy
- python-cloudpickle
python-dask
python-matplotlib
python-pooch
@@ -45,7 +46,6 @@ checkdepends=(
)
optdepends=(
'python-astropy: for FITS I/O capability'
- 'python-cloudpickle: necessary to provide the 'processes' scheduler for dask'
'python-dask: used to speed up certain functions'
'python-matplotlib: for plotting'
'python-pooch: for data fetching and caching'
@@ -55,7 +55,7 @@ optdepends=(
'python-simpleitk: Optional I/O plugin providing a wide variety of formats.
including specialized formats using in medical imaging'
)
source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
-b2sums=('652eff12e70cf23cd91dedc92ee7ebab9ec4901394c0803fdf663b03770ef1c456648bbf4006239e06f3ed6f7c11f1069a2c46aa8fc704a836840a8b8eb3c543')
+b2sums=('2969e48298ef8e5439b9806b14f06bde8ede3121d399495f85533f017752ae566bc33e2114cfdfb9161d8dd2ff0c638bc7531fac8c32b0221cf03f5cc46dd507')
build() {
cd $_name-$pkgver
@@ -66,17 +66,18 @@ check() {
local pytest_options=(
-vv
-W ignore::DeprecationWarning
- # select tests from the Python module rather than by path
- --pyargs skimage
- # skip test that depends on the imread package
- # skip test that downloads data from the internet
- # skip test that fails due to division by zero
- # test_wrong_param_name, test_imsave_filelike, test_all_mono - fail due to
deprecation warnings
- -k "not test_imread_http_url and not test_download_all_with_pooch and not
test_ellipse_parameter_stability and not test_wrong_param_name and not
test_imsave_filelike and not test_all_mono"
+ # ValueError: Unexpected warning: Image.Image.getdata is deprecated and
will be removed in Pillow 14 (2027-10-15). Use get_flattened_data instead.
+ --deselect tests/skimage/io/test_pil.py::test_all_color
+ --deselect tests/skimage/io/test_pil.py::test_all_mono
+ # assert 2 == 1 where 2 = len(WarningsChecker(record=True))
+ --deselect
tests/skimage/io/test_plugin.py::test_deprecation_warnings_on_plugin_funcs[call_plugin-args1]
+ # RuntimeWarning: divide by zero encountered in scalar divide
+ --deselect
tests/skimage/measure/test_fit.py::test_ellipse_parameter_stability
)
+ cd $_name-$pkgver
python -m venv --system-site-packages test-env
- test-env/bin/python -m installer $_name-$pkgver/dist/*.whl
+ test-env/bin/python -m installer dist/*.whl
test-env/bin/python -m pytest "${pytest_options[@]}"
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-scikit-image/-/commit/fc59fcab03d695c176329b7d00a57e54628c7f32
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-scikit-image/-/commit/fc59fcab03d695c176329b7d00a57e54628c7f32
You're receiving this email because of your account on gitlab.archlinux.org.