Skip to content

Commit

Permalink
Upgrade dependencies are reccomended by github's dependabot and poetr…
Browse files Browse the repository at this point in the history
…y's show-outdated
  • Loading branch information
michaelyaakoby committed Jul 19, 2024
1 parent 056c552 commit 5392b96
Show file tree
Hide file tree
Showing 5 changed files with 1,915 additions and 299 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python_package_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
run_image:
runs-on: [ubuntu-latest]
container:
image: matanrubin/python-poetry:3.9
image: python:3.10

env:
TEST_REDIS_SERVER: True
Expand All @@ -31,7 +31,7 @@ jobs:
- run: make coverage

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

# Run tests with coverage again - this adds tests that require psutil
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_package_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
run_image:
runs-on: [ubuntu-latest]
container:
image: matanrubin/python-poetry:3.9
image: python:3.10

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ help:
@echo "- coverage Check test coverage"

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

check: pylint mypy
Expand Down
Loading

0 comments on commit 5392b96

Please sign in to comment.