Skip to content

Commit

Permalink
Merge pull request #69 from metaodi/develop
Browse files Browse the repository at this point in the history
Release 0.7.2
  • Loading branch information
metaodi committed Dec 21, 2016
2 parents 76acaf4 + fda8e0d commit 762b951
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

## [Unreleased][unreleased]

## 0.7.2 - 2016-12-21
### Fixed
- Added 'requests' as a dependency to setup.py to fix installation problems

## 0.7.1 - 2016-12-12
### Changed
- Catch OSError in setup.py to avoid installation errors
Expand Down
2 changes: 1 addition & 1 deletion osmapi/__init__.py
@@ -1,5 +1,5 @@
from __future__ import (absolute_import, print_function, unicode_literals)

__version__ = '0.7.1'
__version__ = '0.7.2'

from .OsmApi import * # noqa
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -18,6 +18,7 @@
name='osmapi',
packages=['osmapi'],
version=version,
install_requires=['requests'],
description='Python wrapper for the OSM API',
long_description=description,
author='Etienne Chové',
Expand Down
18 changes: 9 additions & 9 deletions tests/changeset_tests.py
Expand Up @@ -92,10 +92,10 @@ def test_ChangesetUpdate(self):
xmltosorteddict(kwargs['data']),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osm version="0.6" generator="osmapi/0.7.1">\n'
b'<osm version="0.6" generator="osmapi/0.7.2">\n'
b' <changeset visible="true">\n'
b' <tag k="test" v="foobar"/>\n'
b' <tag k="created_by" v="osmapi/0.7.1"/>\n'
b' <tag k="created_by" v="osmapi/0.7.2"/>\n'
b' </changeset>\n'
b'</osm>\n'
)
Expand Down Expand Up @@ -125,7 +125,7 @@ def test_ChangesetUpdate_with_created_by(self):
xmltosorteddict(kwargs['data']),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osm version="0.6" generator="osmapi/0.7.1">\n'
b'<osm version="0.6" generator="osmapi/0.7.2">\n'
b' <changeset visible="true">\n'
b' <tag k="test" v="foobar"/>\n'
b' <tag k="created_by" v="MyTestOSMApp"/>\n'
Expand Down Expand Up @@ -163,10 +163,10 @@ def test_ChangesetCreate(self):
xmltosorteddict(kwargs['data']),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osm version="0.6" generator="osmapi/0.7.1">\n'
b'<osm version="0.6" generator="osmapi/0.7.2">\n'
b' <changeset visible="true">\n'
b' <tag k="foobar" v="A new test changeset"/>\n'
b' <tag k="created_by" v="osmapi/0.7.1"/>\n'
b' <tag k="created_by" v="osmapi/0.7.2"/>\n'
b' </changeset>\n'
b'</osm>\n'
)
Expand All @@ -190,7 +190,7 @@ def test_ChangesetCreate_with_created_by(self):
xmltosorteddict(kwargs['data']),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osm version="0.6" generator="osmapi/0.7.1">\n'
b'<osm version="0.6" generator="osmapi/0.7.2">\n'
b' <changeset visible="true">\n'
b' <tag k="foobar" v="A new test changeset"/>\n'
b' <tag k="created_by" v="CoolTestApp"/>\n'
Expand Down Expand Up @@ -276,7 +276,7 @@ def test_ChangesetUpload_create_node(self):
xmltosorteddict(kwargs['data']),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osmChange version="0.6" generator="osmapi/0.7.1">\n'
b'<osmChange version="0.6" generator="osmapi/0.7.2">\n'
b'<create>\n'
b' <node lat="47.123" lon="8.555" visible="true" '
b'changeset="4444">\n'
Expand Down Expand Up @@ -350,7 +350,7 @@ def test_ChangesetUpload_modify_way(self):
xmltosorteddict(kwargs['data']),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osmChange version="0.6" generator="osmapi/0.7.1">\n'
b'<osmChange version="0.6" generator="osmapi/0.7.2">\n'
b'<modify>\n'
b' <way id="4294967296" version="2" visible="true" '
b'changeset="4444">\n'
Expand Down Expand Up @@ -434,7 +434,7 @@ def test_ChangesetUpload_delete_relation(self):
xmltosorteddict(kwargs['data']),
xmltosorteddict(
b'<?xml version="1.0" encoding="UTF-8"?>\n'
b'<osmChange version="0.6" generator="osmapi/0.7.1">\n'
b'<osmChange version="0.6" generator="osmapi/0.7.2">\n'
b'<delete>\n'
b' <relation id="676" version="2" visible="true" '
b'changeset="4444">\n'
Expand Down

0 comments on commit 762b951

Please sign in to comment.