Skip to content

Commit

Permalink
Bump minimum Python version to 3.10
Browse files Browse the repository at this point in the history
Also updates dependencies
  • Loading branch information
maread99 committed Sep 23, 2024
1 parent c10cfa4 commit 8d5d7e6
Show file tree
Hide file tree
Showing 7 changed files with 121 additions and 145 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.12"]
python-version: ["3.10", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repos:
hooks:
- id: check-yaml
- repo: https://github.com/psf/black
rev: 24.1.1
rev: 24.8.0
hooks:
- id: black
# It is recommended to specify the latest version of Python
Expand All @@ -13,7 +13,7 @@ repos:
# https://pre-commit.com/#top_level-default_language_version
language_version: python3.9
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.1.1
hooks:
- id: flake8
additional_dependencies: [flake8-docstrings]
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ max-line-length=100
max-module-lines=2000

[TYPING]
py-version=3.9
py-version=3.10
runtime-typing=no

[PARAMETER_DOCUMENTATION]
Expand Down
54 changes: 25 additions & 29 deletions etc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.9
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --output-file=etc/requirements.txt pyproject.toml
Expand All @@ -10,7 +10,7 @@ beautifulsoup4==4.12.3
# via yahooquery
bqplot==0.12.43
# via market_analy (pyproject.toml)
certifi==2024.6.2
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
Expand All @@ -20,33 +20,31 @@ colorama==0.4.6
# tqdm
comm==0.2.2
# via ipywidgets
contourpy==1.2.1
contourpy==1.3.0
# via matplotlib
cycler==0.12.1
# via matplotlib
decorator==5.1.1
# via ipython
exceptiongroup==1.2.1
exceptiongroup==1.2.2
# via ipython
exchange-calendars==4.5.5
exchange-calendars==4.5.6
# via
# market-prices
# market_analy (pyproject.toml)
executing==2.0.1
executing==2.1.0
# via stack-data
fonttools==4.53.0
fonttools==4.53.1
# via matplotlib
idna==3.7
idna==3.10
# via requests
importlib-resources==6.4.0
# via matplotlib
ipython==8.18.1
ipython==8.27.0
# via ipywidgets
ipyvue==1.11.1
# via ipyvuetify
ipyvuetify==1.9.4
ipyvuetify==1.10.0
# via market_analy (pyproject.toml)
ipywidgets==8.1.3
ipywidgets==8.1.5
# via
# bqplot
# ipyvue
Expand All @@ -55,23 +53,23 @@ jedi==0.19.1
# via ipython
jinja2==3.1.4
# via market_analy (pyproject.toml)
jupyterlab-widgets==3.0.11
jupyterlab-widgets==3.0.13
# via ipywidgets
kiwisolver==1.4.5
kiwisolver==1.4.7
# via matplotlib
korean-lunar-calendar==0.3.1
# via exchange-calendars
lxml==4.9.4
# via yahooquery
market-prices==0.12.4
market-prices==0.12.5
# via market_analy (pyproject.toml)
markupsafe==2.1.5
# via jinja2
matplotlib==3.9.0
matplotlib==3.9.2
# via market_analy (pyproject.toml)
matplotlib-inline==0.1.7
# via ipython
numpy==1.26.4
numpy==2.1.1
# via
# bqplot
# contourpy
Expand All @@ -82,7 +80,7 @@ numpy==1.26.4
# pandas
packaging==24.1
# via matplotlib
pandas==2.2.2
pandas==2.2.3
# via
# bqplot
# exchange-calendars
Expand All @@ -91,23 +89,23 @@ pandas==2.2.2
# yahooquery
parso==0.8.4
# via jedi
pillow==10.3.0
pillow==10.4.0
# via matplotlib
prompt-toolkit==3.0.47
# via ipython
pure-eval==0.2.2
pure-eval==0.2.3
# via stack-data
pygments==2.18.0
# via ipython
pyluach==2.2.0
# via exchange-calendars
pyparsing==3.1.2
pyparsing==3.1.4
# via matplotlib
python-dateutil==2.9.0.post0
# via
# matplotlib
# pandas
pytz==2024.1
pytz==2024.2
# via pandas
requests==2.32.3
# via
Expand All @@ -119,13 +117,13 @@ six==1.16.0
# via
# asttokens
# python-dateutil
soupsieve==2.5
soupsieve==2.6
# via beautifulsoup4
stack-data==0.6.3
# via ipython
toolz==0.12.1
# via exchange-calendars
tqdm==4.66.4
tqdm==4.66.5
# via yahooquery
traitlets==5.14.3
# via
Expand All @@ -146,15 +144,13 @@ tzdata==2024.1
# market-prices
# market_analy (pyproject.toml)
# pandas
urllib3==2.2.2
urllib3==2.2.3
# via requests
valimp==0.3
# via market-prices
wcwidth==0.2.13
# via prompt-toolkit
widgetsnbextension==4.0.11
widgetsnbextension==4.0.13
# via ipywidgets
yahooquery==2.3.7
# via market-prices
zipp==3.19.2
# via importlib-resources
64 changes: 30 additions & 34 deletions etc/requirements_dependabot/requirements_tests.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.9
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --extra=tests --output-file=etc/requirements_dependabot/requirements_tests.txt pyproject.toml
Expand All @@ -8,11 +8,11 @@ asttokens==2.4.1
# via stack-data
beautifulsoup4==4.12.3
# via yahooquery
black==24.4.2
black==24.8.0
# via market_analy (pyproject.toml)
bqplot==0.12.43
# via market_analy (pyproject.toml)
certifi==2024.6.2
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
Expand All @@ -26,43 +26,41 @@ colorama==0.4.6
# tqdm
comm==0.2.2
# via ipywidgets
contourpy==1.2.1
contourpy==1.3.0
# via matplotlib
cycler==0.12.1
# via matplotlib
decorator==5.1.1
# via ipython
exceptiongroup==1.2.1
exceptiongroup==1.2.2
# via
# ipython
# pytest
exchange-calendars==4.5.5
exchange-calendars==4.5.6
# via
# market-prices
# market_analy (pyproject.toml)
executing==2.0.1
executing==2.1.0
# via stack-data
flake8==7.1.0
flake8==7.1.1
# via
# flake8-docstrings
# market_analy (pyproject.toml)
flake8-docstrings==1.7.0
# via market_analy (pyproject.toml)
fonttools==4.53.0
fonttools==4.53.1
# via matplotlib
idna==3.7
idna==3.10
# via requests
importlib-resources==6.4.0
# via matplotlib
iniconfig==2.0.0
# via pytest
ipython==8.18.1
ipython==8.27.0
# via ipywidgets
ipyvue==1.11.1
# via ipyvuetify
ipyvuetify==1.9.4
ipyvuetify==1.10.0
# via market_analy (pyproject.toml)
ipywidgets==8.1.3
ipywidgets==8.1.5
# via
# bqplot
# ipyvue
Expand All @@ -71,27 +69,27 @@ jedi==0.19.1
# via ipython
jinja2==3.1.4
# via market_analy (pyproject.toml)
jupyterlab-widgets==3.0.11
jupyterlab-widgets==3.0.13
# via ipywidgets
kiwisolver==1.4.5
kiwisolver==1.4.7
# via matplotlib
korean-lunar-calendar==0.3.1
# via exchange-calendars
lxml==4.9.4
# via yahooquery
market-prices==0.12.4
market-prices==0.12.5
# via market_analy (pyproject.toml)
markupsafe==2.1.5
# via jinja2
matplotlib==3.9.0
matplotlib==3.9.2
# via market_analy (pyproject.toml)
matplotlib-inline==0.1.7
# via ipython
mccabe==0.7.0
# via flake8
mypy-extensions==1.0.0
# via black
numpy==1.26.4
numpy==2.1.1
# via
# bqplot
# contourpy
Expand All @@ -105,7 +103,7 @@ packaging==24.1
# black
# matplotlib
# pytest
pandas==2.2.2
pandas==2.2.3
# via
# bqplot
# exchange-calendars
Expand All @@ -116,17 +114,17 @@ parso==0.8.4
# via jedi
pathspec==0.12.1
# via black
pillow==10.3.0
pillow==10.4.0
# via matplotlib
platformdirs==4.2.2
platformdirs==4.3.6
# via black
pluggy==1.5.0
# via pytest
prompt-toolkit==3.0.47
# via ipython
pure-eval==0.2.2
pure-eval==0.2.3
# via stack-data
pycodestyle==2.12.0
pycodestyle==2.12.1
# via flake8
pydocstyle==6.3.0
# via flake8-docstrings
Expand All @@ -136,9 +134,9 @@ pygments==2.18.0
# via ipython
pyluach==2.2.0
# via exchange-calendars
pyparsing==3.1.2
pyparsing==3.1.4
# via matplotlib
pytest==8.2.2
pytest==8.3.3
# via
# market_analy (pyproject.toml)
# pytest-mock
Expand All @@ -148,7 +146,7 @@ python-dateutil==2.9.0.post0
# via
# matplotlib
# pandas
pytz==2024.1
pytz==2024.2
# via pandas
requests==2.32.3
# via
Expand All @@ -162,7 +160,7 @@ six==1.16.0
# python-dateutil
snowballstemmer==2.2.0
# via pydocstyle
soupsieve==2.5
soupsieve==2.6
# via beautifulsoup4
stack-data==0.6.3
# via ipython
Expand All @@ -172,7 +170,7 @@ tomli==2.0.1
# pytest
toolz==0.12.1
# via exchange-calendars
tqdm==4.66.4
tqdm==4.66.5
# via yahooquery
traitlets==5.14.3
# via
Expand All @@ -195,15 +193,13 @@ tzdata==2024.1
# market-prices
# market_analy (pyproject.toml)
# pandas
urllib3==2.2.2
urllib3==2.2.3
# via requests
valimp==0.3
# via market-prices
wcwidth==0.2.13
# via prompt-toolkit
widgetsnbextension==4.0.11
widgetsnbextension==4.0.13
# via ipywidgets
yahooquery==2.3.7
# via market-prices
zipp==3.19.2
# via importlib-resources
Loading

0 comments on commit 8d5d7e6

Please sign in to comment.