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 #41

Merged
merged 2 commits into from
Jul 3, 2023
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
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: 2
updates:
# Configuration for pip
- package-ecosystem: "pip" # See documentation for possible values
directory: "/etc/requirements" # Location of package manifests
directory: "/etc/requirements_dependabot" # Location of package manifests
schedule:
interval: "daily"
# for reference:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'etc/requirements_tests.txt'
cache-dependency-path: 'etc/requirements_dependabot/requirements_tests.txt'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r etc/requirements_tests.txt
pip install -r etc/requirements_dependabot/requirements_tests.txt
pip install -e .
- name: Lint with flake8
# fail it if doesn't pass flake8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
while [ $i -lt 12 ] && [ "${{ github.ref_name }}" != $(pip index versions -i https://test.pypi.org/simple --pre market-analy | cut -d'(' -f2 | cut -d')' -f1 | sed 1q) ];\
do echo "waiting for package to appear in test index, i is $i, sleeping 5s"; sleep 5s; echo "woken up"; ((i++)); echo "next i is $i"; done
pip install --index-url https://test.pypi.org/simple market-analy==${{ github.ref_name }} --no-deps
pip install -r etc/requirements/requirements.txt
pip install -r etc/requirements.txt
python -c 'import market_analy;print(market_analy.__version__)'

- name: Clean pip
Expand Down
37 changes: 21 additions & 16 deletions etc/requirements/requirements.txt → etc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --output-file=./etc/requirements/requirements.txt pyproject.toml
# pip-compile --output-file=./etc/requirements.txt pyproject.toml
#
annotated-types==0.5.0
# via pydantic
asttokens==2.2.1
# via stack-data
backcall==0.2.0
Expand All @@ -20,7 +22,7 @@ colorama==0.4.6
# tqdm
comm==0.1.3
# via ipykernel
contourpy==1.0.7
contourpy==1.1.0
# via matplotlib
cycler==0.11.0
# via matplotlib
Expand All @@ -38,17 +40,17 @@ fonttools==4.40.0
# via matplotlib
idna==3.4
# via requests
importlib-metadata==6.6.0
importlib-metadata==6.7.0
# via jupyter-client
importlib-resources==5.12.0
# via matplotlib
ipykernel==6.23.2
ipykernel==6.24.0
# via ipywidgets
ipython==8.14.0
# via
# ipykernel
# ipywidgets
ipyvue==1.9.1
ipyvue==1.9.2
# via ipyvuetify
ipyvuetify==1.8.10
# via market-analy (pyproject.toml)
Expand All @@ -61,9 +63,9 @@ jedi==0.18.2
# via ipython
jinja2==3.1.2
# via market-analy (pyproject.toml)
jupyter-client==8.2.0
jupyter-client==8.3.0
# via ipykernel
jupyter-core==5.3.0
jupyter-core==5.3.1
# via
# ipykernel
# jupyter-client
Expand All @@ -75,7 +77,7 @@ korean-lunar-calendar==0.3.1
# via exchange-calendars
lxml==4.9.2
# via yahooquery
market-prices==0.10.3
market-prices==0.10.4
# via market-analy (pyproject.toml)
markupsafe==2.1.3
# via jinja2
Expand All @@ -87,7 +89,7 @@ matplotlib-inline==0.1.6
# ipython
nest-asyncio==1.5.6
# via ipykernel
numpy==1.24.3
numpy==1.25.0
# via
# bqplot
# contourpy
Expand All @@ -100,7 +102,7 @@ packaging==23.1
# via
# ipykernel
# matplotlib
pandas==2.0.2
pandas==2.0.3
# via
# bqplot
# exchange-calendars
Expand All @@ -111,23 +113,25 @@ parso==0.8.3
# via jedi
pickleshare==0.7.5
# via ipython
pillow==9.5.0
pillow==10.0.0
# via matplotlib
platformdirs==3.5.3
platformdirs==3.8.0
# via jupyter-core
prompt-toolkit==3.0.38
# via ipython
psutil==5.9.5
# via ipykernel
pure-eval==0.2.2
# via stack-data
pydantic==1.10.9
pydantic==2.0
# via market-prices
pydantic-core==2.0.1
# via pydantic
pygments==2.15.1
# via ipython
pyluach==2.2.0
# via exchange-calendars
pyparsing==3.0.9
pyparsing==3.1.0
# via matplotlib
python-dateutil==2.8.2
# via
Expand All @@ -148,7 +152,7 @@ pyzmq==25.1.0
# jupyter-client
requests==2.31.0
# via requests-futures
requests-futures==1.0.0
requests-futures==1.0.1
# via yahooquery
six==1.16.0
# via
Expand Down Expand Up @@ -178,10 +182,11 @@ traitlets==5.9.0
# traittypes
traittypes==0.2.1
# via bqplot
typing-extensions==4.6.3
typing-extensions==4.7.1
# via
# ipython
# pydantic
# pydantic-core
tzdata==2023.3
# via pandas
urllib3==2.0.3
Expand Down
3 changes: 0 additions & 3 deletions etc/requirements/why_here.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --extra=tests --output-file=./etc/requirements_tests.txt pyproject.toml
# pip-compile --extra=tests --output-file=./etc/requirements_dependabot/requirements_tests.txt pyproject.toml
#
annotated-types==0.5.0
# via pydantic
asttokens==2.2.1
# via stack-data
backcall==0.2.0
Expand All @@ -26,15 +28,15 @@ colorama==0.4.6
# tqdm
comm==0.1.3
# via ipykernel
contourpy==1.0.7
contourpy==1.1.0
# via matplotlib
cycler==0.11.0
# via matplotlib
debugpy==1.6.7
# via ipykernel
decorator==5.1.1
# via ipython
exceptiongroup==1.1.1
exceptiongroup==1.1.2
# via pytest
exchange-calendars==4.2.8
# via
Expand All @@ -52,19 +54,19 @@ fonttools==4.40.0
# via matplotlib
idna==3.4
# via requests
importlib-metadata==6.6.0
importlib-metadata==6.7.0
# via jupyter-client
importlib-resources==5.12.0
# via matplotlib
iniconfig==2.0.0
# via pytest
ipykernel==6.23.2
ipykernel==6.24.0
# via ipywidgets
ipython==8.14.0
# via
# ipykernel
# ipywidgets
ipyvue==1.9.1
ipyvue==1.9.2
# via ipyvuetify
ipyvuetify==1.8.10
# via market-analy (pyproject.toml)
Expand All @@ -77,9 +79,9 @@ jedi==0.18.2
# via ipython
jinja2==3.1.2
# via market-analy (pyproject.toml)
jupyter-client==8.2.0
jupyter-client==8.3.0
# via ipykernel
jupyter-core==5.3.0
jupyter-core==5.3.1
# via
# ipykernel
# jupyter-client
Expand All @@ -91,7 +93,7 @@ korean-lunar-calendar==0.3.1
# via exchange-calendars
lxml==4.9.2
# via yahooquery
market-prices==0.10.3
market-prices==0.10.4
# via market-analy (pyproject.toml)
markupsafe==2.1.3
# via jinja2
Expand All @@ -107,7 +109,7 @@ mypy-extensions==1.0.0
# via black
nest-asyncio==1.5.6
# via ipykernel
numpy==1.24.3
numpy==1.25.0
# via
# bqplot
# contourpy
Expand All @@ -122,7 +124,7 @@ packaging==23.1
# ipykernel
# matplotlib
# pytest
pandas==2.0.2
pandas==2.0.3
# via
# bqplot
# exchange-calendars
Expand All @@ -135,13 +137,13 @@ pathspec==0.11.1
# via black
pickleshare==0.7.5
# via ipython
pillow==9.5.0
pillow==10.0.0
# via matplotlib
platformdirs==3.5.3
platformdirs==3.8.0
# via
# black
# jupyter-core
pluggy==1.0.0
pluggy==1.2.0
# via pytest
prompt-toolkit==3.0.38
# via ipython
Expand All @@ -151,8 +153,10 @@ pure-eval==0.2.2
# via stack-data
pycodestyle==2.10.0
# via flake8
pydantic==1.10.9
pydantic==2.0
# via market-prices
pydantic-core==2.0.1
# via pydantic
pydocstyle==6.3.0
# via flake8-docstrings
pyflakes==3.0.1
Expand All @@ -161,13 +165,13 @@ pygments==2.15.1
# via ipython
pyluach==2.2.0
# via exchange-calendars
pyparsing==3.0.9
pyparsing==3.1.0
# via matplotlib
pytest==7.3.2
pytest==7.4.0
# via
# market-analy (pyproject.toml)
# pytest-mock
pytest-mock==3.10.0
pytest-mock==3.11.1
# via market-analy (pyproject.toml)
python-dateutil==2.8.2
# via
Expand All @@ -188,7 +192,7 @@ pyzmq==25.1.0
# jupyter-client
requests==2.31.0
# via requests-futures
requests-futures==1.0.0
requests-futures==1.0.1
# via yahooquery
six==1.16.0
# via
Expand Down Expand Up @@ -224,11 +228,12 @@ traitlets==5.9.0
# traittypes
traittypes==0.2.1
# via bqplot
typing-extensions==4.6.3
typing-extensions==4.7.1
# via
# black
# ipython
# pydantic
# pydantic-core
tzdata==2023.3
# via pandas
urllib3==2.0.3
Expand Down
8 changes: 8 additions & 0 deletions etc/requirements_dependabot/why_here.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
requirements_test.txt is in this dedicated directory simply so that
dependabot can be configured to look only at these dependencies and ignore
the additional requirements in requirements_dev.txt.

Dependabot has to look at requirements_test.txt, as opposed to simply
requirements.txt, in order that the tests triggered by the dependabot PR
run in an environment that has installed the bumped versions of the
dependencies.
Loading