Tests created differ, probably due to Dict order
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
Research direction
Read tests/create_test_data.py at lines 137-151 and inspect how the test data is assembled. Run the script more than once and compare the generated mvt files; done means repeated generation produces identical output across supported Python versions.
Written by the indexing model from the issue text.
Description
Every time I create the tests data using create_test_data.py I get a different mvt file. I believe this is because before Python 3.6 dictionaries are not ordered.
This is probably the problematic place:
https://github.com/mapbox/vector-tile-base/blob/vt3/tests/create_test_data.py#L137-L151
- Dominant language
- Python
- Stars
- 57
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapbox/vector-tile-base
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mapbox/vector-tile-base#25 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
mapbox/vector-tile-base#23 · 2 comments ·
-
`_points_equal` incorrectly compares floats with `is not`Possibly taken @SashaMIT claimed this 8 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 45/100
mapbox/vector-tile-base#19 · 1 comment ·
-
Make a PyPI packageOpen
Difficulty 3/5 1-2 days Newbie friendliness 35/100
mapbox/vector-tile-base#18 · 1 comment · 9 reactions ·
-
Difficulty 1/5 Under an hour Newbie friendliness 25/100
mapbox/vector-tile-base#10 ·