-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: drop support for python 3.8, test 3.12 (#368)
* chore: drop py3.8, support 3.13 * formatting * change matrix * change matrix * change pinning * switch py313 to windows * ignore failed to disconnect * fix pyside6 * no 3.13 yet * style(pre-commit.ci): auto fixes [...] * pin pyside * update readme * don't test stack viewer on pyside --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a585acb
commit d58003b
Showing
28 changed files
with
135 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ sources = ["src"] | |
name = "pymmcore-widgets" | ||
description = "A set of Qt-based widgets onto the pymmcore-plus model" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
license = { text = "BSD 3-Clause License" } | ||
authors = [ | ||
{ email = "[email protected]", name = "Federico Gasparoli" }, | ||
|
@@ -34,10 +34,11 @@ classifiers = [ | |
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python", | ||
"Topic :: Software Development :: Widget Sets", | ||
"Topic :: System :: Hardware :: Hardware Drivers", | ||
|
@@ -60,11 +61,19 @@ allow-direct-references = true | |
# extras | ||
# https://peps.python.org/pep-0621/#dependencies-optional-dependencies | ||
[project.optional-dependencies] | ||
test = ["pytest>=6.0", "pytest-cov", "pytest-qt", "PyYAML", "vispy", "cmap", "zarr"] | ||
test = [ | ||
"pytest>=6.0", | ||
"pytest-cov", | ||
"pytest-qt", | ||
"PyYAML", | ||
"vispy", | ||
"cmap", | ||
"zarr", | ||
] | ||
pyqt5 = ["PyQt5"] | ||
pyside2 = ["PySide2"] | ||
pyqt6 = ["PyQt6"] | ||
pyside6 = ["PySide6<6.5"] | ||
pyside6 = ["PySide6==6.7.3"] # pretty hard to find a good match here... | ||
image = ["vispy"] | ||
|
||
dev = [ | ||
|
@@ -97,8 +106,9 @@ Documentation = "https://pymmcore-plus.github.io/pymmcore-widgets" | |
# https://beta.ruff.rs/docs/rules/ | ||
[tool.ruff] | ||
line-length = 88 | ||
target-version = "py38" | ||
target-version = "py39" | ||
src = ["src", "tests"] | ||
|
||
[tool.ruff.lint] | ||
pydocstyle = { convention = "numpy" } | ||
select = [ | ||
|
@@ -115,7 +125,6 @@ select = [ | |
"RUF", # ruff-specific rules | ||
"TID", # tidy | ||
"TCH", # typecheck | ||
# "SLF", # private-access | ||
] | ||
ignore = [ | ||
"D100", # Missing docstring in public module | ||
|
@@ -135,6 +144,7 @@ testpaths = ["tests"] | |
filterwarnings = [ | ||
"error", | ||
"ignore:distutils Version classes are deprecated", | ||
"ignore:Failed to disconnect:RuntimeWarning:", | ||
# warning, but not error, that will show up on useq<0.3.3 | ||
] | ||
|
||
|
@@ -178,4 +188,3 @@ ignore = [ | |
|
||
[tool.typos.default] | ||
extend-ignore-identifiers-re = ["(?i)nd2?.*", "(?i)ome", "FO(Vs?)?"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
src/pymmcore_widgets/config_presets/_group_preset_widget/_cfg_table.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.