diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 9341701..1431d2c 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -34,11 +34,11 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: 'pip' - cache-dependency-path: 'requirements_dev.txt' + cache-dependency-path: 'etc/requirements_dev.txt' - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements_dev.txt + pip install -r etc/requirements_dev.txt pip install -e . - name: Lint with flake8 # fail it if doesn't pass flake8 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a90d9a2..f2ecdcd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,7 +48,6 @@ jobs: pip uninstall -y market_prices pip cache purge - # Publish - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: diff --git a/requirements_dev.txt b/etc/requirements_dev.txt similarity index 91% rename from requirements_dev.txt rename to etc/requirements_dev.txt index a428372..9d4f7ba 100644 --- a/requirements_dev.txt +++ b/etc/requirements_dev.txt @@ -2,15 +2,15 @@ # This file is autogenerated by pip-compile with python 3.8 # To update, run: # -# pip-compile --extra=dev --output-file=requirements_dev.txt pyproject.toml +# pip-compile --extra=dev --output-file=etc/requirements_dev.txt pyproject.toml # -astroid==2.12.10 +astroid==2.12.12 # via pylint attrs==22.1.0 # via # hypothesis # pytest -black==22.8.0 +black==22.10.0 # via market-prices (pyproject.toml) build==0.8.0 # via pip-tools @@ -47,9 +47,9 @@ flake8==5.0.4 # market-prices (pyproject.toml) flake8-docstrings==1.6.0 # via market-prices (pyproject.toml) -hypothesis==6.56.0 +hypothesis==6.56.3 # via market-prices (pyproject.toml) -identify==2.5.5 +identify==2.5.6 # via pre-commit idna==3.4 # via requests @@ -67,7 +67,7 @@ mccabe==0.7.0 # via # flake8 # pylint -mypy==0.981 +mypy==0.982 # via market-prices (pyproject.toml) mypy-extensions==0.4.3 # via @@ -78,7 +78,7 @@ nodeenv==1.7.0 # via pre-commit numexpr==2.8.3 # via tables -numpy==1.23.3 +numpy==1.23.4 # via # exchange-calendars # market-prices (pyproject.toml) @@ -91,18 +91,18 @@ packaging==21.3 # numexpr # pytest # tables -pandas==1.5.0 +pandas==1.5.1 # via # exchange-calendars # market-prices (pyproject.toml) # yahooquery -pandas-stubs==1.5.0.220926 +pandas-stubs==1.5.0.221012 # via market-prices (pyproject.toml) pathspec==0.10.1 # via black pep517==0.13.0 # via build -pip-tools==6.8.0 +pip-tools==6.9.0 # via market-prices (pyproject.toml) platformdirs==2.5.2 # via @@ -123,7 +123,7 @@ pydocstyle==6.1.1 # via flake8-docstrings pyflakes==2.5.0 # via flake8 -pylint==2.15.3 +pylint==2.15.4 # via market-prices (pyproject.toml) pyluach==2.0.1 # via exchange-calendars @@ -133,13 +133,13 @@ pytest==7.1.3 # via # market-prices (pyproject.toml) # pytest-mock -pytest-mock==3.9.0 +pytest-mock==3.10.0 # via market-prices (pyproject.toml) python-dateutil==2.8.2 # via # exchange-calendars # pandas -pytz==2022.4 +pytz==2022.5 # via # exchange-calendars # market-prices (pyproject.toml) @@ -174,11 +174,11 @@ toolz==0.12.0 # via exchange-calendars tqdm==4.64.1 # via yahooquery -types-pytz==2022.2.1.0 +types-pytz==2022.5.0.0 # via # market-prices (pyproject.toml) # pandas-stubs -typing-extensions==4.3.0 +typing-extensions==4.4.0 # via # astroid # black diff --git a/pyproject.toml b/pyproject.toml index 0ba7bd4..18de431 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,8 +10,23 @@ authors = [ {name = "Marcus Read"} ] readme = "README.md" -license = {file = "LICENSE.txt"} -keywords = ["finance", "prices", "yahoo"] +license = {text = "MIT License"} +keywords = [ + "finance", + "prices", + "historical-data", + "yahoo", + "investing", + "stocks", + "currencies", + "forex", + "crypto", + "etf", + "funds", + "bonds", + "commodities", + "indices", +] requires-python = "~=3.8" classifiers = [ diff --git a/requirements.txt b/requirements.txt index 2cdd692..0160b9d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,12 +18,12 @@ korean-lunar-calendar==0.3.1 # via exchange-calendars lxml==4.9.1 # via yahooquery -numpy==1.23.3 +numpy==1.23.4 # via # exchange-calendars # market-prices (pyproject.toml) # pandas -pandas==1.5.0 +pandas==1.5.1 # via # exchange-calendars # market-prices (pyproject.toml) @@ -36,7 +36,7 @@ python-dateutil==2.8.2 # via # exchange-calendars # pandas -pytz==2022.4 +pytz==2022.5 # via # exchange-calendars # market-prices (pyproject.toml) @@ -51,7 +51,7 @@ toolz==0.12.0 # via exchange-calendars tqdm==4.64.1 # via yahooquery -typing-extensions==4.3.0 +typing-extensions==4.4.0 # via pydantic urllib3==1.26.12 # via requests