Skip to content

Commit a47f0af

Browse files
authored
Add support for Python 3.15 (#123)
2 parents e923aea + 7534843 commit a47f0af

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
matrix:
1717
python-version:
1818
- "pypy3.11"
19+
- "3.15t"
20+
- "3.15"
1921
- "3.14t"
2022
- "3.14"
2123
- "3.13t"

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ classifiers = [
3636
"Programming Language :: Python :: 3.12",
3737
"Programming Language :: Python :: 3.13",
3838
"Programming Language :: Python :: 3.14",
39+
"Programming Language :: Python :: 3.15",
3940
"Programming Language :: Python :: Implementation :: CPython",
4041
"Programming Language :: Python :: Implementation :: PyPy",
4142
"Topic :: Terminals",
@@ -93,16 +94,13 @@ lint.isort.known-first-party = [ "termcolor" ]
9394
lint.isort.required-imports = [ "from __future__ import annotations" ]
9495

9596
[tool.pyproject-fmt]
96-
max_supported_python = "3.14"
97+
max_supported_python = "3.15"
9798

9899
[tool.pytest.ini_options]
99100
testpaths = [ "tests" ]
100101

101102
[tool.coverage.run]
102103
branch = true
103-
disable_warnings = [
104-
"no-sysmon",
105-
]
106104
omit = [
107105
"*/termcolor/__main__.py",
108106
]
@@ -115,5 +113,4 @@ show_contexts = true
115113
exclude_also = [
116114
# Don't complain if non-runnable code isn't run:
117115
"if __name__ == .__main__.:",
118-
"if TYPE_CHECKING:",
119116
]

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ requires =
44
env_list =
55
lint
66
mutmut
7-
py{py3, 314, 313, 312, 311, 310}
7+
py{py3, 315, 314, 313, 312, 311, 310, 315t, 314t, 313t}
88

99
[testenv]
1010
extras =
1111
tests
1212
pass_env =
1313
FORCE_COLOR
14-
set_env =
15-
COVERAGE_CORE = sysmon
1614
commands =
1715
{envpython} -m pytest \
1816
--cov termcolor \

0 commit comments

Comments
 (0)