Skip to content

Commit

Permalink
Bump upper supported python version to 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
maread99 committed Jun 25, 2024
1 parent 81be119 commit bf455d1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.11"]
python-version: ["3.9", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion etc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ korean-lunar-calendar==0.3.1
# via exchange-calendars
lxml==4.9.4
# via yahooquery
market-prices==0.12.3
market-prices==0.12.4
# via market_analy (pyproject.toml)
markupsafe==2.1.5
# via jinja2
Expand Down
2 changes: 1 addition & 1 deletion etc/requirements_dependabot/requirements_tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ korean-lunar-calendar==0.3.1
# via exchange-calendars
lxml==4.9.4
# via yahooquery
market-prices==0.12.3
market-prices==0.12.4
# via market_analy (pyproject.toml)
markupsafe==2.1.5
# via jinja2
Expand Down
6 changes: 3 additions & 3 deletions etc/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ contourpy==1.2.1
# via matplotlib
cycler==0.12.1
# via matplotlib
debugpy==1.8.1
debugpy==1.8.2
# via ipykernel
decorator==5.1.1
# via ipython
Expand Down Expand Up @@ -118,7 +118,7 @@ idna==3.7
# httpx
# jsonschema
# requests
importlib-metadata==7.2.1
importlib-metadata==8.0.0
# via
# build
# jupyter-client
Expand Down Expand Up @@ -209,7 +209,7 @@ korean-lunar-calendar==0.3.1
# via exchange-calendars
lxml==4.9.4
# via yahooquery
market-prices==0.12.3
market-prices==0.12.4
# via market_analy (pyproject.toml)
markupsafe==2.1.5
# via
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,15 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Office/Business :: Financial :: Accounting",
]

dependencies = [
"market-prices",
"exchange-calendars",
"numpy<2",
"numpy",
"pandas",
"Jinja2",
"matplotlib",
Expand Down Expand Up @@ -102,4 +103,4 @@ write_to = "src/market_analy/_version.py"

[tool.black]
line-length = 88
target-version = ['py39', 'py310', 'py311']
target-version = ['py39', 'py310', 'py311', 'py312']
2 changes: 1 addition & 1 deletion src/market_analy/gui_parts.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def display(self, html: str, add_padding: int = 0):

def repl(mo: re.Match) -> str:
match = mo.group()
return f'>{"&nbsp"*add_padding}{match[1:]}'
return f'>{"&nbsp" * add_padding}{match[1:]}'

regex = re.compile(r"\>.+(?=.*\</t[hd]\>)")
html = re.sub(regex, repl, html)
Expand Down

0 comments on commit bf455d1

Please sign in to comment.