Skip to content

Commit efe5f21

Browse files
Update system.py for py314
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
1 parent a3adbfa commit efe5f21

File tree

4 files changed

+18
-15
lines changed

4 files changed

+18
-15
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Release notes
22
=============
33

4+
Version 32.4.1 - (2025-01-07)
5+
-----------------------------
6+
7+
- Update system.py for python3.14
8+
49
Version 32.4.0 - (2025-10-22)
510
-----------------------------
611

azure-pipelines.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ jobs:
2525
test_suites:
2626
all: venv/bin/pytest -n 2 -vvs
2727

28-
- template: etc/ci/azure-posix.yml
29-
parameters:
30-
job_name: macos13_cpython
31-
image_name: macOS-13
32-
python_versions: ["3.10", "3.11", "3.12", "3.13", "3.14"]
33-
test_suites:
34-
all: venv/bin/pytest -n 2 -vvs
35-
3628
- template: etc/ci/azure-posix.yml
3729
parameters:
3830
job_name: macos14_cpython
@@ -41,6 +33,14 @@ jobs:
4133
test_suites:
4234
all: venv/bin/pytest -n 2 -vvs
4335

36+
- template: etc/ci/azure-posix.yml
37+
parameters:
38+
job_name: macos15_cpython
39+
image_name: macOS-15
40+
python_versions: ["3.10", "3.11", "3.12", "3.13", "3.14"]
41+
test_suites:
42+
all: venv/bin/pytest -n 2 -vvs
43+
4444
- template: etc/ci/azure-win.yml
4545
parameters:
4646
job_name: win2025_cpython
@@ -68,7 +68,7 @@ jobs:
6868
python_versions: ["3.10", "3.11", "3.12", "3.13", "3.14"]
6969
test_suites:
7070
click_versions: |
71-
for clk_ver in 8.3.0 8.2.0 8.2.1 8.1.8 8.1.7 8.1.6 8.1.5 8.1.4 8.1.3 8.1.2 8.1.1 8.1.0 8.0.4 8.0.2 8.0.3 8.0.1 7.1.2 7.1.1 7.1 6.7;
71+
for clk_ver in 8.3.1 8.3.0 8.2.0 8.2.1 8.1.8 8.1.7 8.1.6 8.1.5 8.1.4 8.1.3 8.1.2 8.1.1 8.1.0 8.0.4 8.0.2 8.0.3 8.0.1 7.1.2 7.1.1 7.1 6.7;
7272
do
7373
venv/bin/pip install click==$clk_ver;
7474
venv/bin/pytest -vvs tests/test_cliutils_progressbar.py;

src/commoncode/system.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ def has_case_sensitive_fs():
144144
py3 = _sys_v0 == 3
145145

146146
_sys_v1 = sys.version_info[1]
147-
py36 = py3 and _sys_v1 == 6
148-
py37 = py3 and _sys_v1 == 7
149-
py38 = py3 and _sys_v1 == 8
150-
py39 = py3 and _sys_v1 == 9
151147
py310 = py3 and _sys_v1 == 10
148+
py311 = py3 and _sys_v1 == 11
149+
py312 = py3 and _sys_v1 == 12
150+
py313 = py3 and _sys_v1 == 13
151+
py314 = py3 and _sys_v1 == 14
152152

153153
# Do not let Windows error pop up messages with default SetErrorMode
154154
# See http://msdn.microsoft.com/en-us/library/ms680621(VS100).aspx

tests/test_command.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@
1515
from commoncode.system import on_linux
1616
from commoncode.system import on_mac
1717
from commoncode.system import on_windows
18-
from commoncode.system import py36
1918
from commoncode.testcase import FileBasedTesting
2019

2120

2221
class TestCommand(FileBasedTesting):
2322
test_data_dir = os.path.join(os.path.dirname(__file__), "data")
2423

25-
@skipIf(py36, "This fails on Python 3.6 https://bugs.python.org/issue26919")
2624
def test_execute_can_handle_non_ascii_output(self):
2725
# Popen returns a *binary* string with non-ascii chars: skips these
2826
python = sys.executable

0 commit comments

Comments
 (0)