Skip to content

Commit 21781a4

Browse files
authored
bumps marshmallow version and argschema dependency (#112)
* bumps marshmallow version and argschema dependency * renames container to inner (new in marshmallow 3.0.0rc8) * extends marshmallow range down to 3.0.0
1 parent 41e6765 commit 21781a4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

argschema/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from .argschema_parser import ArgSchemaParser # noQA:F401
55
from .deprecated import JsonModule, ModuleParameters # noQA:F401
66

7-
__version__ = "2.0.2"
7+
__version__ = "3.0.0"
88

99
def main(): # pragma: no cover
1010
jm = ArgSchemaParser()

argschema/autodoc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def setup(app):
8787
# get the set of types this field was derived from
8888
if isinstance(field, mm.fields.List):
8989
# if it's a list we want to do this for its container
90-
base_types = inspect.getmro(type(field.container))
90+
base_types = inspect.getmro(type(field.inner))
9191
else:
9292
base_types = inspect.getmro(type(field))
9393

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = argschema
3-
version = 1.15.3
3+
version = 3.0.0
44
description= "a wrapper for setting up modules that can have parameters specified by command line arguments, json_files, or dictionary objects. Providing a common wrapper for data processing modules."
55
authors = ['Forrest Collman, David Feng']
66
author_email[email protected]
@@ -10,7 +10,7 @@ description_file = README.md
1010
[options]
1111
install_requires =
1212
numpy
13-
marshmallow==3.0.0rc6
13+
marshmallow>=3.0.0,<4.0
1414
pyyaml
1515

1616
[options.extras_require]

0 commit comments

Comments
 (0)