Skip to content

Commit

Permalink
Depend on python>=3.10 and add tox to test across versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kaofelix committed Oct 4, 2024
1 parent 194e683 commit 0d83226
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 4 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ authors = [
version = "0.1.0"
description = "A code editing widget for PyQt and PySide"
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"pygments>=2.18.0",
"pyside6>=6.7.2",
"pyside6>=6.2.0",
"qtpy>=2.4.1",
]

Expand All @@ -27,6 +27,7 @@ dev-dependencies = [
"pytest>=8.3.3",
"pytest-qt>=4.4.0",
"ruff>=0.6.7",
"tox>=4.21.2",
]

[build-system]
Expand Down
16 changes: 16 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[tox]
env_list =
py312
py311
py310
minversion = 4.21.2

[testenv]
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
deps =
pytest>=6
pytest-qt>=4
commands =
pytest {tty:--color=yes} {posargs}
129 changes: 127 additions & 2 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0d83226

Please sign in to comment.