#2403 closed defect (wontfix)

pyosmium installs malformed path

Reported by: darkblueb Owned by: osgeolive@…
Priority: normal Milestone: OSGeoLive16.0
Component: OSGeoLive Keywords: python
Cc:

Description

$ ls /usr/lib/python3-pyosmium/
pyosmium-get-changes  pyosmium-up-to-date

$ apt-file search pyosmium-get-changes
pyosmium: /usr/bin/pyosmium-get-changes   
pyosmium: /usr/share/man/man1/pyosmium-get-changes.1.gz
python3-pyosmium: /usr/lib/python3-pyosmium/pyosmium-get-changes

$ apt show python3-pyosmium
Package: python3-pyosmium
Version: 3.2.0-1build1
Priority: optional
Section: universe/python
Source: pyosmium
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2,700 kB
Depends: python3 (<< 3.11), python3 (>= 3.10~), python3-requests, python3:any, libbz2-1.0, libc6 (>= 2.34), libexpat1 (>= 2.0.1), libgcc-s1 (>= 3.3.1), liblz4-1 (>= 0.0~r130), libstdc++6 (>= 12), zlib1g (>= 1:1.2.6)
Suggests: python3-shapely, pyosmium-doc
Homepage: https://osmcode.org/pyosmium/
Download-Size: 711 kB
APT-Manual-Installed: yes
APT-Sources: http://mirrors.wikimedia.org/ubuntu jammy/universe amd64 Packages
Description: Osmium library bindings for Python 3
 The PyOsmium module allows you to access some of the features of the Osmium
 library from Python code.
 .
 PyOsmium has extensive support for all types of OSM entities: nodes, ways,
 relations, and changesets. It allows reading from OSM files in XML and PBF
 formats, including change files and full history files. Its easy to use
 handler interface allows you to quickly write data filtering and conversion
 functions.
 .
 This package contains the PyOsmium module for Python 3.

Change history (3)

comment:1 by Bas Couwenberg, 21 months ago

The path is not malformed.

The scripts are installed in /usr/lib/<package> to not have library-package-name-for-application lintian issues, and to build both python2 & python3 versions from the same source back when python2 was still supported:

https://salsa.debian.org/debian-gis-team/pyosmium/-/commit/adb00e857b97af2bc8c5986ded7147d995e3195e

The pyosmium package provides the executables in /usr/bin which are just symlinks to the preferred version in /usr/lib/<package>.

There is no install script for pyosmium which suggests it's installed as a dependency for another package. install_osm.sh could also install the pyosmium package if users need its tools.

comment:2 by kalxas, 16 months ago

Milestone: OSGeoLive15.0OSGeoLive16.0

Ticket retargeted after milestone closed

comment:3 by darkblueb, 10 months ago

Resolution: wontfix
Status: newclosed

ol16 beta1

user $ ls /usr/lib
  ...
 python2.7/
 python3/
 python3-mapproxy/
 python3-pycsw/
 python3-pyosmium/
 python3.10/
 python3.11/
  ...
Note: See TracTickets for help on using tickets.