Skip to content

Commit 4853a19

Browse files
authored
compat!: Bring back python 3.7 and 3.8 (#375)
Revert "compat!: Drop python 3.7 and 3.8 (#363)"
2 parents d858e71 + 35535c8 commit 4853a19

File tree

7 files changed

+77
-27
lines changed

7 files changed

+77
-27
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ["3.9", "3.10"]
13+
python-version: ["3.7", "3.10"]
1414
tmux-version: ["2.6", "2.7", "2.8", "3.0a", "3.1b", "3.2a", "master"]
1515
steps:
1616
- uses: actions/checkout@v3

.python-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10.1 3.9.9
1+
3.10.4 3.9.9 3.8.11 3.7.12

.tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
poetry 1.1.12
2-
python 3.10.1 3.9.9
2+
python 3.10.4 3.9.9 3.8.11 3.7.12

CHANGES

+9-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ $ pip install --user --upgrade --pre libtmux
1212

1313
- _Insert changes/features/fixes for next release here_
1414

15+
## Compatibility
16+
17+
- Brought back python 3.7 and 3.8 support ({issue}`375`)
18+
1519
### Development
1620

1721
- Remove tox and tox-poetry-installer
@@ -31,10 +35,12 @@ $ pip install --user --upgrade --pre libtmux
3135

3236
### Compatibility
3337

34-
- Final python 3.7 and 3.8 release
38+
- Python 3.7 and 3.8 returns in 0.12.0
39+
40+
~~Final python 3.7 and 3.8 release~~
3541

36-
Bug fixes and security updates will go to
37-
[`v0.11.x`](https://github.com/tmux-python/libtmux/tree/v0.11.x)
42+
~~Bug fixes and security updates will go to
43+
[`v0.11.x`](https://github.com/tmux-python/libtmux/tree/v0.11.x)~~
3844

3945
- Internal: Use new separator to split `tmux(1)` formatting information ({issue}`289`,
4046
{issue}`343`)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ See donation options at <https://git-pull.com/support.html>.
198198
# Project details
199199

200200
- tmux support: 1.8, 1.9a, 2.0 - 2.9, 3.0
201-
- python support: >= 3.9, pypy, pypy3
201+
- python support: >= 3.7, pypy, pypy3
202202
- Source: <https://github.com/tmux-python/libtmux>
203203
- Docs: <https://libtmux.git-pull.com>
204204
- API: <https://libtmux.git-pull.com/api.html>

poetry.lock

+60-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ classifiers = [
1212
"Environment :: Web Environment",
1313
"Intended Audience :: Developers",
1414
"Programming Language :: Python",
15+
"Programming Language :: Python :: 3.7",
16+
"Programming Language :: Python :: 3.8",
1517
"Programming Language :: Python :: 3.9",
1618
"Programming Language :: Python :: 3.10",
1719
"Programming Language :: Python :: Implementation :: PyPy",
@@ -39,7 +41,7 @@ Repository = "https://github.com/tmux-python/libtmux"
3941
Changes = "https://github.com/tmux-python/libtmux/blob/master/CHANGES"
4042

4143
[tool.poetry.dependencies]
42-
python = "^3.9"
44+
python = "^3.7"
4345

4446
[tool.poetry.dev-dependencies]
4547
### Docs ###
@@ -49,7 +51,7 @@ sphinx-autobuild = "^2021.3.14"
4951
sphinx-autodoc-typehints = "~1.17.0"
5052
sphinx-click = "*"
5153
sphinx-issues = "^3.0.0"
52-
sphinx-inline-tabs = "*"
54+
sphinx-inline-tabs = { version = "*", python = "^3.7" }
5355
sphinxext-opengraph = "*"
5456
sphinx-copybutton = "^0.5.0"
5557
sphinxext-rediraffe = "*"

0 commit comments

Comments
 (0)