[Git][debian-gis-team/owslib][experimental] 4 commits: New upstream version 0.24.1

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Tue May 11 09:40:47 BST 2021



Bas Couwenberg pushed to branch experimental at Debian GIS Project / owslib


Commits:
22e3b088 by Bas Couwenberg at 2021-05-11T08:27:41+02:00
New upstream version 0.24.1
- - - - -
4c813de2 by Bas Couwenberg at 2021-05-11T08:27:49+02:00
Update upstream source from tag 'upstream/0.24.1'

Update to upstream version '0.24.1'
with Debian dir ccf1d51351a1ac4abfe23a3c1eac9dab9553ed6a
- - - - -
dad0e2dc by Bas Couwenberg at 2021-05-11T08:28:10+02:00
New upstream release.

- - - - -
1e8ed864 by Bas Couwenberg at 2021-05-11T08:29:01+02:00
Set distribution to experimental.

- - - - -


7 changed files:

- CHANGES.rst
- VERSION.txt
- debian/changelog
- owslib/__init__.py
- owslib/catalogue/csw2.py
- owslib/catalogue/csw3.py
- owslib/wps.py


Changes:

=====================================
CHANGES.rst
=====================================
@@ -1,6 +1,16 @@
 Changes
 =======
 
+0.24.1 (2021-05-10)
+-------------------
+
+A full list of commits for 0.24.1 can be found at:
+
+https://github.com/geopython/OWSLib/commits/0.24.1
+
+- fix CSW request byte handling (#776)
+
+
 0.24.0 (2021-05-10)
 -------------------
 


=====================================
VERSION.txt
=====================================
@@ -1 +1 @@
-0.24.0
+0.24.1


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+owslib (0.24.1-1~exp1) experimental; urgency=medium
+
+  * Team upload.
+  * New upstream release.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Tue, 11 May 2021 08:28:40 +0200
+
 owslib (0.24.0-1~exp1) experimental; urgency=medium
 
   * Team upload.


=====================================
owslib/__init__.py
=====================================
@@ -1 +1 @@
-__version__ = '0.24.0'
+__version__ = '0.24.1'


=====================================
owslib/catalogue/csw2.py
=====================================
@@ -309,8 +309,7 @@ class CatalogueServiceWeb(object):
     def getrecords2(self, constraints=[], sortby=None, typenames='csw:Record', esn='summary',
                     outputschema=namespaces['csw'], format=outputformat, startposition=0,
                     maxrecords=10, cql=None, xml=None, resulttype='results',
-                    distributedsearch=False, hopcount=1
-        ):
+                    distributedsearch=False, hopcount=1):
         """
 
         Construct and process a  GetRecords request
@@ -335,7 +334,7 @@ class CatalogueServiceWeb(object):
         """
 
         if xml is not None:
-            if str(xml).startswith('<'):
+            if xml.startswith(b'<'):
                 self.request = etree.fromstring(xml)
                 val = self.request.find(util.nspath_eval('csw:Query/csw:ElementSetName', namespaces))
                 if val is not None:


=====================================
owslib/catalogue/csw3.py
=====================================
@@ -222,7 +222,7 @@ class CatalogueServiceWeb(object):
         """
 
         if xml is not None:
-            if str(xml).startswith('<'):
+            if xml.startswith(b'<'):
                 self.request = etree.fromstring(xml)
                 val = self.request.find(util.nspath_eval('csw30:Query/csw30:ElementSetName', namespaces))
                 if val is not None:


=====================================
owslib/wps.py
=====================================
@@ -848,7 +848,7 @@ class WPSExecution(object):
         retained for backwards-compatibility.
         """
         return self.isSucceeded()
-        
+
     def isSucceeded(self):
         """
         Returns a boolean regarding the success status of the process.



View it on GitLab: https://salsa.debian.org/debian-gis-team/owslib/-/compare/dff1087f8e7b65cadff9b05d79182732cbf14c3b...1e8ed8648a318daa9b421981a3ab366b5ef01fe3

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/owslib/-/compare/dff1087f8e7b65cadff9b05d79182732cbf14c3b...1e8ed8648a318daa9b421981a3ab366b5ef01fe3
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210511/6de8e6d9/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list