diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index acd784f..946b34e 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -23,6 +23,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] python-version: ["3.9", "3.11"] diff --git a/etc/requirements.txt b/etc/requirements.txt index c9e6536..a77a318 100644 --- a/etc/requirements.txt +++ b/etc/requirements.txt @@ -6,13 +6,13 @@ # beautifulsoup4==4.12.3 # via yahooquery -certifi==2023.11.17 +certifi==2024.2.2 # via requests charset-normalizer==3.3.2 # via requests colorama==0.4.6 # via tqdm -exchange-calendars==4.5.2 +exchange-calendars==4.5.3 # via market-prices (pyproject.toml) idna==3.6 # via requests @@ -20,7 +20,7 @@ korean-lunar-calendar==0.3.1 # via exchange-calendars lxml==4.9.4 # via yahooquery -numpy==1.26.3 +numpy==1.26.4 # via # exchange-calendars # market-prices (pyproject.toml) @@ -34,7 +34,7 @@ pyluach==2.2.0 # via exchange-calendars python-dateutil==2.8.2 # via pandas -pytz==2023.4 +pytz==2024.1 # via pandas requests==2.31.0 # via @@ -48,9 +48,9 @@ soupsieve==2.5 # via beautifulsoup4 toolz==0.12.1 # via exchange-calendars -tqdm==4.66.1 +tqdm==4.66.2 # via yahooquery -tzdata==2023.4 +tzdata==2024.1 # via # exchange-calendars # market-prices (pyproject.toml) diff --git a/etc/requirements_dependabot/requirements_tests.txt b/etc/requirements_dependabot/requirements_tests.txt index 8d5f190..3ab9904 100644 --- a/etc/requirements_dependabot/requirements_tests.txt +++ b/etc/requirements_dependabot/requirements_tests.txt @@ -8,11 +8,11 @@ attrs==23.2.0 # via hypothesis beautifulsoup4==4.12.3 # via yahooquery -black==24.1.1 +black==24.2.0 # via market-prices (pyproject.toml) blosc2==2.5.1 # via tables -certifi==2023.11.17 +certifi==2024.2.2 # via requests charset-normalizer==3.3.2 # via requests @@ -27,7 +27,7 @@ exceptiongroup==1.2.0 # via # hypothesis # pytest -exchange-calendars==4.5.2 +exchange-calendars==4.5.3 # via market-prices (pyproject.toml) flake8==7.0.0 # via @@ -35,7 +35,7 @@ flake8==7.0.0 # market-prices (pyproject.toml) flake8-docstrings==1.7.0 # via market-prices (pyproject.toml) -hypothesis==6.97.3 +hypothesis==6.98.6 # via market-prices (pyproject.toml) idna==3.6 # via requests @@ -55,7 +55,7 @@ ndindex==1.7 # via blosc2 numexpr==2.9.0 # via tables -numpy==1.26.3 +numpy==1.26.4 # via # blosc2 # exchange-calendars @@ -99,7 +99,7 @@ pytest-mock==3.12.0 # via market-prices (pyproject.toml) python-dateutil==2.8.2 # via pandas -pytz==2023.4 +pytz==2024.1 # via pandas requests==2.31.0 # via @@ -123,11 +123,11 @@ tomli==2.0.1 # pytest toolz==0.12.1 # via exchange-calendars -tqdm==4.66.1 +tqdm==4.66.2 # via yahooquery typing-extensions==4.9.0 # via black -tzdata==2023.4 +tzdata==2024.1 # via # exchange-calendars # market-prices (pyproject.toml) diff --git a/etc/requirements_dev.txt b/etc/requirements_dev.txt index 7d72978..2c9df6e 100644 --- a/etc/requirements_dev.txt +++ b/etc/requirements_dev.txt @@ -4,19 +4,19 @@ # # pip-compile --extra=dev --output-file=etc/requirements_dev.txt pyproject.toml # -astroid==3.0.2 +astroid==3.0.3 # via pylint attrs==23.2.0 # via hypothesis beautifulsoup4==4.12.3 # via yahooquery -black==24.1.1 +black==24.2.0 # via market-prices (pyproject.toml) blosc2==2.5.1 # via tables build==1.0.3 # via pip-tools -certifi==2023.11.17 +certifi==2024.2.2 # via requests cfgv==3.4.0 # via pre-commit @@ -41,7 +41,7 @@ exceptiongroup==1.2.0 # via # hypothesis # pytest -exchange-calendars==4.5.2 +exchange-calendars==4.5.3 # via market-prices (pyproject.toml) filelock==3.13.1 # via virtualenv @@ -51,9 +51,9 @@ flake8==7.0.0 # market-prices (pyproject.toml) flake8-docstrings==1.7.0 # via market-prices (pyproject.toml) -hypothesis==6.97.3 +hypothesis==6.98.6 # via market-prices (pyproject.toml) -identify==2.5.33 +identify==2.5.34 # via pre-commit idna==3.6 # via requests @@ -86,7 +86,7 @@ nodeenv==1.8.0 # via pre-commit numexpr==2.9.0 # via tables -numpy==1.26.3 +numpy==1.26.4 # via # blosc2 # exchange-calendars @@ -119,7 +119,7 @@ platformdirs==4.2.0 # virtualenv pluggy==1.4.0 # via pytest -pre-commit==3.6.0 +pre-commit==3.6.1 # via market-prices (pyproject.toml) py-cpuinfo==9.0.0 # via @@ -145,7 +145,7 @@ pytest-mock==3.12.0 # via market-prices (pyproject.toml) python-dateutil==2.8.2 # via pandas -pytz==2023.4 +pytz==2024.1 # via pandas pyyaml==6.0.1 # via pre-commit @@ -178,9 +178,9 @@ tomlkit==0.12.3 # via pylint toolz==0.12.1 # via exchange-calendars -tqdm==4.66.1 +tqdm==4.66.2 # via yahooquery -types-pytz==2023.4.0.20240130 +types-pytz==2024.1.0.20240203 # via pandas-stubs typing-extensions==4.9.0 # via @@ -188,7 +188,7 @@ typing-extensions==4.9.0 # black # mypy # pylint -tzdata==2023.4 +tzdata==2024.1 # via # exchange-calendars # market-prices (pyproject.toml) diff --git a/tests/test_base_prices.py b/tests/test_base_prices.py index d76b8ca..8493657 100644 --- a/tests/test_base_prices.py +++ b/tests/test_base_prices.py @@ -6307,7 +6307,7 @@ def calendars(symbols) -> abc.Iterator[dict[str, str]]: def test_to_csv(to_csv_dir, temp_dir, symbols, calendars, one_day): match = re.escape( - "Price data has been found for all symbols at a least one interval, however, you may find that not all the expected price data is available. See the `limits` property for available base intervals and the limits between which price data is available at each of these intervals. See the `csv_paths` property for paths to all csv files that were found for the requested symbols. See the 'path' parameter and 'Notes' sections of help(PricesCsv) for advices on how csv files should be named and formatted and for use of the `read_csv_kwargs` parameter.\n\nThe following errors and/or warnings occurred during parsing:\n\n0) For symbol 'AZN.L with interval '1:00:00' no indice aligned with index evaluated from calendar 'XLON'.\n\n1) Prices are not available at base interval 1:00:00 as (aligned) data was not found at this interval for symbols '['AZN.L']'." + f"Price data has been found for all symbols at a least one interval, however, you may find that not all the expected price data is available. See the `limits` property for available base intervals and the limits between which price data is available at each of these intervals. See the `csv_paths` property for paths to all csv files that were found for the requested symbols. See the 'path' parameter and 'Notes' sections of help(PricesCsv) for advices on how csv files should be named and formatted and for use of the `read_csv_kwargs` parameter.\n\nThe following errors and/or warnings occurred during parsing:\n\n0) For symbol 'AZN.L with interval '{TDInterval.H1}' no indice aligned with index evaluated from calendar 'XLON'.\n\n1) Prices are not available at base interval {TDInterval.H1} as (aligned) data was not found at this interval for symbols '['AZN.L']'." ) # get prices from csv files. Verify warns that 1H interval not available (files # are there but data for XLON instrument does not align with XLON as file was