From a5f70bae91a91f2e2be5a2771f9f70b8e645795a Mon Sep 17 00:00:00 2001 From: Marcus Read Date: Sun, 10 Sep 2023 02:06:58 +0100 Subject: [PATCH] Update dependencies --- .github/workflows/release.yml | 4 +- README.md | 2 +- pyproject.toml | 10 ++-- requirements.txt | 36 ++++++------ requirements_dev.txt | 106 +++++++++++++++++----------------- requirements_tests.txt | 52 ++++++++--------- 6 files changed, 106 insertions(+), 104 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 603ba09..9ae0952 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,7 +38,7 @@ jobs: run: | i=0 while (($i<12)) && [ "${{ github.ref_name }}" != $(pip index versions -i https://test.pypi.org/simple --pre beanahead | cut -d'(' -f2 | cut -d')' -f1 | sed 1q) ];\ - do echo waiting for package to appear in test index, sleeping 5s; sleep 5s; let i++; done + do echo "waiting for package to appear in test index, i is $i"; echo "sleeping 5s"; sleep 5s; echo "woken up"; let i++; echo "next i is $i"; done pip install --index-url https://test.pypi.org/simple beanahead==${{ github.ref_name }} --no-deps pip install -r requirements.txt python -c 'import beanahead;print(beanahead.__version__)' @@ -58,6 +58,6 @@ jobs: run: | i=0 while (($i<12)) && [ "${{ github.ref_name }}" != $(pip index versions -i https://pypi.org/simple --pre beanahead | cut -d'(' -f2 | cut -d')' -f1 | sed 1q) ];\ - do echo waiting for package to appear in index, sleeping 5s; sleep 5s; let i++; done + do echo "waiting for package to appear in index, i is $i"; echo "sleeping 5s"; sleep 5s; echo "woken up"; let i++; echo "next i is $i"; done pip install --index-url https://pypi.org/simple beanahead==${{ github.ref_name }} python -c 'import beanahead;print(beanahead.__version__)' diff --git a/README.md b/README.md index 2bb5be5..5b27d96 100644 --- a/README.md +++ b/README.md @@ -386,7 +386,7 @@ If you don't already, it worth trying out a beancount syntax-highlighter extensi More broadly, [awesome-beancount][awesome] is a great refrence for all things beancount. FWIW, these are my most-awesome of awesome-beancount: * [Siddharnt Goel's blog post](https://sgoel.dev/posts/how-you-can-track-your-personal-finances-using-python/) uses `beancount` examples to explain Plain Text Accounting and double-entry accounting. A great introduction to these concepts. -* [beancount mailing list](https://groups.google.com/g/beancount) is the place to look for answers and raise questions. +* The [beancount mailing list](https://groups.google.com/g/beancount) is the place to look for answers and raise questions. * [reds-rants](https://reds-rants.netlify.app/personal-finance/the-five-minute-ledger-update/) offers a comprehensive set of blogs on everything importing. It's tremendous. * [smart_importer](https://github.com/beancount/smart_importer) offers import hooks that include one for auto-completion of postings based on machine-learning trained on past entries. Smart stuff indeed. * [beancount-import](https://github.com/jbms/beancount-import) is an importer interface. If it works for you to be locked into an importer interface, this is a great one to be locked into. diff --git a/pyproject.toml b/pyproject.toml index 35256c1..fb7c99f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "beanahead" description = "Beancount extension for future transactions" authors = [ - {email = "marcusaread@gmail.com"}, + {email = "marcusaread.prog@proton.me"}, {name = "Marcus Read"}, ] readme = "README.md" @@ -47,7 +47,10 @@ tests = [ "pytest", ] dev = [ - "beanahead[tests]", + "black", + "flake8", + "flake8-docstrings", + "pytest", "mypy", "pip-tools", "pre-commit", @@ -56,7 +59,6 @@ dev = [ [project.urls] homepage = "https://github.com/maread99/beanahead" -# UPDATE DOC reference to README or as applic documentation = "https://github.com/maread99/beanahead" "Issue Tracker" = "https://github.com/maread99/beanahead/issues" "Source Code" = "https://github.com/maread99/beanahead" @@ -69,4 +71,4 @@ write_to = "src/beanahead/_version.py" [tool.black] line-length = 88 -target-version = ['py39', 'py310'] +target-version = ['py39', 'py310', 'py311'] diff --git a/requirements.txt b/requirements.txt index 5da428f..d5762a2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,30 +10,30 @@ beautifulsoup4==4.12.2 # via beancount bottle==0.12.25 # via beancount -cachetools==5.3.0 +cachetools==5.3.1 # via google-auth -certifi==2023.5.7 +certifi==2023.7.22 # via requests -chardet==5.1.0 +chardet==5.2.0 # via beancount -charset-normalizer==3.1.0 +charset-normalizer==3.2.0 # via requests colorama==0.4.6 # via pytest -exceptiongroup==1.1.1 +exceptiongroup==1.1.3 # via pytest -google-api-core==2.11.0 +google-api-core==2.11.1 # via google-api-python-client -google-api-python-client==2.87.0 +google-api-python-client==2.98.0 # via beancount -google-auth==2.18.1 +google-auth==2.22.0 # via # google-api-core # google-api-python-client # google-auth-httplib2 google-auth-httplib2==0.1.0 # via google-api-python-client -googleapis-common-protos==1.59.0 +googleapis-common-protos==1.60.0 # via google-api-core httplib2==0.22.0 # via @@ -43,19 +43,19 @@ idna==3.4 # via requests iniconfig==2.0.0 # via pytest -lxml==4.9.2 +lxml==4.9.3 # via beancount -numpy==1.24.3 +numpy==1.25.2 # via pandas packaging==23.1 # via pytest -pandas==2.0.1 +pandas==2.1.0 # via beanahead (pyproject.toml) -pluggy==1.0.0 +pluggy==1.3.0 # via pytest ply==3.11 # via beancount -protobuf==4.23.1 +protobuf==4.24.3 # via # google-api-core # googleapis-common-protos @@ -65,15 +65,15 @@ pyasn1==0.5.0 # rsa pyasn1-modules==0.3.0 # via google-auth -pyparsing==3.0.9 +pyparsing==3.1.1 # via httplib2 -pytest==7.3.1 +pytest==7.4.2 # via beancount python-dateutil==2.8.2 # via # beancount # pandas -pytz==2023.3 +pytz==2023.3.post1 # via pandas requests==2.31.0 # via @@ -86,7 +86,7 @@ six==1.16.0 # google-auth # google-auth-httplib2 # python-dateutil -soupsieve==2.4.1 +soupsieve==2.5 # via beautifulsoup4 tomli==2.0.1 # via pytest diff --git a/requirements_dev.txt b/requirements_dev.txt index ec7c698..a2db596 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -4,33 +4,29 @@ # # pip-compile --extra=dev --output-file=requirements_dev.txt pyproject.toml # -astroid==2.15.5 +astroid==2.15.6 # via pylint -beanahead[tests]==0.1.1 - # via beanahead (pyproject.toml) beancount==2.3.5 - # via - # beanahead - # beanahead (pyproject.toml) + # via beanahead (pyproject.toml) beautifulsoup4==4.12.2 # via beancount -black==23.3.0 - # via beanahead +black==23.9.0 + # via beanahead (pyproject.toml) bottle==0.12.25 # via beancount -build==0.10.0 +build==1.0.3 # via pip-tools -cachetools==5.3.0 +cachetools==5.3.1 # via google-auth -certifi==2023.5.7 +certifi==2023.7.22 # via requests -cfgv==3.3.1 +cfgv==3.4.0 # via pre-commit -chardet==5.1.0 +chardet==5.2.0 # via beancount -charset-normalizer==3.1.0 +charset-normalizer==3.2.0 # via requests -click==8.1.3 +click==8.1.7 # via # black # pip-tools @@ -40,54 +36,56 @@ colorama==0.4.6 # click # pylint # pytest -dill==0.3.6 +dill==0.3.7 # via pylint -distlib==0.3.6 +distlib==0.3.7 # via virtualenv -exceptiongroup==1.1.1 +exceptiongroup==1.1.3 # via pytest -filelock==3.12.0 +filelock==3.12.3 # via virtualenv -flake8==6.0.0 +flake8==6.1.0 # via - # beanahead + # beanahead (pyproject.toml) # flake8-docstrings flake8-docstrings==1.7.0 - # via beanahead -google-api-core==2.11.0 + # via beanahead (pyproject.toml) +google-api-core==2.11.1 # via google-api-python-client -google-api-python-client==2.87.0 +google-api-python-client==2.98.0 # via beancount -google-auth==2.18.1 +google-auth==2.22.0 # via # google-api-core # google-api-python-client # google-auth-httplib2 google-auth-httplib2==0.1.0 # via google-api-python-client -googleapis-common-protos==1.59.0 +googleapis-common-protos==1.60.0 # via google-api-core httplib2==0.22.0 # via # google-api-python-client # google-auth-httplib2 -identify==2.5.24 +identify==2.5.27 # via pre-commit idna==3.4 # via requests +importlib-metadata==6.8.0 + # via build iniconfig==2.0.0 # via pytest isort==5.12.0 # via pylint lazy-object-proxy==1.9.0 # via astroid -lxml==4.9.2 +lxml==4.9.3 # via beancount mccabe==0.7.0 # via # flake8 # pylint -mypy==1.3.0 +mypy==1.5.1 # via beanahead (pyproject.toml) mypy-extensions==1.0.0 # via @@ -95,33 +93,31 @@ mypy-extensions==1.0.0 # mypy nodeenv==1.8.0 # via pre-commit -numpy==1.24.3 +numpy==1.25.2 # via pandas packaging==23.1 # via # black # build # pytest -pandas==2.0.1 - # via - # beanahead - # beanahead (pyproject.toml) -pathspec==0.11.1 +pandas==2.1.0 + # via beanahead (pyproject.toml) +pathspec==0.11.2 # via black -pip-tools==6.13.0 +pip-tools==7.3.0 # via beanahead (pyproject.toml) -platformdirs==3.5.1 +platformdirs==3.10.0 # via # black # pylint # virtualenv -pluggy==1.0.0 +pluggy==1.3.0 # via pytest ply==3.11 # via beancount -pre-commit==3.3.2 +pre-commit==3.4.0 # via beanahead (pyproject.toml) -protobuf==4.23.1 +protobuf==4.24.3 # via # google-api-core # googleapis-common-protos @@ -131,29 +127,29 @@ pyasn1==0.5.0 # rsa pyasn1-modules==0.3.0 # via google-auth -pycodestyle==2.10.0 +pycodestyle==2.11.0 # via flake8 pydocstyle==6.3.0 # via flake8-docstrings -pyflakes==3.0.1 +pyflakes==3.1.0 # via flake8 -pylint==2.17.4 +pylint==2.17.5 # via beanahead (pyproject.toml) -pyparsing==3.0.9 +pyparsing==3.1.1 # via httplib2 pyproject-hooks==1.0.0 # via build -pytest==7.3.1 +pytest==7.4.2 # via - # beanahead + # beanahead (pyproject.toml) # beancount python-dateutil==2.8.2 # via # beancount # pandas -pytz==2023.3 +pytz==2023.3.post1 # via pandas -pyyaml==6.0 +pyyaml==6.0.1 # via pre-commit requests==2.31.0 # via @@ -168,22 +164,24 @@ six==1.16.0 # python-dateutil snowballstemmer==2.2.0 # via pydocstyle -soupsieve==2.4.1 +soupsieve==2.5 # via beautifulsoup4 tomli==2.0.1 # via # black # build # mypy + # pip-tools # pylint # pyproject-hooks # pytest -tomlkit==0.11.8 +tomlkit==0.12.1 # via pylint -typing-extensions==4.6.2 +typing-extensions==4.7.1 # via # astroid # black + # filelock # mypy # pylint tzdata==2023.3 @@ -194,12 +192,14 @@ urllib3==1.26.16 # via # google-auth # requests -virtualenv==20.23.0 +virtualenv==20.24.5 # via pre-commit -wheel==0.40.0 +wheel==0.41.2 # via pip-tools wrapt==1.15.0 # via astroid +zipp==3.16.2 + # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements_tests.txt b/requirements_tests.txt index 05e69a4..180da4e 100644 --- a/requirements_tests.txt +++ b/requirements_tests.txt @@ -8,44 +8,44 @@ beancount==2.3.5 # via beanahead (pyproject.toml) beautifulsoup4==4.12.2 # via beancount -black==23.3.0 +black==23.9.0 # via beanahead (pyproject.toml) bottle==0.12.25 # via beancount -cachetools==5.3.0 +cachetools==5.3.1 # via google-auth -certifi==2023.5.7 +certifi==2023.7.22 # via requests -chardet==5.1.0 +chardet==5.2.0 # via beancount -charset-normalizer==3.1.0 +charset-normalizer==3.2.0 # via requests -click==8.1.3 +click==8.1.7 # via black colorama==0.4.6 # via # click # pytest -exceptiongroup==1.1.1 +exceptiongroup==1.1.3 # via pytest -flake8==6.0.0 +flake8==6.1.0 # via # beanahead (pyproject.toml) # flake8-docstrings flake8-docstrings==1.7.0 # via beanahead (pyproject.toml) -google-api-core==2.11.0 +google-api-core==2.11.1 # via google-api-python-client -google-api-python-client==2.87.0 +google-api-python-client==2.98.0 # via beancount -google-auth==2.18.1 +google-auth==2.22.0 # via # google-api-core # google-api-python-client # google-auth-httplib2 google-auth-httplib2==0.1.0 # via google-api-python-client -googleapis-common-protos==1.59.0 +googleapis-common-protos==1.60.0 # via google-api-core httplib2==0.22.0 # via @@ -55,29 +55,29 @@ idna==3.4 # via requests iniconfig==2.0.0 # via pytest -lxml==4.9.2 +lxml==4.9.3 # via beancount mccabe==0.7.0 # via flake8 mypy-extensions==1.0.0 # via black -numpy==1.24.3 +numpy==1.25.2 # via pandas packaging==23.1 # via # black # pytest -pandas==2.0.1 +pandas==2.1.0 # via beanahead (pyproject.toml) -pathspec==0.11.1 +pathspec==0.11.2 # via black -platformdirs==3.5.1 +platformdirs==3.10.0 # via black -pluggy==1.0.0 +pluggy==1.3.0 # via pytest ply==3.11 # via beancount -protobuf==4.23.1 +protobuf==4.24.3 # via # google-api-core # googleapis-common-protos @@ -87,15 +87,15 @@ pyasn1==0.5.0 # rsa pyasn1-modules==0.3.0 # via google-auth -pycodestyle==2.10.0 +pycodestyle==2.11.0 # via flake8 pydocstyle==6.3.0 # via flake8-docstrings -pyflakes==3.0.1 +pyflakes==3.1.0 # via flake8 -pyparsing==3.0.9 +pyparsing==3.1.1 # via httplib2 -pytest==7.3.1 +pytest==7.4.2 # via # beanahead (pyproject.toml) # beancount @@ -103,7 +103,7 @@ python-dateutil==2.8.2 # via # beancount # pandas -pytz==2023.3 +pytz==2023.3.post1 # via pandas requests==2.31.0 # via @@ -118,13 +118,13 @@ six==1.16.0 # python-dateutil snowballstemmer==2.2.0 # via pydocstyle -soupsieve==2.4.1 +soupsieve==2.5 # via beautifulsoup4 tomli==2.0.1 # via # black # pytest -typing-extensions==4.6.2 +typing-extensions==4.7.1 # via black tzdata==2023.3 # via pandas