Package Details: python-geojson 2.5.0-2

Git Clone URL: (read-only, click to copy)
Package Base: python-geojson
Description: Python bindings and utilities for GeoJSON
Upstream URL:
Licenses: BSD
Submitter: demize
Maintainer: alexf91
Last Packager: alexf91
Votes: 5
Popularity: 0.000000
First Submitted: 2014-03-09 02:39
Last Updated: 2021-08-06 09:17

Latest Comments

JKAbrams commented on 2021-08-05 21:54

Unable to build it

ERROR: test_feature_class (test_features.FeaturesTest)
Test the Feature class
Traceback (most recent call last):
  File "/tmp/trizen-jk/python-geojson/src/geojson-2.5.0/tests/", line 85, in test_feature_class
    feature = geojson.loads(json, object_hook=factory, encoding="utf-8")
  File "/tmp/trizen-jk/python-geojson/src/geojson-2.5.0/geojson/", line 51, in loads
    return json.loads(s,
  File "/usr/lib/python3.9/json/", line 359, in loads
    return cls(**kw).decode(s)
TypeError: __init__() got an unexpected keyword argument 'encoding'

Ran 61 tests in 0.013s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=61 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=61 errors=1 failures=0>
==> ERROR: A failure occurred in check().

vantu5z commented on 2021-03-01 12:07

Package can be build with this patch:

NischayPro commented on 2020-12-02 05:27

Package fails to build for Python version 3.9.0 as it is currently unsupported in upstream.

demize commented on 2019-09-17 13:22

Yay for nondeterministic GitHub tarballs. I've updated the checksum now, and am disowning it since I no longer have a use for it, and don't have the time to test the new version.

Azertyfun commented on 2019-09-14 15:12

Package checksum is mismatched. 2.4.0 should be 3d8203a2d673ed71548e13992459356dc2bd4ba8, with PKGBUILD changed to use cd geojson-$pkgver instead of cd python-geojson-$pkgver.

The following PKGBUILD works fine to build 2.4.0 (which is out of date btw):

# Maintainer: Johannes Löthberg <>


pkgdesc="Python bindings and utlities for GeoJSON"




package() {
    cd geojson-$pkgver
    python install --root="$pkgdir" --optimize=1
    install -Dm644 LICENSE.rst "$pkgdir"/usr/share/licenses/python-geojson/LICENSE

nickoe commented on 2019-08-26 20:28

I get a mismatch for the checksum, when I download I get: 3d8203a2d673ed71548e13992459356dc2bd4ba8 2.4.0.tar.gz