Skip to content

Commit b7a5109

Browse files
authored
fix PyMieScatt dependency specification (git URL not accepted by PyPI) (#412)
1 parent 30c715b commit b7a5109

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.binder/requirements.txt

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
PyPartMC>=0.0.19
2-
matplotlib!=3.10.0
3-
ipywidgets
4-
voila
5-
open-atmos-jupyter-utils
6-
numba>=0.61.0rc1; python_version >= '3.13'
7-
PySDM
1+
PyPartMC[examples]
82
git+https://github.com/bsumlin/PyMieScatt.git
9-
SciPy

.github/workflows/tests+pypi.yml

+2
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ jobs:
206206
SYSTEM_VERSION_COMPAT: 0
207207
run: |
208208
for i in dist/*.whl; do python -m pip install $PIP_INSTALL_OPTS $i[examples]; done;
209+
ex -sc 'g/^PyPartMC/d' -cx .binder/requirements.txt
210+
python -m pip install --force-reinstall --no-deps $PIP_INSTALL_OPTS -r .binder/requirements.txt
209211
210212
- run: |
211213
python -m pip install $PIP_INSTALL_OPTS -r gitmodules/devops_tests/requirements.txt

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def build_extension(self, ext): # pylint: disable=too-many-branches
160160
"voila",
161161
"open-atmos-jupyter-utils",
162162
"PySDM",
163-
"PyMieScatt@git+https://github.com/bsumlin/PyMieScatt.git",
163+
"PyMieScatt",
164164
"SciPy",
165165
],
166166
},

0 commit comments

Comments
 (0)