Skip to content

Commit

Permalink
Upgrade dependencies pt2
Browse files Browse the repository at this point in the history
  • Loading branch information
rbreu committed May 5, 2024
1 parent b1e3765 commit 9f83d40
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: flake8
on: [push, pull_request]

jobs:
build:
flake8:

runs-on: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: pytest
on: [push, pull_request]

jobs:
build:
flake8:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.12']
python-version: ['3.9', '3.10, '3.11', '3.12']
pyqt-version: ['6.5.0', '6.7.0']
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions requirements/build.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# For the test action on github
# For the build action on github

pyinstaller==6.3.0
pyinstaller==6.6.0
4 changes: 2 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
-r test.txt
-r build.txt

flake8==6.1.0
flake8==7.0.0
pybadges==3.0.1
yamllint==1.33.0
yamllint==1.35.1
8 changes: 4 additions & 4 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# For the test action on github
coverage==7.3.2
coverage==7.5.1
httpretty==1.1.4
pytest==7.4.3
pytest-qt==4.2.0
pytest-cov==4.1.0
pytest==8.2.0
pytest-qt==4.4.0
pytest-cov==5.0.0
6 changes: 3 additions & 3 deletions tests/test_scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ def test_mouse_move_event_when_rubberband_new(
view.scene.rubberband_item.rect().bottomRight().x() == 10
view.scene.rubberband_item.rect().bottomRight().y() == 20
assert item.isSelected() is True
assert mouse_mock.called_once_with(event)
mouse_mock.assert_called_once_with(event)


@patch('PyQt6.QtWidgets.QGraphicsScene.mouseMoveEvent')
Expand All @@ -911,7 +911,7 @@ def test_mouse_move_event_when_rubberband_not_new(
view.scene.rubberband_item.rect().bottomRight().x() == 10
view.scene.rubberband_item.rect().bottomRight().y() == 20
assert item.isSelected() is True
assert mouse_mock.called_once_with(event)
mouse_mock.assert_called_once_with(event)


@patch('PyQt6.QtWidgets.QGraphicsScene.mouseMoveEvent')
Expand All @@ -933,7 +933,7 @@ def test_mouse_move_event_when_no_rubberband(mouse_mock, view, imgfilename3x3):
view.scene.rubberband_item.rect().bottomRight().x() == 0
view.scene.rubberband_item.rect().bottomRight().y() == 0
assert item.isSelected() is False
assert mouse_mock.called_once_with(event)
mouse_mock.assert_called_once_with(event)


@patch('PyQt6.QtWidgets.QGraphicsScene.mouseReleaseEvent')
Expand Down

0 comments on commit 9f83d40

Please sign in to comment.