From 6b950915588cd46333d44643d26bc05ce5b2ad53 Mon Sep 17 00:00:00 2001 From: Ben Dilday Date: Sat, 6 Feb 2021 12:35:46 -0500 Subject: [PATCH] bumps pychadwick version (#59) * bumps pychadwick version * pytest version * updates lahman tests --- pybbda/__init__.py | 2 +- requirements-dev.txt | 2 +- requirements.txt | 2 +- setup.cfg | 2 +- setup.py | 2 +- tests/analysis/simulations/components/test_player_registry.py | 2 +- tests/data/test_lahman/test_lahman.py | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pybbda/__init__.py b/pybbda/__init__.py index b286b38..6156e5a 100644 --- a/pybbda/__init__.py +++ b/pybbda/__init__.py @@ -5,7 +5,7 @@ logging.basicConfig(format="%(levelname)s:%(name)s:%(module)s:%(message)s") logger = logging.getLogger("pybbda") -_version = "0.3.0" +_version = "0.3.1" PYBBDA_LOG_LEVEL_NAME = os.environ.get("PYBBDA_LOG_LEVEL", "") _PYBBDA_LOG_LEVEL_MAP = { diff --git a/requirements-dev.txt b/requirements-dev.txt index c7080e1..2b9c76c 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -pytest==5.3.4 +pytest>=6.0.0 tox==3.14.3 setuptools Sphinx==3.0.3 diff --git a/requirements.txt b/requirements.txt index 6ef4473..58c8d07 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,6 +7,6 @@ requests~=2.22.0 scipy~=1.4.1 sqlalchemy~=1.3.13 tqdm~=4.46.1 -pychadwick~=0.4.0 +pychadwick~=0.5.0 matplotlib~=3.1.3 seaborn~=0.10.1 diff --git a/setup.cfg b/setup.cfg index 1e5c524..fa61866 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.3.0 +current_version = 0.3.1 [flake8] max-line-length = 90 diff --git a/setup.py b/setup.py index 0ab87f2..8b0b927 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def process_line(line): setup( name="pybbda", - version="0.3.0", + version="0.3.1", author="Ben Dilday", author_email="ben.dilday.phd@gmail.com", description="Baseball data and analysis in Python", diff --git a/tests/analysis/simulations/components/test_player_registry.py b/tests/analysis/simulations/components/test_player_registry.py index 4d0dfeb..17d4507 100644 --- a/tests/analysis/simulations/components/test_player_registry.py +++ b/tests/analysis/simulations/components/test_player_registry.py @@ -38,4 +38,4 @@ def test_from_lahman_records(): def test_from_lahman(): player_registry = PlayerRegistry() player_registry.load_from_lahman(pa_limit=180) - assert player_registry.len == 32646 + assert player_registry.len == 32803 diff --git a/tests/data/test_lahman/test_lahman.py b/tests/data/test_lahman/test_lahman.py index 752537e..ebce3ea 100644 --- a/tests/data/test_lahman/test_lahman.py +++ b/tests/data/test_lahman/test_lahman.py @@ -8,7 +8,7 @@ def lahman_data(): def test_lahman_datadum(lahman_data): - assert len(lahman_data.batting) == 107429 + assert len(lahman_data.batting) == 108789 def test_missing_path(lahman_data):