Package Details: python-folium 0.17.0-1

Git Clone URL: https://aur.archlinux.org/python-folium.git (read-only, click to copy)
Package Base: python-folium
Description: Python Data. Leaflet.js maps
Upstream URL: https://github.com/python-visualization/folium
Keywords: geodata visualization
Licenses: MIT
Submitter: thrasibule
Maintainer: not_anonymous
Last Packager: not_anonymous
Votes: 3
Popularity: 0.147847
First Submitted: 2017-03-25 15:05 (UTC)
Last Updated: 2024-08-25 21:33 (UTC)

Latest Comments

« First ‹ Previous 1 2

laurent_waro commented on 2020-09-22 02:43 (UTC)

Still can't pass tests with python-branca 0.4.1-1.

================================================================================================ FAILURES ================================================================================================= _____________ test_valid_html _____________

m = <folium.folium.Map object at 0x7ff0da307f70>

def test_valid_html(m):
    html = m._repr_html_()
    parts = html.split('><')
  assert len(parts) == 6

E assert 7 == 6 E + where 7 = len(['<div style="width:100%;"', 'div style="position:relative;width:100%;height:0;padding-bottom:60%;"', 'span style="col...\')));this.contentDocument.close();" allowfullscreen webkitallowfullscreen mozallowfullscreen', '/iframe', '/div', ...])

tests/test_repr.py:37: AssertionError ============================================================================================ warnings summary ============================================================================================= /usr/lib/python3.8/site-packages/_pytest/config/init.py:1148 /usr/lib/python3.8/site-packages/_pytest/config/init.py:1148: PytestConfigWarning: Unknown config ini key: flake8-ignore

self._warn_or_fail_if_strict("Unknown config ini key: {}\n".format(key))

/usr/lib/python3.8/site-packages/_pytest/config/init.py:1148 /usr/lib/python3.8/site-packages/_pytest/config/init.py:1148: PytestConfigWarning: Unknown config ini key: flake8-max-line-length

self._warn_or_fail_if_strict("Unknown config ini key: {}\n".format(key))

tests/test_folium.py:359 /home/arch_user/.cache/yay/python-folium/src/folium-0.11.0/tests/test_folium.py:359: PytestUnknownMarkWarning: Unknown pytest.mark.web - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html @pytest.mark.web

-- Docs: https://docs.pytest.org/en/stable/warnings.html ========================================================================================= short test summary info ========================================================================================= FAILED tests/test_repr.py::test_valid_html - assert 7 == 6 ==================================================================== 1 failed, 136 passed, 1 xfailed, 2 xpassed, 3 warnings in 22.46s =====================================================================

thrasibule commented on 2020-09-17 01:34 (UTC)

tests pass with python-branca-0.4.0...

laurent_waro commented on 2020-09-16 02:20 (UTC)

Can't be installed for me because it can't pass the test's stage without errors :

================================================================== FAILURES =================================================================== _________ test_valid_html _________

m = <folium.folium.Map object at 0x7f5e7c56ad30>

def test_valid_html(m):
    html = m._repr_html_()
    parts = html.split('><')
  assert len(parts) == 6

E assert 7 == 6 E + where 7 = len(['<div style="width:100%;"', 'div style="position:relative;width:100%;height:0;padding-bottom:60%;"', 'span style="col...\')));this.contentDocument.close();" allowfullscreen webkitallowfullscreen mozallowfullscreen', '/iframe', '/div', ...])

tests/test_repr.py:37: AssertionError ============================================================== warnings summary =============================================================== /usr/lib/python3.8/site-packages/_pytest/config/init.py:1148 /usr/lib/python3.8/site-packages/_pytest/config/init.py:1148: PytestConfigWarning: Unknown config ini key: flake8-ignore

self._warn_or_fail_if_strict("Unknown config ini key: {}\n".format(key))

/usr/lib/python3.8/site-packages/_pytest/config/init.py:1148 /usr/lib/python3.8/site-packages/_pytest/config/init.py:1148: PytestConfigWarning: Unknown config ini key: flake8-max-line-length

self._warn_or_fail_if_strict("Unknown config ini key: {}\n".format(key))

tests/test_folium.py:359 /home/laurenth/.cache/yay/python-folium/src/folium-0.11.0/tests/test_folium.py:359: PytestUnknownMarkWarning: Unknown pytest.mark.web - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html @pytest.mark.web

-- Docs: https://docs.pytest.org/en/stable/warnings.html =========================================================== short test summary info =========================================================== FAILED tests/test_repr.py::test_valid_html - assert 7 == 6 ====================================== 1 failed, 136 passed, 1 xfailed, 2 xpassed, 3 warnings in 21.06s =======================================

j_4321 commented on 2017-10-09 09:49 (UTC)

I tried to build the package and got the error "ModuleNotFoundError: No module named 'pytest'". I fixed it by installing 'python-pytest' which is missing in checkdepends.

steeznson commented on 2017-08-16 13:46 (UTC)

The unpkg url for leaflet.js in maps.py is wrong/outdated. I've submitted a pull request on github but this package is currently broken.