releasing package dulwich version 0.19.8-1 debian/0.19.8-1
authorJelmer Vernooij <jelmer@jelmer.uk>
Wed, 7 Nov 2018 01:59:28 +0000 (01:59 +0000)
committerJelmer Vernooij <jelmer@jelmer.uk>
Wed, 7 Nov 2018 01:59:28 +0000 (01:59 +0000)
NEWS
PKG-INFO
README.md
debian/changelog
dulwich.egg-info/PKG-INFO
dulwich/__init__.py
dulwich/tests/test_refs.py
setup.py

diff --git a/NEWS b/NEWS
index a3643bb60c385c134b8da83d93bb8cacd17041d2..a9ec9da05d93c8806860fdf2a58e85c531b95af2 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+0.19.8 2018-11-06
+
+ * Fix encoding when reading README file in setup.py.
+   (egor <egor@sourced.tech>, #668)
+
 0.19.7 2018-11-05
 
  CHANGES
index ce80ed2071882622af61999e183d0fd50c34974b..87260943667bd31b0e03411bb9764601701df828 100644 (file)
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: dulwich
-Version: 0.19.7
+Version: 0.19.8
 Summary: Python Git Library
 Home-page: https://www.dulwich.io/
 Author: Jelmer Vernooij
@@ -102,7 +102,7 @@ Description: [![Build Status](https://travis-ci.org/dulwich/dulwich.png?branch=m
         Supported versions of Python
         ----------------------------
         
-        At the moment, Dulwich supports (and is tested on) CPython 2.7, 3.3, 3.4, 3.5, 3.6 and Pypy.
+        At the moment, Dulwich supports (and is tested on) CPython 2.7, 3.4, 3.5, 3.6 and Pypy.
         
 Keywords: git vcs
 Platform: UNKNOWN
index 568b8387ce5a5772f49e8bff143c4f0fada8e3b5..8b99b8ec89c2ba9b5ffdc4ca080a8706d64e8964 100644 (file)
--- a/README.md
+++ b/README.md
@@ -91,4 +91,4 @@ file and [list of open issues](https://github.com/dulwich/dulwich/issues).
 Supported versions of Python
 ----------------------------
 
-At the moment, Dulwich supports (and is tested on) CPython 2.7, 3.3, 3.4, 3.5, 3.6 and Pypy.
+At the moment, Dulwich supports (and is tested on) CPython 2.7, 3.4, 3.5, 3.6 and Pypy.
index 464088dd4412ed07ce3f3d137c4d6af0c2e7e580..56d1b2320fb424218a22e3fd146ecebdef0d9095 100644 (file)
@@ -1,3 +1,9 @@
+dulwich (0.19.8-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Jelmer Vernooij <jelmer@debian.org>  Wed, 07 Nov 2018 01:52:52 +0000
+
 dulwich (0.19.7-1) unstable; urgency=medium
 
   * Run wrap-and-sort.
index ce80ed2071882622af61999e183d0fd50c34974b..87260943667bd31b0e03411bb9764601701df828 100644 (file)
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: dulwich
-Version: 0.19.7
+Version: 0.19.8
 Summary: Python Git Library
 Home-page: https://www.dulwich.io/
 Author: Jelmer Vernooij
@@ -102,7 +102,7 @@ Description: [![Build Status](https://travis-ci.org/dulwich/dulwich.png?branch=m
         Supported versions of Python
         ----------------------------
         
-        At the moment, Dulwich supports (and is tested on) CPython 2.7, 3.3, 3.4, 3.5, 3.6 and Pypy.
+        At the moment, Dulwich supports (and is tested on) CPython 2.7, 3.4, 3.5, 3.6 and Pypy.
         
 Keywords: git vcs
 Platform: UNKNOWN
index b42e4aaa74203f115d7a9c2b02fbd76a59a89ed0..e06006db905a09c7b60eb21cd0c519c911e7ae5a 100644 (file)
@@ -22,4 +22,4 @@
 
 """Python implementation of the Git file formats and protocols."""
 
-__version__ = (0, 19, 7)
+__version__ = (0, 19, 8)
index ee9611f71efe7feb45e4efdb415be58109e4c51a..e1b036640bbe5be543af817b6990e0cc88dc7383 100644 (file)
@@ -506,6 +506,9 @@ class DiskRefsContainerTests(RefsContainerTests, TestCase):
         self.assertEqual(expected_refs, self._repo.get_refs())
 
     def test_cyrillic(self):
+        if sys.platform == 'win32':
+            raise SkipTest(
+                    "filesystem encoding doesn't support arbitrary bytes")
         # reported in https://github.com/dulwich/dulwich/issues/608
         name = b'\xcd\xee\xe2\xe0\xff\xe2\xe5\xf2\xea\xe01'
         encoded_ref = b'refs/heads/' + name
index 8319fc1d8344d537fffbaa0b94d5a52dcd6d215c..57dd916ac841ee37f332ebb287f14914eaa7cf69 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -11,10 +11,11 @@ except ImportError:
 else:
     has_setuptools = True
 from distutils.core import Distribution
+import io
 import os
 import sys
 
-dulwich_version_string = '0.19.7'
+dulwich_version_string = '0.19.8'
 
 include_dirs = []
 # Windows MSVC support
@@ -83,7 +84,8 @@ if has_setuptools:
     setup_kwargs['test_suite'] = 'dulwich.tests.test_suite'
     setup_kwargs['tests_require'] = tests_require
 
-with open('README.md', 'r') as f:
+with io.open(os.path.join(os.path.dirname(__file__), "README.md"),
+             encoding="utf-8") as f:
     description = f.read()
 
 setup(name='dulwich',