From de7f778a4c9bd733620bc9763e87f54a76985ad7 Mon Sep 17 00:00:00 2001 From: Charles Li Date: Fri, 30 Aug 2019 21:07:33 -0400 Subject: [PATCH] chore: update deps and add project .toml --- pyproject.toml | 2 ++ setup.py | 14 ++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..cae0aeea --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,2 @@ +[tool.portray] +modules = ['dataclasses_json'] diff --git a/setup.py b/setup.py index d9954cfd..897bd619 100644 --- a/setup.py +++ b/setup.py @@ -17,14 +17,20 @@ keywords='dataclasses json', install_requires=[ 'dataclasses;python_version=="3.6"', - 'marshmallow==3.0.0rc6', - 'marshmallow-enum>=1.4.1', + 'marshmallow>=3.0.1,<4.0.0', + 'marshmallow-enum>=1.4.1,<2.0.0', 'typing-inspect>=0.4.0', - 'stringcase==1.2.0' + 'stringcase==1.2.0,<2.0.0' ], python_requires='>=3.6', extras_require={ - 'dev': ['pytest', 'ipython', 'mypy>=0.710', 'hypothesis'] + 'dev': [ + 'pytest', + 'ipython', + 'mypy>=0.710', + 'hypothesis', + 'portray' + ] }, include_package_data=True )