Skip to content

Commit 5392b96

Browse files
Upgrade dependencies are reccomended by github's dependabot and poetry's show-outdated
1 parent 056c552 commit 5392b96

File tree

5 files changed

+1915
-299
lines changed

5 files changed

+1915
-299
lines changed

.github/workflows/python_package_build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
run_image:
1111
runs-on: [ubuntu-latest]
1212
container:
13-
image: matanrubin/python-poetry:3.9
13+
image: python:3.10
1414

1515
env:
1616
TEST_REDIS_SERVER: True
@@ -31,7 +31,7 @@ jobs:
3131
- run: make coverage
3232

3333
# Run pylint+mypy after installing psutil so they don't complain on missing dependencies
34-
- run: poetry install --extras psutil
34+
- run: poetry install --extras flask --extras fastapi --extras aiohttp --extras tornado --extras db --extras redis --extras psutil
3535
- run: make check
3636

3737
# Run tests with coverage again - this adds tests that require psutil

.github/workflows/python_package_publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
run_image:
1111
runs-on: [ubuntu-latest]
1212
container:
13-
image: matanrubin/python-poetry:3.9
13+
image: python:3.10
1414

1515
steps:
1616
- uses: actions/checkout@v2

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ help:
1010
@echo "- coverage Check test coverage"
1111

1212
bootstrap:
13-
poetry --version || curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python
13+
poetry --version || curl -sSL https://install.python-poetry.org | python3 -
14+
ln -s $HOME/.local/bin/poetry /usr/local/bin
1415
poetry install
1516

1617
check: pylint mypy

0 commit comments

Comments
 (0)