You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ef1eaa5
Browse filesBrowse the repository at this point in the historyBrowse files
SigimaX is installed with --no-deps so that pip does not replace the
editable Sigima clone, but its own dependencies were then never installed:
the test jobs failed as soon as SigimaX required hdf5plugin.
The development, release and latest jobs now also read the dependencies
of ../SigimaX/pyproject.toml, still excluding the packages installed from
local clones.
Assisted-by: Claude Opus 5.5
Copy file name to clipboardExpand all lines: .github/workflows/test_pyqt5.yml
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -77,8 +77,9 @@ jobs:
77
77
pip install -e ../DataLab-Capsule
78
78
# Install tomli for TOML parsing (safe if already present)
79
79
pip install tomli
80
-
# Extract dependencies and save to file, then install
81
-
python -c "import tomli; f=open('pyproject.toml','rb'); data=tomli.load(f); deps=[d for d in data['project']['dependencies'] if not any(p in d for p in ['guidata','PlotPy','Sigima', 'SigimaX', 'datalab-capsule'])]; open('deps.txt','w').write('\n'.join(deps))"
80
+
# Extract dependencies of DataLab and SigimaX (installed with --no-deps
81
+
# above), save them to file, then install
82
+
python -c "import tomli; deps=[d for p in ('pyproject.toml', '../SigimaX/pyproject.toml') for d in tomli.load(open(p,'rb'))['project']['dependencies'] if not any(n in d for n in ['guidata','PlotPy','Sigima', 'SigimaX', 'datalab-capsule'])]; open('deps.txt','w').write('\n'.join(deps))"
82
83
pip install -r deps.txt
83
84
# Install DataLab without dependencies
84
85
pip install --no-deps .
@@ -105,8 +106,9 @@ jobs:
105
106
pip install -e ../DataLab-Capsule
106
107
# Install tomli for TOML parsing (safe if already present)
107
108
pip install tomli
108
-
# Extract dependencies and save to file, then install
109
-
python -c "import tomli; f=open('pyproject.toml','rb'); data=tomli.load(f); deps=[d for d in data['project']['dependencies'] if not any(p in d for p in ['guidata','PlotPy','Sigima', 'SigimaX', 'datalab-capsule'])]; open('deps.txt','w').write('\n'.join(deps))"
109
+
# Extract dependencies of DataLab and SigimaX (installed with --no-deps
110
+
# above), save them to file, then install
111
+
python -c "import tomli; deps=[d for p in ('pyproject.toml', '../SigimaX/pyproject.toml') for d in tomli.load(open(p,'rb'))['project']['dependencies'] if not any(n in d for n in ['guidata','PlotPy','Sigima', 'SigimaX', 'datalab-capsule'])]; open('deps.txt','w').write('\n'.join(deps))"
110
112
pip install -r deps.txt
111
113
# Install DataLab without dependencies
112
114
pip install --no-deps .
@@ -186,9 +188,10 @@ jobs:
186
188
python -m pip install -e ../SigimaX --no-deps
187
189
python -m pip install -e ../DataLab-Capsule
188
190
189
-
# Extract dependency names from pyproject.toml (excluding Sigima and
190
-
# SigimaX, installed from local clones above) and install latest versions
191
-
python -m pip install -U --upgrade-strategy eager $(python -c "import tomllib, re; print(' '.join(re.sub(r'[\[\]<>=!~,.\s].*$', '', d).strip() for d in tomllib.loads(open('pyproject.toml', 'rb').read().decode())['project']['dependencies'] if not any(p in d for p in ['Sigima', 'SigimaX', 'datalab-capsule'])))")
191
+
# Extract dependency names from the pyproject.toml of DataLab and SigimaX
192
+
# (excluding Sigima and SigimaX, installed from local clones above) and
193
+
# install latest versions
194
+
python -m pip install -U --upgrade-strategy eager $(python -c "import tomllib, re; print(' '.join(sorted({re.sub(r'[\[\]<>=!~,.\s].*$', '', d).strip() for p in ('pyproject.toml', '../SigimaX/pyproject.toml') for d in tomllib.loads(open(p, 'rb').read().decode())['project']['dependencies'] if not any(n in d for n in ['Sigima', 'SigimaX', 'datalab-capsule'])})))")
Copy file name to clipboardExpand all lines: .github/workflows/test_pyqt6.yml
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -77,8 +77,9 @@ jobs:
77
77
pip install -e ../DataLab-Capsule
78
78
# Install tomli for TOML parsing (safe if already present)
79
79
pip install tomli
80
-
# Extract dependencies and save to file, then install
81
-
python -c "import tomli; f=open('pyproject.toml','rb'); data=tomli.load(f); deps=[d for d in data['project']['dependencies'] if not any(p in d for p in ['guidata','PlotPy','Sigima', 'SigimaX', 'datalab-capsule'])]; open('deps.txt','w').write('\n'.join(deps))"
80
+
# Extract dependencies of DataLab and SigimaX (installed with --no-deps
81
+
# above), save them to file, then install
82
+
python -c "import tomli; deps=[d for p in ('pyproject.toml', '../SigimaX/pyproject.toml') for d in tomli.load(open(p,'rb'))['project']['dependencies'] if not any(n in d for n in ['guidata','PlotPy','Sigima', 'SigimaX', 'datalab-capsule'])]; open('deps.txt','w').write('\n'.join(deps))"
82
83
pip install -r deps.txt
83
84
# Install DataLab without dependencies
84
85
pip install --no-deps .
@@ -105,8 +106,9 @@ jobs:
105
106
pip install -e ../DataLab-Capsule
106
107
# Install tomli for TOML parsing (safe if already present)
107
108
pip install tomli
108
-
# Extract dependencies and save to file, then install
109
-
python -c "import tomli; f=open('pyproject.toml','rb'); data=tomli.load(f); deps=[d for d in data['project']['dependencies'] if not any(p in d for p in ['guidata','PlotPy','Sigima', 'SigimaX', 'datalab-capsule'])]; open('deps.txt','w').write('\n'.join(deps))"
109
+
# Extract dependencies of DataLab and SigimaX (installed with --no-deps
110
+
# above), save them to file, then install
111
+
python -c "import tomli; deps=[d for p in ('pyproject.toml', '../SigimaX/pyproject.toml') for d in tomli.load(open(p,'rb'))['project']['dependencies'] if not any(n in d for n in ['guidata','PlotPy','Sigima', 'SigimaX', 'datalab-capsule'])]; open('deps.txt','w').write('\n'.join(deps))"
110
112
pip install -r deps.txt
111
113
# Install DataLab without dependencies
112
114
pip install --no-deps .
@@ -166,9 +168,10 @@ jobs:
166
168
python -m pip install -e ../SigimaX --no-deps
167
169
python -m pip install -e ../DataLab-Capsule
168
170
169
-
# Extract dependency names from pyproject.toml (excluding Sigima and
170
-
# SigimaX, installed from local clones above) and install latest versions
171
-
python -m pip install -U --upgrade-strategy eager $(python -c "import tomllib, re; print(' '.join(re.sub(r'[\[\]<>=!~,.\s].*$', '', d).strip() for d in tomllib.loads(open('pyproject.toml', 'rb').read().decode())['project']['dependencies'] if not any(p in d for p in ['Sigima', 'SigimaX', 'datalab-capsule'])))")
171
+
# Extract dependency names from the pyproject.toml of DataLab and SigimaX
172
+
# (excluding Sigima and SigimaX, installed from local clones above) and
173
+
# install latest versions
174
+
python -m pip install -U --upgrade-strategy eager $(python -c "import tomllib, re; print(' '.join(sorted({re.sub(r'[\[\]<>=!~,.\s].*$', '', d).strip() for p in ('pyproject.toml', '../SigimaX/pyproject.toml') for d in tomllib.loads(open(p, 'rb').read().decode())['project']['dependencies'] if not any(n in d for n in ['Sigima', 'SigimaX', 'datalab-capsule'])})))")
0 commit comments