Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #388

Merged
merged 1 commit into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 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==2024.8.30
certifi==2024.12.14
# via requests
charset-normalizer==3.3.2
charset-normalizer==3.4.1
# via requests
colorama==0.4.6
# via tqdm
exchange-calendars==4.5.6
exchange-calendars==4.7
# via market-prices (pyproject.toml)
idna==3.10
# via requests
korean-lunar-calendar==0.3.1
# via exchange-calendars
lxml==4.9.4
# via yahooquery
numpy==2.1.1
numpy==2.2.1
# via
# exchange-calendars
# market-prices (pyproject.toml)
Expand All @@ -40,22 +40,22 @@ requests==2.32.3
# via
# requests-futures
# yahooquery
requests-futures==1.0.1
requests-futures==1.0.2
# via yahooquery
six==1.16.0
six==1.17.0
# via python-dateutil
soupsieve==2.6
# via beautifulsoup4
toolz==0.12.1
toolz==1.0.0
# via exchange-calendars
tqdm==4.66.5
tqdm==4.67.1
# via yahooquery
tzdata==2024.1
tzdata==2024.2
# via
# exchange-calendars
# market-prices (pyproject.toml)
# pandas
urllib3==2.2.3
urllib3==2.3.0
# via requests
valimp==0.3
# via market-prices (pyproject.toml)
Expand Down
38 changes: 19 additions & 19 deletions etc/requirements_dependabot/requirements_tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
#
# pip-compile --extra=tests --output-file=etc/requirements_dependabot/requirements_tests.txt pyproject.toml
#
attrs==24.2.0
attrs==24.3.0
# via hypothesis
beautifulsoup4==4.12.3
# via yahooquery
black==24.8.0
black==24.10.0
# via market-prices (pyproject.toml)
blosc2==2.7.1
# via tables
certifi==2024.8.30
certifi==2024.12.14
# via requests
charset-normalizer==3.3.2
charset-normalizer==3.4.1
# via requests
click==8.1.7
click==8.1.8
# via black
colorama==0.4.6
# via
Expand All @@ -27,15 +27,15 @@ exceptiongroup==1.2.2
# via
# hypothesis
# pytest
exchange-calendars==4.5.6
exchange-calendars==4.7
# via market-prices (pyproject.toml)
flake8==7.1.1
# via
# flake8-docstrings
# market-prices (pyproject.toml)
flake8-docstrings==1.7.0
# via market-prices (pyproject.toml)
hypothesis==6.112.1
hypothesis==6.123.17
# via market-prices (pyproject.toml)
idna==3.10
# via requests
Expand All @@ -51,21 +51,21 @@ msgpack==1.1.0
# via blosc2
mypy-extensions==1.0.0
# via black
ndindex==1.8
ndindex==1.9.2
# via blosc2
numexpr==2.10.1
numexpr==2.10.2
# via
# blosc2
# tables
numpy==2.1.1
numpy==2.2.1
# via
# blosc2
# exchange-calendars
# market-prices (pyproject.toml)
# numexpr
# pandas
# tables
packaging==24.1
packaging==24.2
# via
# black
# pytest
Expand Down Expand Up @@ -93,7 +93,7 @@ pyflakes==3.2.0
# via flake8
pyluach==2.2.0
# via exchange-calendars
pytest==8.3.3
pytest==8.3.4
# via
# market-prices (pyproject.toml)
# pytest-mock
Expand All @@ -107,9 +107,9 @@ requests==2.32.3
# via
# requests-futures
# yahooquery
requests-futures==1.0.1
requests-futures==1.0.2
# via yahooquery
six==1.16.0
six==1.17.0
# via python-dateutil
snowballstemmer==2.2.0
# via pydocstyle
Expand All @@ -119,24 +119,24 @@ soupsieve==2.6
# via beautifulsoup4
tables==3.10.1
# via market-prices (pyproject.toml)
tomli==2.0.1
tomli==2.2.1
# via
# black
# pytest
toolz==0.12.1
toolz==1.0.0
# via exchange-calendars
tqdm==4.66.5
tqdm==4.67.1
# via yahooquery
typing-extensions==4.12.2
# via
# black
# tables
tzdata==2024.1
tzdata==2024.2
# via
# exchange-calendars
# market-prices (pyproject.toml)
# pandas
urllib3==2.2.3
urllib3==2.3.0
# via requests
valimp==0.3
# via market-prices (pyproject.toml)
Expand Down
64 changes: 32 additions & 32 deletions etc/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@
#
# pip-compile --extra=dev --output-file=etc/requirements_dev.txt pyproject.toml
#
astroid==3.3.3
astroid==3.3.8
# via pylint
attrs==24.2.0
attrs==24.3.0
# via hypothesis
beautifulsoup4==4.12.3
# via yahooquery
black==24.8.0
black==24.10.0
# via market-prices (pyproject.toml)
blosc2==2.7.1
# via tables
build==1.2.2
build==1.2.2.post1
# via pip-tools
certifi==2024.8.30
certifi==2024.12.14
# via requests
cfgv==3.4.0
# via pre-commit
charset-normalizer==3.3.2
charset-normalizer==3.4.1
# via requests
click==8.1.7
click==8.1.8
# via
# black
# pip-tools
Expand All @@ -33,15 +33,15 @@ colorama==0.4.6
# pylint
# pytest
# tqdm
dill==0.3.8
dill==0.3.9
# via pylint
distlib==0.3.8
distlib==0.3.9
# via virtualenv
exceptiongroup==1.2.2
# via
# hypothesis
# pytest
exchange-calendars==4.5.6
exchange-calendars==4.7
# via market-prices (pyproject.toml)
filelock==3.16.1
# via virtualenv
Expand All @@ -51,9 +51,9 @@ flake8==7.1.1
# market-prices (pyproject.toml)
flake8-docstrings==1.7.0
# via market-prices (pyproject.toml)
hypothesis==6.112.1
hypothesis==6.123.17
# via market-prices (pyproject.toml)
identify==2.6.1
identify==2.6.5
# via pre-commit
idna==3.10
# via requests
Expand All @@ -71,22 +71,22 @@ mccabe==0.7.0
# pylint
msgpack==1.1.0
# via blosc2
mypy==1.11.2
mypy==1.14.1
# via market-prices (pyproject.toml)
mypy-extensions==1.0.0
# via
# black
# market-prices (pyproject.toml)
# mypy
ndindex==1.8
ndindex==1.9.2
# via blosc2
nodeenv==1.9.1
# via pre-commit
numexpr==2.10.1
numexpr==2.10.2
# via
# blosc2
# tables
numpy==2.1.1
numpy==2.2.1
# via
# blosc2
# exchange-calendars
Expand All @@ -95,7 +95,7 @@ numpy==2.1.1
# pandas
# pandas-stubs
# tables
packaging==24.1
packaging==24.2
# via
# black
# build
Expand All @@ -106,7 +106,7 @@ pandas==2.2.3
# exchange-calendars
# market-prices (pyproject.toml)
# yahooquery
pandas-stubs==2.2.2.240909
pandas-stubs==2.2.3.241126
# via market-prices (pyproject.toml)
pathspec==0.12.1
# via black
Expand All @@ -119,7 +119,7 @@ platformdirs==4.3.6
# virtualenv
pluggy==1.5.0
# via pytest
pre-commit==3.8.0
pre-commit==4.0.1
# via market-prices (pyproject.toml)
py-cpuinfo==9.0.0
# via
Expand All @@ -131,15 +131,15 @@ pydocstyle==6.3.0
# via flake8-docstrings
pyflakes==3.2.0
# via flake8
pylint==3.3.0
pylint==3.3.3
# via market-prices (pyproject.toml)
pyluach==2.2.0
# via exchange-calendars
pyproject-hooks==1.1.0
pyproject-hooks==1.2.0
# via
# build
# pip-tools
pytest==8.3.3
pytest==8.3.4
# via
# market-prices (pyproject.toml)
# pytest-mock
Expand All @@ -155,9 +155,9 @@ requests==2.32.3
# via
# requests-futures
# yahooquery
requests-futures==1.0.1
requests-futures==1.0.2
# via yahooquery
six==1.16.0
six==1.17.0
# via python-dateutil
snowballstemmer==2.2.0
# via pydocstyle
Expand All @@ -167,7 +167,7 @@ soupsieve==2.6
# via beautifulsoup4
tables==3.10.1
# via market-prices (pyproject.toml)
tomli==2.0.1
tomli==2.2.1
# via
# black
# build
Expand All @@ -177,30 +177,30 @@ tomli==2.0.1
# pytest
tomlkit==0.13.2
# via pylint
toolz==0.12.1
toolz==1.0.0
# via exchange-calendars
tqdm==4.66.5
tqdm==4.67.1
# via yahooquery
types-pytz==2024.2.0.20240913
types-pytz==2024.2.0.20241221
# via pandas-stubs
typing-extensions==4.12.2
# via
# astroid
# black
# mypy
# tables
tzdata==2024.1
tzdata==2024.2
# via
# exchange-calendars
# market-prices (pyproject.toml)
# pandas
urllib3==2.2.3
urllib3==2.3.0
# via requests
valimp==0.3
# via market-prices (pyproject.toml)
virtualenv==20.26.5
virtualenv==20.28.1
# via pre-commit
wheel==0.44.0
wheel==0.45.1
# via pip-tools
yahooquery==2.3.7
# via market-prices (pyproject.toml)
Expand Down
4 changes: 3 additions & 1 deletion src/market_prices/utils/calendar_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ def get_exchange_info() -> pd.DataFrame:
Information on exchanges for which calendars are available.
Calendar codes given by column 'ISO Code'.
"""
return pd.read_html("https://pypi.org/project/exchange-calendars/")[1]
# 25/01/14 - for whatever reason seems that tables cannot currently be fetched
# from the prior address "https://pypi.org/project/exchange-calendars/".
return pd.read_html("https://github.com/gerrymanoim/exchange_calendars")[2]


def minutes_in_period(
Expand Down
Loading