Package Details: python-fiona 1.8.13-1

Git Clone URL: https://aur.archlinux.org/python-fiona.git (read-only, click to copy)
Package Base: python-fiona
Description: Reads and writes spatial data files
Upstream URL: https://github.com/Toblerity/Fiona
Licenses: BSD
Submitter: brk0_0
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 2
Popularity: 0.000558
First Submitted: 2016-03-18 12:29
Last Updated: 2020-01-13 01:28

Required by (2)

Sources (1)

Latest Comments

1 2 Next › Last »

thrasibule commented on 2020-03-31 01:46

Tests pass cleanly here. Can you show the error message? Maybe it's missing some dependency in checkdepends. And I don't have python-pytest-benchmark installed, so I doubt this is needed.

afontenot commented on 2020-03-30 10:18

I receive 60 test failures building this package. If these problems are anticipated upstream, probably best to disable checking on this package by default.

Also, building currently requires the python-pytest-benchmark which isn't listed in build-depends.

juanmafont commented on 2020-01-13 11:14

have you tried makepkg --nocheck?

Thanks, Jose1711

I try it with --nocheck and all ok.

Interestingly, after having installed with the option "--nocheck" I can install again without this option and there is not fails.

jose1711 commented on 2020-01-12 21:33

@juanmafont

somehow i cannot reproduce your problem on my box. but anyway have you tried makepkg --nocheck?

juanmafont commented on 2020-01-12 16:11

Hi. I'm trying install python-fiona from AUR (version 1.8.11-1). But I received fail when section test() is launched. I'm using Manjaro XFCE version.

============================= test session starts ============================== platform linux -- Python 3.8.1, pytest-5.3.2, py-1.8.0, pluggy-0.13.1 GDAL: 3.0.2 (3000200) Supported drivers: ARCGEN, AeronavFAA, BNA, CSV, DGN, DXF, ESRI Shapefile, ESRIJSON, GML, GPKG, GPSTrackMaker, GPX, GeoJSON, GeoJSONSeq, Idrisi, MapInfo File, OpenFileGDB, PCIDSK, S57, SEGY, SUA, TopoJSON rootdir: /var/tmp/pamac-build-juanma/python-fiona/src/Fiona-1.8.11, inifile: setup.cfg, testpaths: tests plugins: cov-2.8.1 collected 900 items / 4 deselected / 896 selected

tests/test__env.py ............... [ 1%] tests/test_bigint.py ... [ 2%] tests/test_binary_field.py . [ 2%] tests/test_bounds.py .... [ 2%] tests/test_bytescollection.py ......................................s [ 6%] tests/test_collection.py ............................................... [ 12%] ................................................ [ 17%] tests/test_collection_crs.py ...... [ 18%] tests/test_collection_legacy.py .................................. [ 21%] tests/test_compound_crs.py . [ 22%] tests/test_crs.py ..........s.s... [ 23%] tests/test_curve_geometries.py . [ 23%] tests/test_data_paths.py FF [ 24%] tests/test_datetime.py ............ [ 25%] tests/test_drivers.py . [ 25%] tests/test_drvsupport.py .... [ 26%] tests/test_encoding.py ... [ 26%] tests/test_env.py ........ [ 27%] tests/test_feature.py ......... [ 28%] tests/test_fio_bounds.py FFFFFFFFFFF [ 29%] tests/test_fio_calc.py FFFF [ 30%] tests/test_fio_cat.py FFFFFFF.F [ 31%] tests/test_fio_collect.py FFFFFF.F [ 31%] tests/test_fio_distrib.py FF [ 32%] tests/test_fio_dump.py FFF [ 32%] tests/test_fio_filter.py FF [ 32%] tests/test_fio_info.py FFF.FFF [ 33%] tests/test_fio_load.py .FFFFFFFF [ 34%] tests/test_fio_ls.py FFFF [ 34%] tests/test_fio_rm.py FFF [ 35%] tests/test_geojson.py ..... [ 35%] tests/test_geometry.py ................ [ 37%] tests/test_geopackage.py ... [ 37%] tests/test_integration.py . [ 38%] tests/test_layer.py .................................................... [ 43%] ..................................................... [ 49%] tests/test_listing.py ............ [ 51%] tests/test_logutils.py ... [ 51%] tests/test_memoryfile.py ...... [ 52%] tests/test_multiconxn.py ........ [ 53%] tests/test_non_counting_layer.py ...... [ 53%] tests/test_open.py .. [ 53%] tests/test_profile.py .. [ 54%] tests/test_props.py ...... [ 54%] tests/test_read_drivers.py .. [ 55%] tests/test_remove.py ............ [ 56%] tests/test_revolvingdoor.py . [ 56%] tests/test_rfc3339.py ........... [ 57%] tests/test_rfc64_tin.py .. [ 57%] tests/test_schema.py ................................................... [ 63%] ....sss [ 64%] tests/test_schema_geom.py ........... [ 65%] tests/test_session.py . [ 65%] tests/test_slice.py ...... [ 66%] tests/test_subtypes.py .. [ 66%] tests/test_transactions.py . [ 66%] tests/test_transform.py ..... [ 67%] tests/test_unicode.py ...x... [ 68%] tests/test_version.py .. [ 68%] tests/test_vfs.py ...................................................... [ 74%] ............................X........................................... [ 82%] ...........X...............................X............................ [ 90%] ......X..................................X.................X............ [ 98%] .........s.... [100%]

===================================================

And here some (only firsts) test output fails: ____ test_env_gdal_data_environ ______

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f63bd591d60>

def test_env_gdal_data_environ(monkeypatch):
    monkeypatch.setenv('GDAL_DATA', '/foo/bar')
    runner = CliRunner()
    result = runner.invoke(main_group, ['env', '--gdal-data'])
  assert result.exit_code == 0

E assert 2 == 0 E + where 2 = <Result SystemExit(2)>.exit_code

tests/test_data_paths.py:45: AssertionError ____ test_env_proj_data_environ ______

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f63bd5a1730>

def test_env_proj_data_environ(monkeypatch):
    monkeypatch.setenv('PROJ_LIB', '/foo/bar')
    runner = CliRunner()
    result = runner.invoke(main_group, ['env', '--proj-data'])
  assert result.exit_code == 0

E assert 2 == 0 E + where 2 = <Result SystemExit(2)>.exit_code

tests/test_data_paths.py:53: AssertionError ______ test_fail _________

runner = <click.testing.CliRunner object at 0x7f63bd331e20>

def test_fail(runner):
    result = runner.invoke(main_group, ['bounds', ], '5')
  assert result.exit_code == 1

E assert 2 == 1 E + where 2 = <Result SystemExit(2)>.exit_code

tests/test_fio_bounds.py:12: AssertionError _____ test_seq _____

feature_seq = '{"geometry": {"type": "Polygon", "coordinates": [[[-111.73527526855469, 41.995094299316406], [-111.65931701660156, 41...ame=Wellsville%20Mountain", "AGBUR": "FS", "AREA": 0.0104441, "STATE_FIPS": "49", "WILDRNP020": 336, "STATE": "UT"}}\n' runner = <click.testing.CliRunner object at 0x7f63bd331e20>

def test_seq(feature_seq, runner):
    result = runner.invoke(main_group, ['bounds', ], feature_seq)
  assert result.exit_code == 0

E assert 2 == 0 E + where 2 = <Result SystemExit(2)>.exit_code

tests/test_fio_bounds.py:17: AssertionError

====================================================

If I try execute pytest manually into terminal for first fail test, I receive this:

[juanma@chromito Fiona-1.8.11]$ pytest tests/test_data_paths.py ========================================================= test session starts ========================================================= platform linux -- Python 3.8.1, pytest-5.3.2, py-1.8.0, pluggy-0.13.1 GDAL: 3.0.2 (3000200) Supported drivers: ARCGEN, AeronavFAA, BNA, CSV, DGN, DXF, ESRI Shapefile, ESRIJSON, GML, GPKG, GPSTrackMaker, GPX, GeoJSON, GeoJSONSeq, Idrisi, MapInfo File, OpenFileGDB, PCIDSK, S57, SEGY, SUA, TopoJSON rootdir: /var/tmp/pamac-build-juanma/python-fiona/src/Fiona-1.8.11, inifile: setup.cfg plugins: cov-2.8.1 collected 6 items

tests/test_data_paths.py FFFFFF [100%]

============================================================== FAILURES =============================================================== ________ test_gdal_data_wheel _________

@pytest.mark.wheel
def test_gdal_data_wheel():
    """Get GDAL data path from a wheel"""
  assert GDALDataFinder().search() == os.path.join(os.path.dirname(fiona.__file__), 'gdal_data')

E AssertionError: assert '/usr/share/gdal' == '/var/tmp/pam...ona/gdal_data' E - /usr/share/gdal E + /var/tmp/pamac-build-juanma/python-fiona/src/Fiona-1.8.11/fiona/gdal_data

tests/test_data_paths.py:16: AssertionError ________ test_proj_data_wheel _________

@pytest.mark.wheel
def test_proj_data_wheel():
    """Get GDAL data path from a wheel"""
  assert PROJDataFinder().search() == os.path.join(os.path.dirname(fiona.__file__), 'proj_data')

E AssertionError: assert '/usr/share/proj' == '/var/tmp/pam...ona/proj_data' E - /usr/share/proj E + /var/tmp/pamac-build-juanma/python-fiona/src/Fiona-1.8.11/fiona/proj_data

tests/test_data_paths.py:22: AssertionError ________ test_env_gdal_data_wheel ___________

@pytest.mark.wheel
def test_env_gdal_data_wheel():
    runner = CliRunner()
    result = runner.invoke(main_group, ['env', '--gdal-data'])
  assert result.exit_code == 0

E assert 2 == 0 E + where 2 = <Result SystemExit(2)>.exit_code

tests/test_data_paths.py:29: AssertionError ________ test_env_proj_data_wheel ___________

@pytest.mark.wheel
def test_env_proj_data_wheel():
    runner = CliRunner()
    result = runner.invoke(main_group, ['env', '--proj-data'])
  assert result.exit_code == 0

E assert 2 == 0 E + where 2 = <Result SystemExit(2)>.exit_code

tests/test_data_paths.py:37: AssertionError ________ testenv_gdal_data_environ __________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f1c52ebf850>

def test_env_gdal_data_environ(monkeypatch):
    monkeypatch.setenv('GDAL_DATA', '/foo/bar')
    runner = CliRunner()
    result = runner.invoke(main_group, ['env', '--gdal-data'])
  assert result.exit_code == 0

E assert 2 == 0 E + where 2 = <Result SystemExit(2)>.exit_code

tests/test_data_paths.py:45: AssertionError ________ testenv_proj_data_environ __________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f1c52f15700>

def test_env_proj_data_environ(monkeypatch):
    monkeypatch.setenv('PROJ_LIB', '/foo/bar')
    runner = CliRunner()
    result = runner.invoke(main_group, ['env', '--proj-data'])
  assert result.exit_code == 0

E assert 2 == 0 E + where 2 = <Result SystemExit(2)>.exit_code

tests/test_data_paths.py:53: AssertionError ========================================================== warnings summary =========================================================== /usr/lib/python3.8/site-packages/_pytest/mark/structures.py:323 /usr/lib/python3.8/site-packages/_pytest/mark/structures.py:323: PytestUnknownMarkWarning: Unknown pytest.mark.wheel - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html warnings.warn(

-- Docs: https://docs.pytest.org/en/latest/warnings.html ==================================================== 6 failed, 1 warning in 0.12s =====================================================

jose1711 commented on 2019-11-17 21:22

check() is failing for me

masca commented on 2019-09-17 14:03

I am having troubles installing the package. I obtain the following:


Traceback (most recent call last): File "setup.py", line 238, in <module> compiler_directives={"language_level": "3"} File "/usr/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 966, in cythonize aliases=aliases) File "/usr/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 810, in create_extension_list for file in nonempty(sorted(extended_iglob(filepattern)), "'%s' doesn't match any files" % filepattern): File "/usr/lib/python3.7/site-packages/Cython/Build/Dependencies.py", line 109, in nonempty raise ValueError(error_msg) ValueError: 'fiona/_shim.pyx' doesn't match any files ==> ERRORE: Si è verificato un errore in check(). L'operazione sta per essere interrotta... Error making: python-fiona


jose1711 commented on 2019-07-21 15:51

upstream ticket: https://github.com/Toblerity/Fiona/issues/745

oysstu commented on 2019-07-01 13:39

Package broken due to missing upstream gdal 3.0 support

jerry73204 commented on 2019-05-07 06:56

I got this message while running check(). Please add 'python-boto3' to checkdepends.

ImportError while importing test module '/tmp2/makepkg/python-fiona/src/Fiona-1.8.6/tests/test_vfs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_vfs.py:6: in <module>
    import boto3
E   ModuleNotFoundError: No module named 'boto3'