Skip to content

Commit df7933e

Browse files
authored
Merge pull request #2385 from willend/main
Roll back to PyQt5/qtpy
2 parents 79cf484 + 7548759 commit df7933e

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

cmake/support/run-scripts/mccode_errmsg.bat.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
@set ERRMSG="@FLAVOR@: %*"
55

6-
@python -c "import os;import PyQt6.QtWidgets as w; app = w.QApplication(['infobox']); w.QMessageBox.information(None, 'Infobox', os.getenv('ERRMSG'))"
6+
@python -c "import os;import qtpy.QtWidgets as w; app = w.QApplication(['infobox']); w.QMessageBox.information(None, 'Infobox', os.getenv('ERRMSG'))"

cmake/support/run-scripts/mccode_errmsg.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ export PATH=$PREFIX/@DEST_BINDIR@:$PATH
1010
ERRMSG=`echo $* | sed s/\ /\\ /g`
1111
export ERRMSG="@FLAVOR@: $ERRMSG"
1212

13-
python3 -c "import os;import PyQt6.QtWidgets as w; app = w.QApplication(['infobox']); w.QMessageBox.information(None, 'Infobox', os.getenv('ERRMSG'))"
13+
python3 -c "import os;import qtpy.QtWidgets as w; app = w.QApplication(['infobox']); w.QMessageBox.information(None, 'Infobox', os.getenv('ERRMSG'))"

devel/bin/mccode-create-conda-yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ def create_deplist( cfg ):
2727
if cfg.is_win:
2828
deps += ['mslex']
2929

30-
pyqt_with_version = 'pyqt6'
30+
pyqt_with_version = 'pyqt >=5'
3131
if cfg.include_mcgui:
32-
deps += [pyqt_with_version] # Qscintilla2 is disabled for now... ,'qscintilla2']
32+
deps += [pyqt_with_version, 'qscintilla2']
3333
if cfg.include_vis:
3434
deps += ['matplotlib-base',
3535
'tornado >=5',

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies:
2323
- scipy
2424
- pillow
2525
- pyqtgraph
26-
- pyqt6
26+
- pyqt
2727
- qtpy
2828
# - qscintilla2
2929
- nexus

mcstas-environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ dependencies:
2424
- scipy
2525
- pillow
2626
- pyqtgraph
27-
- pyqt6
27+
- pyqt
2828
- qtpy
29-
#- qscintilla2
29+
- qscintilla2
3030
- nexusformat
3131
- nexpy
3232
- hdf5

mcxtrace-environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ dependencies:
2424
- scipy
2525
- pillow
2626
- pyqtgraph
27-
- pyqt6
27+
- pyqt
2828
- qtpy
29-
#- qscintilla2
29+
- qscintilla2
3030
- nexusformat
3131
- nexpy
3232
- hdf5

meta-pkgs/windows/environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ dependencies:
2222
- scipy
2323
- pillow
2424
- pyqtgraph
25-
- pyqt6
25+
- pyqt
2626
- qtpy
27-
#- qscintilla2
27+
- qscintilla2
2828
- nexus
2929
- nexusformat
3030
- nexpy

meta-pkgs/windows/mcstas-environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ dependencies:
2121
- scipy
2222
- pillow
2323
- pyqtgraph
24-
- pyqt6
24+
- pyqt
2525
- qtpy
26-
#- qscintilla2
26+
- qscintilla2
2727
- nexus
2828
- nexusformat
2929
- nexpy

meta-pkgs/windows/mcxtrace-environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ dependencies:
2121
- scipy
2222
- pillow
2323
- pyqtgraph
24-
- pyqt6
24+
- pyqt
2525
- qtpy
26-
#- qscintilla2
26+
- qscintilla2
2727
- nexus
2828
- nexusformat
2929
- nexpy

0 commit comments

Comments
 (0)