diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index eb1f27c..80536f5 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -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 diff --git a/etc/requirements.txt b/etc/requirements.txt index 873c35c..615f458 100644 --- a/etc/requirements.txt +++ b/etc/requirements.txt @@ -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 diff --git a/etc/requirements_dependabot/requirements_tests.txt b/etc/requirements_dependabot/requirements_tests.txt index e9f2948..d2aee22 100644 --- a/etc/requirements_dependabot/requirements_tests.txt +++ b/etc/requirements_dependabot/requirements_tests.txt @@ -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 diff --git a/etc/requirements_dev.txt b/etc/requirements_dev.txt index 2b6388d..082ab60 100644 --- a/etc/requirements_dev.txt +++ b/etc/requirements_dev.txt @@ -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 @@ -118,7 +118,7 @@ idna==3.7 # httpx # jsonschema # requests -importlib-metadata==7.2.1 +importlib-metadata==8.0.0 # via # build # jupyter-client @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 1de47e6..cd3183a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,7 @@ 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", ] @@ -51,7 +52,7 @@ classifiers = [ dependencies = [ "market-prices", "exchange-calendars", - "numpy<2", + "numpy", "pandas", "Jinja2", "matplotlib", @@ -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'] diff --git a/src/market_analy/gui_parts.py b/src/market_analy/gui_parts.py index 5262820..8067055 100644 --- a/src/market_analy/gui_parts.py +++ b/src/market_analy/gui_parts.py @@ -408,7 +408,7 @@ def display(self, html: str, add_padding: int = 0): def repl(mo: re.Match) -> str: match = mo.group() - return f'>{" "*add_padding}{match[1:]}' + return f'>{" " * add_padding}{match[1:]}' regex = re.compile(r"\>.+(?=.*\)") html = re.sub(regex, repl, html)