From ad9d12e3f07d3ebd8147ec03b5f18f50b70689ed Mon Sep 17 00:00:00 2001 From: "Nathaniel Starkman (@nstarman)" Date: Sat, 11 Sep 2021 14:06:01 -0400 Subject: [PATCH] try bumping versions Signed-off-by: Nathaniel Starkman (@nstarman) --- discO/core/tests/test_sample.py | 8 ++++---- setup.cfg | 6 +++--- tox.ini | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/discO/core/tests/test_sample.py b/discO/core/tests/test_sample.py index f44bb99f..d8422fd5 100644 --- a/discO/core/tests/test_sample.py +++ b/discO/core/tests/test_sample.py @@ -32,8 +32,8 @@ ############################################################################## -class TestDF(object): - """docstring for TestDF""" +class FallbackDF(object): + """Fallback DF if galpy is not installed.""" def __init__(self, potential): self._pot = potential @@ -235,7 +235,7 @@ def test___new__(self): msamp = self.obj( PotentialWrapper(self.potential), total_mass=10 * u.solMass, - df=TestDF, + df=FallbackDF, key=key, ) @@ -264,7 +264,7 @@ def test___new__(self): msamp = self.obj( PotentialWrapper(self.potential), key=key, - df=TestDF, + df=FallbackDF, total_mass=10 * u.solMass, ) diff --git a/setup.cfg b/setup.cfg index 68e2f584..25fbeed8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,8 +17,8 @@ packages = find: python_requires = >=3.8 setup_requires = setuptools_scm install_requires = - astropy - numpy + astropy >= 4.3 + numpy >= 1.17 PyYAML scipy typing_extensions @@ -26,7 +26,7 @@ install_requires = [options.extras_require] all = gala - galpy @ git+https://github.com/jobovy/galpy.git + galpy >= 1.7 tqdm test = pytest-astropy diff --git a/tox.ini b/tox.ini index f3e741a9..7b605639 100644 --- a/tox.ini +++ b/tox.ini @@ -178,7 +178,7 @@ skip_install = true changedir = . description = check code style, with black deps = black -commands = black ./discO -l 79 --check +commands = black ./discO -l 100 --check [flake8] ignore = F401, W503, E203, E743, F403, E702