Upgrade dependencies; allow older libraries that worked in setup.py

This commit is contained in:
Rebecca Breu 2023-12-13 21:58:02 +01:00
parent 617eccf86b
commit 487f24294e
3 changed files with 7 additions and 5 deletions

View file

@ -9,6 +9,7 @@ jobs:
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
pyqt-version: ['6.4.0', '6.6.0']
steps:
- uses: actions/checkout@v4
- name: Set up Python
@ -23,6 +24,7 @@ jobs:
python -m pip install --upgrade pip
pip install .
pip install -r requirements/test.txt
pip install pyQt6==${{ matrix.pyqt-version }} pyQt6-Qt6==${{ matrix.pyqt-version }} --upgrade
- name: Run Unittests with pytest
run: |
xvfb-run --auto-servernum --server-num=1 --server-args="-screen 1 1920x1200x24 -ac +extension GLX" pytest --cov --cov-report=xml

View file

@ -1,3 +1,3 @@
# For the test action on github
pyinstaller==6.2.0
pyinstaller==6.3.0

View file

@ -9,10 +9,10 @@ setup(
license='LICENSE',
description='A simple reference image viewer',
install_requires=[
'pyQt6==6.6.0',
'pyQt6-Qt6==6.6.0',
'rectangle-packer==2.0.2',
'exif==1.6.0',
'pyQt6>=6.4.0,<=6.6.1',
'pyQt6-Qt6>=6.4.0,<=6.6.1',
'rectangle-packer>=2.0.1,<=2.0.2',
'exif>=1.3.5,<=1.6.0',
],
packages=[
'beeref',