Skip to content

Commit

Permalink
go back to previous settings, but separate req file for platform
Browse files Browse the repository at this point in the history
Issue #307
  • Loading branch information
damies13 committed Jan 27, 2025
1 parent 1d719d3 commit 501262c
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Regression_Tests_Reporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
shell: cmd
run: for %%f in (rfswarm_reporter-*.whl) do pip install %%f
working-directory: ./dist
- run: pip install -r Tests/Regression/Reporter/pip_requirements.txt
- run: pip install -r Tests/Regression/Reporter/pip_requirements_${{ matrix.platform }}.txt

- name: Robot Framework
id: robottest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PyMuPDF>=1.23.1; python_version > '3.12' and platform_system == 'Windows' # requ
robotframework
robotframework-doctestlibrary
# pyscreeze 0.1.29 doesn't seem to work with pyautogui 0.9.53
# pyscreeze==0.1.28
pyscreeze!=0.1.29
# pyautogui 0.9.54 has issues on MacOS https://github.com/asweigart/pyautogui/issues/783
# pyautogui is a prerequisite of imagehorizonlibrary
# pyautogui!=0.9.54
Expand Down
20 changes: 20 additions & 0 deletions Tests/Regression/Reporter/pip_requirements_ubuntu.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This is required because of: https://github.com/langchain-ai/langchain/issues/26026 and https://github.com/numpy/numpy/issues/24318
numpy>2; python_version > '3.12' and platform_system == 'Windows'
PyMuPDF>=1.23.1; python_version > '3.12' and platform_system == 'Windows' # require numpy > 2
robotframework
robotframework-doctestlibrary
# pyscreeze 0.1.29 doesn't seem to work with pyautogui 0.9.53
pyscreeze!=0.1.29
# pyautogui 0.9.54 has issues on MacOS https://github.com/asweigart/pyautogui/issues/783
# pyautogui is a prerequisite of imagehorizonlibrary
pyautogui!=0.9.54
robotframework-imagehorizonlibrary
opencv-python
Pillow
robotframework-ocrlibrary
clipboard
python-docx
openpyxl
openpyxl_image_loader
pandas
pyyaml
20 changes: 20 additions & 0 deletions Tests/Regression/Reporter/pip_requirements_windows.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This is required because of: https://github.com/langchain-ai/langchain/issues/26026 and https://github.com/numpy/numpy/issues/24318
numpy>2; python_version > '3.12' and platform_system == 'Windows'
PyMuPDF>=1.23.1; python_version > '3.12' and platform_system == 'Windows' # require numpy > 2
robotframework
robotframework-doctestlibrary
# pyscreeze 0.1.29 doesn't seem to work with pyautogui 0.9.53
pyscreeze!=0.1.29
# pyautogui 0.9.54 has issues on MacOS https://github.com/asweigart/pyautogui/issues/783
# pyautogui is a prerequisite of imagehorizonlibrary
pyautogui!=0.9.54
robotframework-imagehorizonlibrary
opencv-python
Pillow
robotframework-ocrlibrary
clipboard
python-docx
openpyxl
openpyxl_image_loader
pandas
pyyaml

0 comments on commit 501262c

Please sign in to comment.