Package Details: python-rasterio 1.4.2-1

Git Clone URL: https://aur.archlinux.org/python-rasterio.git (read-only, click to copy)
Package Base: python-rasterio
Description: Fast and direct raster I/O for use with Numpy and SciPy
Upstream URL: https://github.com/rasterio/rasterio
Licenses: BSD
Submitter: lazyboy
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 7
Popularity: 0.56
First Submitted: 2017-01-28 16:54 (UTC)
Last Updated: 2024-11-01 03:49 (UTC)

Latest Comments

1 2 Next › Last »

kikislater commented on 2024-10-09 05:24 (UTC) (edited on 2024-10-09 05:24 (UTC) by kikislater)

This does not work:

mv .${_base} ${_base}

There is no hidden .rasterio folder !

Same error as ve7it, comment line 38 is sufficient to make it work. @carlosal1015 : could please explain what you are trying to do at line 38 ? It is not needed ...

ve7it commented on 2024-10-09 04:28 (UTC)

I am also failing to upgrade the package. It appears to build and it looks like it is starting to install it and fails with a missing file or directory.

...
INFO:wheel:adding 'rasterio/rio/stack.py'
INFO:wheel:adding 'rasterio/rio/transform.py'
INFO:wheel:adding 'rasterio/rio/warp.py'
INFO:wheel:adding 'rasterio-1.4.1.dist-info/AUTHORS.txt'
INFO:wheel:adding 'rasterio-1.4.1.dist-info/LICENSE.txt'
INFO:wheel:adding 'rasterio-1.4.1.dist-info/METADATA'
INFO:wheel:adding 'rasterio-1.4.1.dist-info/WHEEL'
INFO:wheel:adding 'rasterio-1.4.1.dist-info/entry_points.txt'
INFO:wheel:adding 'rasterio-1.4.1.dist-info/top_level.txt'
INFO:wheel:adding 'rasterio-1.4.1.dist-info/RECORD'
INFO:wheel:removing build/bdist.linux-x86_64/wheel
Successfully built rasterio-1.4.1-cp312-cp312-linux_x86_64.whl
==> Entering fakeroot environment...
==> Starting package()...
mv: cannot stat '.rasterio': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

not sure where to look next Lawrence VE7IT

skualos commented on 2024-10-08 07:21 (UTC) (edited on 2024-10-08 07:23 (UTC) by skualos)

Anyone else getting build errors ?

FAILED tests/test_merge.py::test_issue2202 - TypeError: merge() got an unexpected keyword argument 'datasets'
FAILED tests/test_open_sharing.py::test_sharing_off - AssertionError: assert 716 == 2
==2 failed, 1866 passed, 4 skipped, 1 deselected, 13 xfailed, 7 xpassed, 28 warnings in 458.27s (0:07:38) 
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: python-rasterio-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
python-rasterio - exit status 4
FAIL

MarsSeed commented on 2023-12-09 14:52 (UTC)

@carlosal1015, thank you. Please be aware that you have to increase the pkgrel (from 1 to 2 in current case) every time you make a meaningful change to PKGBUILD without changing the pkgver.

Without pkgrel bump, the new optdepend (python-swiftclient) will not show up for user installations when they check for AUR updates, and nor will third-party binary repositories' CI system pick this update up.

MarsSeed commented on 2023-12-08 09:13 (UTC)

Please kindly add python-swiftclient as an optional dependency, for OpenStack support. Thank you for maintaining!

RottenSchnitzel commented on 2023-11-25 13:47 (UTC)

Fails to install because the dependency python-snuggs has broken tests (test_snuggs.py fails at three instances).

ve7it commented on 2023-07-02 19:46 (UTC) (edited on 2023-07-02 20:15 (UTC) by ve7it)

This package is pulled in by building flatcam-qt6 package.
It appears the sha512sum is incorrect for the python-rasterio package.
build errors shown below:
Building python-rasterio...
==> Making package: python-rasterio 1.3.8-1 (Sun 02 Jul 2023 12:41:51 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found rasterio-1.3.8.tar.gz
==> Validating source files with sha512sums...
rasterio-1.3.8.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
Failed to build python-rasterio

SOLUTION: problem resolved by editing build file and setting sha512sum to
'7dab624ba22eb441953165729e7716243a79f1ba93f1f74046e16d15fe3d692822c35f754f5e26edd80e4b95ea062967e94a6c99ca614b7dbfa39ce962a3d43c'

sedot commented on 2023-02-15 12:30 (UTC)

Hi @carlosal1015, thanks for the comments. When using a system-wide version of boto3 this error still occurs.

carlosal1015 commented on 2023-02-14 17:04 (UTC)

Hi @sedot, thanks for providing the full log, look to line 566, it looks like there are python modules installed with pip and other system-wide with pacman. it frequently leads to incompatibilities [1], if you want python-rasterio to work fine you should depend on the packages installed by pacman, you could take a look. If this is not enough tomorrow I will disable the check() function. Have a nice day.

[1] https://bbs.archlinux.org/viewtopic.php?id=237197

sedot commented on 2023-02-14 13:49 (UTC) (edited on 2023-02-14 13:49 (UTC) by sedot)

Hi and thanks for this package. Since 1.3.6-1, the check() function during build fails for me. Here are my logs: https://pastebin.com/yTYrHf6c