Commit 73b52cb7 authored by Thomas Goirand's avatar Thomas Goirand
Browse files

Merge tag '4.2.0' into debian/xena

oslo.serialization 4.2.0 release

meta:version: 4.2.0
meta:diff-start: -
meta:series: xena
meta:release-type: release
meta:pypi: yes
meta:first: yes
meta:release:Author: Hervé Beraud <hberaud@redhat.com>
meta:release:Commit: Hervé Beraud <hberaud@redhat.com>
meta:release:Change-Id: I946c734c8958b641e211453289d7bb3f26bb9700
meta:release:Code-Review+2: Hervé Beraud <herveberaud.pro@gmail.com>
meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org>
meta:release:Workflow+1: Thierry Carrez <thierry@openstack.org>
parents 71e3c69b 2b94a4f9
......@@ -9,7 +9,7 @@ default_language_version:
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: ebc15addedad713c86ef18ae9632c88e187dd0af # v3.1.0
rev: 9136088a246768144165fcc3ecc3d31bb686920a # v3.3.0
hooks:
- id: trailing-whitespace
# Replaces or checks mixed line ending
......@@ -27,9 +27,13 @@ repos:
- id: debug-statements
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://gitlab.com/pycqa/flake8
rev: 181bb46098dddf7e2d45319ea654b4b4d58c2840 # 3.8.3
- repo: local
hooks:
- id: flake8
name: flake8
additional_dependencies:
- hacking>=3.0.1,<3.1.0
language: python
entry: flake8
files: '^.*\.py$'
exclude: '^(doc|releasenotes|tools)/.*$'
......@@ -2,7 +2,7 @@
templates:
- check-requirements
- lib-forward-testing-python3
- openstack-python3-wallaby-jobs
- openstack-python3-xena-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
appdirs==1.3.0
Babel==2.3.4
bandit==1.4.0
coverage==4.0
debtcollector==1.2.0
extras==1.0.0
fixtures==3.0.0
gitdb==0.6.4
GitPython==1.0.1
ipaddress===1.0.17
iso8601==0.1.11
keystoneauth1==3.4.0
linecache2==1.0.0
mox3==0.20.0
msgpack==0.5.2
netaddr==0.7.18
netifaces==0.10.4
os-client-config==1.28.0
oslo.i18n==3.15.3
oslo.utils==3.33.0
oslotest==3.2.0
pbr==2.0.0
pyparsing==2.1.0
python-mimeparse==1.6.0
python-subunit==1.0.0
pytz==2013.6
requests==2.14.2
requestsexceptions==1.2.0
smmap==0.9.0
stestr==2.0.0
stevedore==1.20.0
testtools==2.2.0
traceback2==1.4.0
unittest2==1.1.0
wrapt==1.7.0
......@@ -14,6 +14,7 @@
# under the License.
import collections
import collections.abc
import datetime
import functools
import io
......@@ -241,9 +242,9 @@ class ToPrimitiveTestCase(test_base.BaseTestCase):
self.assertEqual({'iteritems': 'iteritems'}, p)
def test_mapping(self):
# Make sure collections.Mapping is converted to a dict
# Make sure collections.abc.Mapping is converted to a dict
# and not a list.
class MappingClass(collections.Mapping):
class MappingClass(collections.abc.Mapping):
def __init__(self):
self.data = dict(a=1, b=2, c=3)
......
......@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
wallaby
victoria
ussuri
train
......
============================
Wallaby Series Release Notes
============================
.. release-notes::
:branch: stable/wallaby
[metadata]
name = oslo.serialization
summary = Oslo Serialization library
description-file =
description_file =
README.rst
author = OpenStack
author-email = openstack-discuss@lists.openstack.org
home-page = https://docs.openstack.org/oslo.serialization/latest/
python-requires = >=3.6
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/oslo.serialization/latest/
python_requires = >=3.6
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
......
......@@ -6,7 +6,7 @@ ignore_basepython_conflict = true
[testenv]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs}
......@@ -26,7 +26,7 @@ commands = python setup.py test --coverage --coverage-package-name=oslo_serializ
[testenv:docs]
whitelist_externals = rm
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build
......@@ -39,12 +39,6 @@ commands =
rm -rf releasenotes/build
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html
[testenv:lower-constraints]
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
# W504 line break after binary operator
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment