Skip to content

Commit

Permalink
Merge pull request #796 from hugapi/develop
Browse files Browse the repository at this point in the history
2.5.3
  • Loading branch information
timothycrosley committed May 16, 2019
2 parents c50f227 + f022c52 commit 494efaf
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.5.2
current_version = 2.5.3

[bumpversion:file:.env]

Expand Down
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fi

export PROJECT_NAME=$OPEN_PROJECT_NAME
export PROJECT_DIR="$PWD"
export PROJECT_VERSION="2.5.2"
export PROJECT_VERSION="2.5.3"

if [ ! -d "venv" ]; then
if ! hash pyvenv 2>/dev/null; then
Expand Down
1 change: 1 addition & 0 deletions ACKNOWLEDGEMENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Code Contributors
- Antti Kaihola (@akaihola)
- Christopher Goes (@GhostOfGoes)
- Stanislav (@atmo)
- Lordran (@xzycn)

Documenters
===================
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ Ideally, within a virtual environment.

Changelog
=========
### 2.5.3 hotfix - May 15, 2019
- Fixed issue #794 - Restore support for versions of Marshmallow pre-2.17.0

### 2.5.2 hotfix - May 10, 2019
- Fixed issue #790 - Set Falcon defaults to pre 2.0.0 version to avoid breaking changes for Hug users until a Hug 3.0.0 release. The new default Falcon behaviour can be defaulted before hand by setting `__hug__.future = True`.

Expand Down
2 changes: 1 addition & 1 deletion hug/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"""
from __future__ import absolute_import

current = "2.5.2"
current = "2.5.3"
5 changes: 4 additions & 1 deletion hug/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import uuid as native_uuid
from decimal import Decimal
from distutils.version import LooseVersion

import hug._empty as empty
from hug import introspect
Expand All @@ -34,7 +35,9 @@
import marshmallow
from marshmallow import ValidationError

MARSHMALLOW_MAJOR_VERSION = marshmallow.__version_info__[0]
MARSHMALLOW_MAJOR_VERSION = getattr(
marshmallow, "__version_info__", LooseVersion(marshmallow.__version__).version
)[0]
except ImportError:
# Just define the error that is never raised so that Python does not complain.
class ValidationError(Exception):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def list_modules(dirname):

setup(
name="hug",
version="2.5.2",
version="2.5.3",
description="A Python framework that makes developing APIs "
"as simple as possible, but no simpler.",
long_description=long_description,
Expand Down

0 comments on commit 494efaf

Please sign in to comment.