Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
maread99 committed Feb 15, 2024
1 parent 2223c9c commit 7376d0b
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 31 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
12 changes: 6 additions & 6 deletions etc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
#
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
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)
Expand All @@ -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
Expand All @@ -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)
Expand Down
16 changes: 8 additions & 8 deletions etc/requirements_dependabot/requirements_tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -27,15 +27,15 @@ 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
# flake8-docstrings
# 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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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)
Expand Down
24 changes: 12 additions & 12 deletions etc/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -178,17 +178,17 @@ 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
# astroid
# black
# mypy
# pylint
tzdata==2023.4
tzdata==2024.1
# via
# exchange-calendars
# market-prices (pyproject.toml)
Expand Down
10 changes: 5 additions & 5 deletions tests/test_base_prices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -6381,8 +6381,8 @@ def assert_output_as_original_files(paths: list[Path]):
clean_temp_test_dir()
match = re.escape(
"It was not possible to export prices as an error was raised when prices were"
" requested for interval 0:01:00. The error is included at the top of the"
" traceback.\nNB prices have not been exported for any interval."
f" requested for interval {TDInterval.T1}. The error is included at the top of"
" the traceback.\nNB prices have not been exported for any interval."
)
with pytest.raises(errors.PricesUnavailableForExport, match=match):
prices.to_csv(temp_dir, include=["NOT_A_SYMBOL"])
Expand All @@ -6392,8 +6392,8 @@ def assert_output_as_original_files(paths: list[Path]):
get_params = {"start": df.pt.first_ts - (one_day * 7)}
match = re.escape(
"It was not possible to export prices as an error was raised when"
" prices were requested for interval 0:05:00. The error is included at the"
" top of the traceback. Prices were requested with the following kwargs:"
f" prices were requested for interval {TDInterval.T5}. The error is included at"
" the top of the traceback. Prices were requested with the following kwargs:"
" {'start': Timestamp('2023-12-11 09:40:00-0500', tz='America/New_York')}"
"\nNB prices have not been exported for any interval."
)
Expand Down

0 comments on commit 7376d0b

Please sign in to comment.