Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: include data.geojson into the PyPI distfile #61

Closed
petrrr opened this issue Jul 7, 2015 · 1 comment
Closed

tests: include data.geojson into the PyPI distfile #61

petrrr opened this issue Jul 7, 2015 · 1 comment

Comments

@petrrr
Copy link

petrrr commented Jul 7, 2015

I realise that data.geojson seems not to be part of the PyPI distfile. This results in one test to fail, so I'd propose to include this file as well. I guess the fix is quick and just about modifying the MANIFEST.in. I also would propose to bug fix release after fixing this.

sudo nosetests .
..................E........................
======================================================================
ERROR: test_unicode_properties (tests.test_features.FeaturesTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/local/var/macports/build/_Users_petr_sandbox_SVN-repos_macports_dports_python_py-geojson/py27-geojson/work/geojson-1.2.1/tests/test_features.py", line 37, in test_unicode_properties
    with open("tests/data.geojson") as file_:
IOError: [Errno 2] No such file or directory: 'tests/data.geojson'

----------------------------------------------------------------------
Ran 43 tests in 0.035s

FAILED (errors=1)
@frewsxcv
Copy link
Collaborator

Thanks for the report; released in version 1.2.2

https://pypi.python.org/pypi/geojson/1.2.2

jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Aug 9, 2015
1.2.2 (2015-07-13)
------------------

- Fix tests by including test file into build

  - jazzband/geojson#61

- Build universal wheels

  - https://packaging.python.org/en/latest/distributing.html#universal-wheels

1.2.1 (2015-06-25)
------------------

- Encode long types correctly with Python 2.x

  - jazzband/geojson#57

1.2.0 (2015-06-19)
------------------

- Utility function to validate GeoJSON objects

  - jazzband/geojson#56

1.1.0 (2015-06-08)
------------------

- Stop outputting invalid GeoJSON value id=null on Features

  - jazzband/geojson#53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants