From 6759706c9cbafe5b940634338be4d0d01db7bf85 Mon Sep 17 00:00:00 2001 From: Marcus Read Date: Wed, 31 Jan 2024 20:11:53 +0000 Subject: [PATCH] Update dependencies Also, preemptively constrains numpy dependency to <2 in anticipation of breaking changes with the upcoming major release 2.0. --- etc/requirements.txt | 18 ++++----- .../requirements_tests.txt | 36 ++++++++--------- etc/requirements_dev.txt | 40 +++++++++---------- pyproject.toml | 2 +- 4 files changed, 45 insertions(+), 51 deletions(-) diff --git a/etc/requirements.txt b/etc/requirements.txt index e854ad2..c9e6536 100644 --- a/etc/requirements.txt +++ b/etc/requirements.txt @@ -4,7 +4,7 @@ # # pip-compile --output-file=etc/requirements.txt pyproject.toml # -beautifulsoup4==4.12.2 +beautifulsoup4==4.12.3 # via yahooquery certifi==2023.11.17 # via requests @@ -12,7 +12,7 @@ charset-normalizer==3.3.2 # via requests colorama==0.4.6 # via tqdm -exchange-calendars==4.5.1 +exchange-calendars==4.5.2 # via market-prices (pyproject.toml) idna==3.6 # via requests @@ -20,12 +20,12 @@ korean-lunar-calendar==0.3.1 # via exchange-calendars lxml==4.9.4 # via yahooquery -numpy==1.26.2 +numpy==1.26.3 # via # exchange-calendars # market-prices (pyproject.toml) # pandas -pandas==2.1.4 +pandas==2.2.0 # via # exchange-calendars # market-prices (pyproject.toml) @@ -33,10 +33,8 @@ pandas==2.1.4 pyluach==2.2.0 # via exchange-calendars python-dateutil==2.8.2 - # via - # exchange-calendars - # pandas -pytz==2023.3.post1 + # via pandas +pytz==2023.4 # via pandas requests==2.31.0 # via @@ -48,7 +46,7 @@ six==1.16.0 # via python-dateutil soupsieve==2.5 # via beautifulsoup4 -toolz==0.12.0 +toolz==0.12.1 # via exchange-calendars tqdm==4.66.1 # via yahooquery @@ -57,7 +55,7 @@ tzdata==2023.4 # exchange-calendars # market-prices (pyproject.toml) # pandas -urllib3==2.1.0 +urllib3==2.2.0 # via requests valimp==0.2 # via market-prices (pyproject.toml) diff --git a/etc/requirements_dependabot/requirements_tests.txt b/etc/requirements_dependabot/requirements_tests.txt index d6c901b..8d5f190 100644 --- a/etc/requirements_dependabot/requirements_tests.txt +++ b/etc/requirements_dependabot/requirements_tests.txt @@ -6,11 +6,11 @@ # attrs==23.2.0 # via hypothesis -beautifulsoup4==4.12.2 +beautifulsoup4==4.12.3 # via yahooquery -black==23.12.1 +black==24.1.1 # via market-prices (pyproject.toml) -blosc2==2.4.0 +blosc2==2.5.1 # via tables certifi==2023.11.17 # via requests @@ -27,15 +27,15 @@ exceptiongroup==1.2.0 # via # hypothesis # pytest -exchange-calendars==4.5.1 +exchange-calendars==4.5.2 # via market-prices (pyproject.toml) -flake8==6.1.0 +flake8==7.0.0 # via # flake8-docstrings # market-prices (pyproject.toml) flake8-docstrings==1.7.0 # via market-prices (pyproject.toml) -hypothesis==6.92.2 +hypothesis==6.97.3 # via market-prices (pyproject.toml) idna==3.6 # via requests @@ -53,9 +53,9 @@ mypy-extensions==1.0.0 # via black ndindex==1.7 # via blosc2 -numexpr==2.8.8 +numexpr==2.9.0 # via tables -numpy==1.26.2 +numpy==1.26.3 # via # blosc2 # exchange-calendars @@ -68,16 +68,16 @@ packaging==23.2 # black # pytest # tables -pandas==2.1.4 +pandas==2.2.0 # via # exchange-calendars # market-prices (pyproject.toml) # yahooquery pathspec==0.12.1 # via black -platformdirs==4.1.0 +platformdirs==4.2.0 # via black -pluggy==1.3.0 +pluggy==1.4.0 # via pytest py-cpuinfo==9.0.0 # via @@ -87,21 +87,19 @@ pycodestyle==2.11.1 # via flake8 pydocstyle==6.3.0 # via flake8-docstrings -pyflakes==3.1.0 +pyflakes==3.2.0 # via flake8 pyluach==2.2.0 # via exchange-calendars -pytest==7.4.4 +pytest==8.0.0 # via # market-prices (pyproject.toml) # pytest-mock pytest-mock==3.12.0 # via market-prices (pyproject.toml) python-dateutil==2.8.2 - # via - # exchange-calendars - # pandas -pytz==2023.3.post1 + # via pandas +pytz==2023.4 # via pandas requests==2.31.0 # via @@ -123,7 +121,7 @@ tomli==2.0.1 # via # black # pytest -toolz==0.12.0 +toolz==0.12.1 # via exchange-calendars tqdm==4.66.1 # via yahooquery @@ -134,7 +132,7 @@ tzdata==2023.4 # exchange-calendars # market-prices (pyproject.toml) # pandas -urllib3==2.1.0 +urllib3==2.2.0 # via requests valimp==0.2 # via market-prices (pyproject.toml) diff --git a/etc/requirements_dev.txt b/etc/requirements_dev.txt index 8b0ceb0..7d72978 100644 --- a/etc/requirements_dev.txt +++ b/etc/requirements_dev.txt @@ -8,11 +8,11 @@ astroid==3.0.2 # via pylint attrs==23.2.0 # via hypothesis -beautifulsoup4==4.12.2 +beautifulsoup4==4.12.3 # via yahooquery -black==23.12.1 +black==24.1.1 # via market-prices (pyproject.toml) -blosc2==2.4.0 +blosc2==2.5.1 # via tables build==1.0.3 # via pip-tools @@ -33,7 +33,7 @@ colorama==0.4.6 # pylint # pytest # tqdm -dill==0.3.7 +dill==0.3.8 # via pylint distlib==0.3.8 # via virtualenv @@ -41,17 +41,17 @@ exceptiongroup==1.2.0 # via # hypothesis # pytest -exchange-calendars==4.5.1 +exchange-calendars==4.5.2 # via market-prices (pyproject.toml) filelock==3.13.1 # via virtualenv -flake8==6.1.0 +flake8==7.0.0 # via # flake8-docstrings # market-prices (pyproject.toml) flake8-docstrings==1.7.0 # via market-prices (pyproject.toml) -hypothesis==6.92.2 +hypothesis==6.97.3 # via market-prices (pyproject.toml) identify==2.5.33 # via pre-commit @@ -84,9 +84,9 @@ ndindex==1.7 # via blosc2 nodeenv==1.8.0 # via pre-commit -numexpr==2.8.8 +numexpr==2.9.0 # via tables -numpy==1.26.2 +numpy==1.26.3 # via # blosc2 # exchange-calendars @@ -101,7 +101,7 @@ packaging==23.2 # build # pytest # tables -pandas==2.1.4 +pandas==2.2.0 # via # exchange-calendars # market-prices (pyproject.toml) @@ -112,12 +112,12 @@ pathspec==0.12.1 # via black pip-tools==7.3.0 # via market-prices (pyproject.toml) -platformdirs==4.1.0 +platformdirs==4.2.0 # via # black # pylint # virtualenv -pluggy==1.3.0 +pluggy==1.4.0 # via pytest pre-commit==3.6.0 # via market-prices (pyproject.toml) @@ -129,7 +129,7 @@ pycodestyle==2.11.1 # via flake8 pydocstyle==6.3.0 # via flake8-docstrings -pyflakes==3.1.0 +pyflakes==3.2.0 # via flake8 pylint==3.0.3 # via market-prices (pyproject.toml) @@ -137,17 +137,15 @@ pyluach==2.2.0 # via exchange-calendars pyproject-hooks==1.0.0 # via build -pytest==7.4.4 +pytest==8.0.0 # via # market-prices (pyproject.toml) # pytest-mock pytest-mock==3.12.0 # via market-prices (pyproject.toml) python-dateutil==2.8.2 - # via - # exchange-calendars - # pandas -pytz==2023.3.post1 + # via pandas +pytz==2023.4 # via pandas pyyaml==6.0.1 # via pre-commit @@ -178,11 +176,11 @@ tomli==2.0.1 # pytest tomlkit==0.12.3 # via pylint -toolz==0.12.0 +toolz==0.12.1 # via exchange-calendars tqdm==4.66.1 # via yahooquery -types-pytz==2023.3.1.1 +types-pytz==2023.4.0.20240130 # via pandas-stubs typing-extensions==4.9.0 # via @@ -195,7 +193,7 @@ tzdata==2023.4 # exchange-calendars # market-prices (pyproject.toml) # pandas -urllib3==2.1.0 +urllib3==2.2.0 # via requests valimp==0.2 # via market-prices (pyproject.toml) diff --git a/pyproject.toml b/pyproject.toml index 4eab327..fcf8cb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ classifiers = [ dependencies = [ "exchange_calendars", - "numpy", + "numpy<2", "pandas", "tzdata", "yahooquery",