summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pbr/packaging.py8
-rw-r--r--requirements.txt2
-rw-r--r--test-requirements.txt12
3 files changed, 12 insertions, 10 deletions
diff --git a/pbr/packaging.py b/pbr/packaging.py
index 2e75509..a79af8c 100644
--- a/pbr/packaging.py
+++ b/pbr/packaging.py
@@ -20,6 +20,8 @@
Utilities with minimum-depends for use in setup.py
"""
+from __future__ import unicode_literals
+
import email
import io
import os
@@ -257,7 +259,7 @@ def write_git_changelog(git_dir=None, dest_dir=os.path.curdir,
first_line = True
with io.open(new_changelog, "w",
encoding="utf-8") as changelog_file:
- changelog_file.write(u"CHANGES\n=======\n\n")
+ changelog_file.write("CHANGES\n=======\n\n")
for line in changelog.split('\n'):
line_parts = line.split()
if len(line_parts) < 2:
@@ -280,7 +282,7 @@ def write_git_changelog(git_dir=None, dest_dir=os.path.curdir,
if not first_line:
changelog_file.write(u'\n')
changelog_file.write(
- (u"%(tag)s\n%(underline)s\n\n" %
+ ("%(tag)s\n%(underline)s\n\n" %
dict(tag=tag,
underline=underline)))
@@ -288,7 +290,7 @@ def write_git_changelog(git_dir=None, dest_dir=os.path.curdir,
if msg.endswith("."):
msg = msg[:-1]
changelog_file.write(
- (u"* %(msg)s\n" % dict(msg=msg)))
+ ("* %(msg)s\n" % dict(msg=msg)))
first_line = False
diff --git a/requirements.txt b/requirements.txt
index 4627de5..9dd4ec3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1 +1 @@
-pip>=1.0
+pip>=1.4
diff --git a/test-requirements.txt b/test-requirements.txt
index 496c815..7660c9b 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -1,11 +1,11 @@
coverage>=3.6
discover
-fixtures>=0.3.12
+fixtures>=0.3.14
flake8==2.0
mock>=1.0
-python-subunit
+python-subunit>=0.0.18
sphinx>=1.1.2,<1.2
-testrepository>=0.0.17
-testresources<0.3
-testscenarios>=0.4,<0.5
-testtools>=0.9.32
+testrepository>=0.0.18
+testresources>=0.2.4
+testscenarios>=0.4
+testtools>=0.9.34