[python-osmapi] 01/05: Imported Upstream version 0.7.2

Bas Couwenberg sebastic at debian.org
Wed Dec 21 17:33:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository python-osmapi.

commit 7107449188b4a9258ecb5f8d928a5c97ed342a0d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed Dec 21 18:16:51 2016 +0100

    Imported Upstream version 0.7.2
---
 CHANGELOG.md             |  4 ++++
 osmapi/__init__.py       |  2 +-
 setup.py                 |  1 +
 tests/changeset_tests.py | 18 +++++++++---------
 4 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 541f226..c6a5918 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/osmapi/__init__.py b/osmapi/__init__.py
index 3b095cc..1f56b43 100644
--- a/osmapi/__init__.py
+++ b/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
diff --git a/setup.py b/setup.py
index 7a9296f..bbff568 100644
--- a/setup.py
+++ b/setup.py
@@ -18,6 +18,7 @@ setup(
     name='osmapi',
     packages=['osmapi'],
     version=version,
+    install_requires=['requests'],
     description='Python wrapper for the OSM API',
     long_description=description,
     author='Etienne Chové',
diff --git a/tests/changeset_tests.py b/tests/changeset_tests.py
index c679e56..dd11029 100644
--- a/tests/changeset_tests.py
+++ b/tests/changeset_tests.py
@@ -92,10 +92,10 @@ class TestOsmApiChangeset(osmapi_tests.TestOsmApi):
             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'
             )
@@ -125,7 +125,7 @@ class TestOsmApiChangeset(osmapi_tests.TestOsmApi):
             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'
@@ -163,10 +163,10 @@ class TestOsmApiChangeset(osmapi_tests.TestOsmApi):
             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'
             )
@@ -190,7 +190,7 @@ class TestOsmApiChangeset(osmapi_tests.TestOsmApi):
             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'
@@ -276,7 +276,7 @@ class TestOsmApiChangeset(osmapi_tests.TestOsmApi):
             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'
@@ -350,7 +350,7 @@ class TestOsmApiChangeset(osmapi_tests.TestOsmApi):
             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'
@@ -434,7 +434,7 @@ class TestOsmApiChangeset(osmapi_tests.TestOsmApi):
             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'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-osmapi.git



More information about the Pkg-grass-devel mailing list