Skip to content

Commit 772da33

Browse files
Merge branch 'master' into fix_issue_95_WorkerPool_Wait_for_previous_task_in_try_send_to_primary_thread
2 parents c5cef44 + c0f794a commit 772da33

File tree

8 files changed

+14
-25
lines changed

8 files changed

+14
-25
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
os: [ windows-latest, ubuntu-latest ]
37-
python: [ "3.7","3.8","3.10","3.11", "pypy-3.7" ]
37+
python: [ "3.8","3.10","3.11","3.12", "pypy-3.8" ]
3838

3939
steps:
4040
- uses: actions/checkout@v4
@@ -53,9 +53,7 @@ jobs:
5353
python-version: ${{ matrix.python }}
5454

5555
- name: Install tox
56-
run: |
57-
python -m pip install --upgrade pip
58-
pip install tox
56+
run: pip install tox
5957

6058
- name: Test
6159
shell: bash

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ repos:
1515
- id: end-of-file-fixer
1616
- id: check-yaml
1717
- repo: https://github.com/asottile/pyupgrade
18-
rev: v3.15.0
18+
rev: v3.15.1
1919
hooks:
2020
- id: pyupgrade
21-
args: [--py37-plus]
21+
args: [--py38-plus]
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: v0.2.1
23+
rev: v0.2.2
2424
hooks:
2525
- id: ruff
2626
args: [ --fix ]

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
Also fixed ``init_popen_io`` to use ``closefd=False`` for shared stdin and stdout file
1616
descriptors, preventing ``Bad file descriptor`` errors triggered by test_stdouterrin_setnull.
17+
* Removed support for Python 3.7.
18+
* Added official support for Python 3.12.
19+
1720

1821
2.0.2 (2023-07-09)
1922
------------------

doc/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Info in a nutshell
22
====================
33

4-
**Pythons**: 3.7+, PyPy 3
4+
**Pythons**: 3.8+, PyPy 3
55

66
**Operating systems**: Linux, Windows, OSX, Unix
77

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dynamic = ["version"]
1111
description = "execnet: rapid multi-Python deployment"
1212
readme = {"file" = "README.rst", "content-type" = "text/x-rst"}
1313
license = "MIT"
14-
requires-python = ">=3.7"
14+
requires-python = ">=3.8"
1515
authors = [
1616
{ name = "holger krekel and others" },
1717
]
@@ -22,11 +22,11 @@ classifiers = [
2222
"Operating System :: MacOS :: MacOS X",
2323
"Operating System :: Microsoft :: Windows",
2424
"Operating System :: POSIX",
25-
"Programming Language :: Python :: 3.7",
2625
"Programming Language :: Python :: 3.8",
2726
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: 3.10",
2928
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12",
3030
"Programming Language :: Python :: Implementation :: CPython",
3131
"Programming Language :: Python :: Implementation :: PyPy",
3232
"Topic :: Software Development :: Libraries",
@@ -68,4 +68,4 @@ include = [
6868
]
6969

7070
[tool.mypy]
71-
python_version = "3.7"
71+
python_version = "3.8"

src/execnet/script/xx.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

testing/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def pytest_generate_tests(metafunc):
109109
metafunc.parametrize("gw", gwtypes, indirect=True)
110110

111111

112-
@lru_cache()
112+
@lru_cache
113113
def getexecutable(name):
114114
if name == "sys.executable":
115115
return sys.executable

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=py{37,38,39,310,311,pypy37},docs,linting
2+
envlist=py{38,39,310,311,312,pypy38},docs,linting
33
isolated_build = true
44

55
[testenv]

0 commit comments

Comments
 (0)