Dear Thomas and Andreas,
On Wed, 3 Apr 2024 01:22:14 +0100 Tomas Janousek <t...@nomi.cz> wrote:
Hi,
On Wed, Apr 03, 2024 at 12:29:36AM +0100, Tomas Janousek wrote:
>I believe this is because both shapely and pygeoif deprecated
>asShape/as_shape respectively. The function is now called just "shape"
>in both.
>[…]
>I think it might be okay to just patch fastkml/geometry.py to
>
> from shapely.geometry import shape as asShape
> …
> from pygeoif.geometry import shape as asShape
>
>but it needs to be tested more thoroughly.
Yep, almost that. The following seems to work well (makes my CI pass):
https://github.com/liskin/liscopridge/commit/c44c3e6054af5a12bdf24d5687b6478d39480194#diff-e8ae9ced1dd6c13b4566c8a4a669116272e05115ce64aa743658523f4455ad5fR11
--
Tomáš "liskin" ("Pivník") Janoušek, https://lisk.in/
Apparently the fix was a little bit more complex that expected.
I think that I have managed to adapt the current version of the
python3-fastkml package to the new pygeoif.
A MR is available in salsa [1].
I would appreciate if you could review, apply the patch and proceed with
a new upload.
This would allow to "doris" one of my packages to migrate back in testing.
P.S:: @Andreas, I'm a DM and I would be happy to be listed as uploader
of this package if it is OK for you.
[1] https://salsa.debian.org/python-team/packages/fastkml/-/merge_requests/1
kind regards
--
Antonio Valentino