--- /dev/null
+- project:
+ check:
+ jobs:
+ - openstack-tox-lower-constraints
+ gate:
+ jobs:
+ - openstack-tox-lower-constraints
CHANGES
=======
+4.0.1
+-----
+
+* add lower-constraints job
+* Explicitly read setup.cfg as utf-8 on Python 3
+
4.0.0
-----
Metadata-Version: 2.1
Name: pbr
-Version: 4.0.0
+Version: 4.0.1
Summary: Python Build Reasonableness
Home-page: https://docs.openstack.org/pbr/latest/
Author: OpenStack
Author-email: openstack-dev@lists.openstack.org
License: UNKNOWN
+Project-URL: Source Code, https://git.openstack.org/cgit/openstack-dev/pbr/
Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/
Project-URL: Documentation, https://docs.openstack.org/pbr/
-Project-URL: Source Code, https://git.openstack.org/cgit/openstack-dev/pbr/
Description: Introduction
============
# A comment on a dedicated line
value3
+.. note::
+
+ On Python 3 ``setup.cfg`` is explicitly read as UTF-8. On Python 2 the
+ encoding is dependent on the terminal encoding.
+
__ http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files
__ http://babel.pocoo.org/en/latest/setup.html
--- /dev/null
+alabaster==0.7.10
+Babel==2.3.4
+coverage==4.0
+docutils==0.11
+dulwich==0.15.0
+extras==1.0.0
+fixtures==3.0.0
+flake8==2.5.5
+hacking==0.12.0
+imagesize==0.7.1
+Jinja2==2.10
+linecache2==1.0.0
+MarkupSafe==1.0
+mccabe==0.2.1
+mock==2.0.0
+openstackdocstheme==1.18.1
+pep8==1.5.7
+pyflakes==0.8.1
+Pygments==2.2.0
+python-mimeparse==1.6.0
+python-subunit==1.0.0
+pytz==2013.6
+PyYAML==3.12
+reno==2.5.0
+requests==2.14.2
+six==1.10.0
+snowballstemmer==1.2.1
+Sphinx==1.6.5
+sphinxcontrib-websupport==1.0.1
+testrepository==0.0.18
+testresources==2.0.0
+testscenarios==0.4
+testtools==2.2.0
+traceback2==1.4.0
+unittest2==1.1.0
+virtualenv==14.0.6
Metadata-Version: 2.1
Name: pbr
-Version: 4.0.0
+Version: 4.0.1
Summary: Python Build Reasonableness
Home-page: https://docs.openstack.org/pbr/latest/
Author: OpenStack
Author-email: openstack-dev@lists.openstack.org
License: UNKNOWN
+Project-URL: Source Code, https://git.openstack.org/cgit/openstack-dev/pbr/
Project-URL: Bug Tracker, https://bugs.launchpad.net/pbr/
Project-URL: Documentation, https://docs.openstack.org/pbr/
-Project-URL: Source Code, https://git.openstack.org/cgit/openstack-dev/pbr/
Description: Introduction
============
.coveragerc
.mailmap
.testr.conf
+.zuul.yaml
AUTHORS
CONTRIBUTING.rst
ChangeLog
LICENSE
README.rst
+lower-constraints.txt
setup.cfg
setup.py
test-requirements.txt
if not os.path.exists(path):
raise errors.DistutilsFileError("file '%s' does not exist" %
os.path.abspath(path))
- parser.read(path)
+ try:
+ parser.read(path, encoding='utf-8')
+ except TypeError:
+ # Python 2 doesn't accept the encoding kwarg
+ parser.read(path)
config = {}
for section in parser.sections():
config[section] = dict()
ignore = H803,H904
exclude = .venv,.tox,dist,doc,*.egg,build
show-source = true
+
+[testenv:lower-constraints]
+basepython = python3
+deps =
+ -c{toxinidir}/lower-constraints.txt
+ -r{toxinidir}/test-requirements.txt
+