Skip to content

Commit

Permalink
bumps marshmallow version and argschema dependency (#112)
Browse files Browse the repository at this point in the history
* bumps marshmallow version and argschema dependency

* renames container to inner (new in marshmallow 3.0.0rc8)

* extends marshmallow range down to 3.0.0
  • Loading branch information
djkapner committed Jul 2, 2021
1 parent 41e6765 commit 21781a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion argschema/__init__.py
Expand Up @@ -4,7 +4,7 @@
from .argschema_parser import ArgSchemaParser # noQA:F401
from .deprecated import JsonModule, ModuleParameters # noQA:F401

__version__ = "2.0.2"
__version__ = "3.0.0"

def main(): # pragma: no cover
jm = ArgSchemaParser()
Expand Down
2 changes: 1 addition & 1 deletion argschema/autodoc.py
Expand Up @@ -87,7 +87,7 @@ def setup(app):
# get the set of types this field was derived from
if isinstance(field, mm.fields.List):
# if it's a list we want to do this for its container
base_types = inspect.getmro(type(field.container))
base_types = inspect.getmro(type(field.inner))
else:
base_types = inspect.getmro(type(field))

Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = argschema
version = 1.15.3
version = 3.0.0
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."
authors = ['Forrest Collman, David Feng']
author_email=forrestc@alleninstitute.org
Expand All @@ -10,7 +10,7 @@ description_file = README.md
[options]
install_requires =
numpy
marshmallow==3.0.0rc6
marshmallow>=3.0.0,<4.0
pyyaml

[options.extras_require]
Expand Down

0 comments on commit 21781a4

Please sign in to comment.