-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* drop py38 * pyup * no pydantic 2.10 * fix build in benchmark * try fix pyside2 test * fix install * narrow numpy<2 to pyside2 * try different python version
- Loading branch information
1 parent
7be0254
commit 6db5219
Showing
24 changed files
with
100 additions
and
113 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,14 @@ build-backend = "hatchling.build" | |
name = "psygnal" | ||
description = "Fast python callback/event system modeled after Qt Signals" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
license = { text = "BSD 3-Clause License" } | ||
authors = [{ name = "Talley Lambert", email = "[email protected]" }] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: BSD License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
|
@@ -95,7 +94,7 @@ dependencies = [ | |
"hatch-mypyc>=0.13.0", | ||
"mypy>=0.991", | ||
"mypy_extensions >=0.4.2", | ||
"pydantic", | ||
"pydantic!=2.10.0", | ||
"types-attrs", | ||
"msgspec", | ||
] | ||
|
@@ -112,7 +111,7 @@ exclude = [ | |
[tool.cibuildwheel] | ||
# Skip 32-bit builds & PyPy wheels on all platforms | ||
skip = ["*-manylinux_i686", "*-musllinux_i686", "*-win32", "pp*"] | ||
build = ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*"] | ||
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"] | ||
test-extras = ["test"] | ||
test-command = "pytest {project}/tests -v" | ||
test-skip = ["*-musllinux*", "cp312-win*", "*-macosx_arm64"] | ||
|
@@ -128,7 +127,7 @@ HATCH_BUILD_HOOKS_ENABLE = "1" | |
# https://docs.astral.sh/ruff/ | ||
[tool.ruff] | ||
line-length = 88 | ||
target-version = "py37" | ||
target-version = "py39" | ||
src = ["src", "tests"] | ||
|
||
[tool.ruff.lint] | ||
|
@@ -150,7 +149,7 @@ select = [ | |
"RUF", # ruff-specific rules | ||
] | ||
ignore = [ | ||
"D401", # First line should be in imperative mood | ||
"D401", # First line should be in imperative mood | ||
] | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
|
@@ -168,9 +167,9 @@ testpaths = ["tests"] | |
filterwarnings = [ | ||
"error", | ||
"ignore:The distutils package is deprecated:DeprecationWarning:", | ||
"ignore:.*BackendFinder.find_spec()", # pyinstaller import | ||
"ignore:.*BackendFinder.find_spec()", # pyinstaller import | ||
"ignore:.*not using a cooperative constructor:pytest.PytestDeprecationWarning:", | ||
"ignore:Failed to disconnect::pytestqt" | ||
"ignore:Failed to disconnect::pytestqt", | ||
] | ||
|
||
# https://mypy.readthedocs.io/en/stable/config_file.html | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
from pathlib import Path | ||
from typing import List | ||
|
||
CURRENT_DIR = Path(__file__).parent | ||
|
||
|
||
def get_hook_dirs() -> List[str]: | ||
def get_hook_dirs() -> list[str]: | ||
return [str(CURRENT_DIR)] |
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.