-
Notifications
You must be signed in to change notification settings - Fork 32
Drop support for Python 3.8, Qt5, matplotlib 3.4, scipy 1.7, numpy 1.21 #75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d309d51
6ceabb6
d22fce1
bd2bb6c
d0d1698
af040f0
adf73db
0f36651
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.PHONY: test | ||
test: | ||
python -m pytest --version | ||
python -m pytest -v test/ | ||
python -m pytest -sv test/ | ||
|
||
|
||
.PHONY: lint | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,19 @@ classifiers = [ | |
"Programming Language :: Python :: 3", | ||
] | ||
|
||
requires-python = "~=3.8" | ||
requires-python = "~=3.9" | ||
dependencies = [ | ||
"numpy", | ||
"matplotlib", | ||
"colorspacious", | ||
"scipy", | ||
"numpy ~=1.22", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Doesn't this also place an upper pin on NumPy? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, it's equivalent to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, the setuptools docs are a bit confusing: wanted to make sure this didn't pin to 22 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here's some good info "compatible release" specification: https://peps.python.org/pep-0440/#compatible-release |
||
"matplotlib ~=3.5", | ||
"colorspacious ~=1.1", | ||
"scipy ~=1.8", | ||
] | ||
|
||
[project.optional-dependencies] | ||
# Qt6 was released 2020.08.12 | ||
PySide = ["PySide6"] | ||
PyQt = ["PyQt6"] | ||
|
||
[project.urls] | ||
repository = "https://github.com/matplotlib/viscm" | ||
# documentation = "https://viscm.readthedocs.io" | ||
|
@@ -46,7 +51,7 @@ package-data = {viscm = ["examples/*"]} | |
|
||
|
||
[tool.mypy] | ||
python_version = "3.8" | ||
python_version = "3.9" | ||
|
||
# These libraries don't have type stubs. Mypy will see them as `Any` and not | ||
# throw an [import] error. | ||
|
@@ -62,10 +67,10 @@ ignore_missing_imports = true | |
|
||
|
||
[tool.black] | ||
target-version = ["py38", "py39", "py310", "py311"] | ||
target-version = ["py39", "py310", "py311"] | ||
|
||
[tool.ruff] | ||
target-version = "py38" | ||
target-version = "py39" | ||
select = [ | ||
"F", | ||
"E", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without
libxcb-cursor0
, tests failed withAborted (core dumped)
under bothPySide6
andPyQt6
.