Skip to content

Commit

Permalink
ci: remove pyqt5 from constraints (#1118)
Browse files Browse the repository at this point in the history
As there is no PyQt5-Qt5 version that handles all supported operating
system (see
[link](https://www.riverbankcomputing.com/pipermail/pyqt/2024-July/045949.html))
and pyqt5 looks stable, this PR removes pyqt5 from constraints.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Update**
- Upgraded dependencies across multiple environments, improving
compatibility and performance.
- Notable updates include: `coverage`, `dask`, `debugpy`, `imageio`,
`importlib-metadata`, `ipykernel`, `pillow`, `psutil`, `pydantic`,
`pyqt6`, `pytest`, `sentry-sdk`, `setuptools`, `scikit-image`, `scipy`,
and more.
- Changes in dependency management to enhance application stability and
maintainability.

- **Maintenance**
- Updated workflows to reflect new dependency management strategies and
adjustments involving `pyqt6` and `pyinstaller_base`.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
Czaki authored Jul 3, 2024
1 parent c41e051 commit 65e788f
Show file tree
Hide file tree
Showing 14 changed files with 366 additions and 1,188 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
set -x
pip install -U uv
flags=(--extra pyqt5 --extra pyqt6 --extra pyside2 --extra pyside6 --extra test --extra pyinstaller)
flags=(--extra pyqt6 --extra pyside2 --extra pyside6 --extra test --extra pyinstaller_base)
for pyv in 3.8 3.9 3.10 3.11 3.12; do
uv pip compile --python-version ${pyv} --upgrade --output-file requirements/constraints_py${pyv}.txt pyproject.toml requirements/version_denylist.txt "${flags[@]}"
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ docs = [
"sphinx-qt-documentation",
]
pyinstaller = [
"PartSeg[pyinstaller_base,pyqt5]",
]
pyinstaller_base = [
"PyOpenGL-accelerate>=3.1.5",
"PyQt5!=5.15.0,>=5.12.3",
"PyInstaller",
"pydantic",
]
Expand Down
Loading

0 comments on commit 65e788f

Please sign in to comment.