Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
Updates dependencies and workflows.
  • Loading branch information
maread99 committed May 6, 2024
1 parent 9628e6a commit a7de3cf
Show file tree
Hide file tree
Showing 6 changed files with 128 additions and 118 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
python-version: ["3.9", "3.11"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft-release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
- uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'

Expand All @@ -32,13 +32,13 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_TEST_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/

- name: Install from testpypi and import
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, i is $i"; echo "sleeping 5s"; sleep 5s; echo "woken up"; let i++; echo "next i is $i"; done
sleep 5
while [ "${{ 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; echo "woken up"; 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__)'
Expand All @@ -56,8 +56,8 @@ jobs:

- name: Install and import
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, i is $i"; echo "sleeping 5s"; sleep 5s; echo "woken up"; let i++; echo "next i is $i"; done
sleep 5
while [ "${{ 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 test index, sleeping 5s"; sleep 5s; echo "woken up"; done
pip install --index-url https://pypi.org/simple beanahead==${{ github.ref_name }}
python -c 'import beanahead;print(beanahead.__version__)'
53 changes: 28 additions & 25 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,76 +6,79 @@
#
beancount==2.3.6
# via beanahead (pyproject.toml)
beautifulsoup4==4.12.2
beautifulsoup4==4.12.3
# via beancount
bottle==0.12.25
# via beancount
cachetools==5.3.1
cachetools==5.3.3
# via google-auth
certifi==2023.7.22
certifi==2024.2.2
# via requests
chardet==5.2.0
# via beancount
charset-normalizer==3.3.0
charset-normalizer==3.3.2
# via requests
colorama==0.4.6
# via pytest
exceptiongroup==1.1.3
exceptiongroup==1.2.1
# via pytest
google-api-core==2.12.0
google-api-core==2.19.0
# via google-api-python-client
google-api-python-client==2.103.0
google-api-python-client==2.127.0
# via beancount
google-auth==2.23.3
google-auth==2.29.0
# via
# google-api-core
# google-api-python-client
# google-auth-httplib2
google-auth-httplib2==0.1.1
google-auth-httplib2==0.2.0
# via google-api-python-client
googleapis-common-protos==1.61.0
googleapis-common-protos==1.63.0
# via google-api-core
httplib2==0.22.0
# via
# google-api-python-client
# google-auth-httplib2
idna==3.4
idna==3.7
# via requests
iniconfig==2.0.0
# via pytest
lxml==4.9.3
lxml==5.2.1
# via beancount
numpy==1.26.1
numpy==1.26.4
# via pandas
packaging==23.2
packaging==24.0
# via pytest
pandas==2.1.1
pandas==2.2.2
# via beanahead (pyproject.toml)
pdfminer2==20151206
# via beancount
pluggy==1.3.0
pluggy==1.5.0
# via pytest
ply==3.11
# via beancount
protobuf==4.24.4
proto-plus==1.23.0
# via google-api-core
protobuf==4.25.3
# via
# google-api-core
# googleapis-common-protos
pyasn1==0.5.0
# proto-plus
pyasn1==0.6.0
# via
# pyasn1-modules
# rsa
pyasn1-modules==0.3.0
pyasn1-modules==0.4.0
# via google-auth
pyparsing==3.1.1
pyparsing==3.1.2
# via httplib2
pytest==7.4.2
pytest==8.2.0
# via beancount
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via
# beancount
# pandas
pytz==2023.3.post1
pytz==2024.1
# via pandas
requests==2.31.0
# via
Expand All @@ -91,9 +94,9 @@ soupsieve==2.5
# via beautifulsoup4
tomli==2.0.1
# via pytest
tzdata==2023.3
tzdata==2024.1
# via pandas
uritemplate==4.1.1
# via google-api-python-client
urllib3==2.0.6
urllib3==2.2.1
# via requests
Loading

0 comments on commit a7de3cf

Please sign in to comment.