Skip to content

Commit 4a8625d

Browse files
authored
Remove redundant version check (#393)
* Add colour to CI logs for readability * Remove redundant version check
1 parent 2fb9eb5 commit 4a8625d

File tree

6 files changed

+16
-6
lines changed

6 files changed

+16
-6
lines changed

.github/workflows/apple.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ concurrency:
99
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
1010
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1111

12+
env:
13+
FORCE_COLOR: 1
14+
1215
jobs:
1316
pythonbuild:
1417
runs-on: 'macos-13'

.github/workflows/check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ concurrency:
88
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
99
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1010

11+
env:
12+
FORCE_COLOR: 1
13+
1114
jobs:
1215
check:
1316
runs-on: "ubuntu-latest"

.github/workflows/linux.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ concurrency:
99
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
1010
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1111

12+
env:
13+
FORCE_COLOR: 1
14+
1215
jobs:
1316
pythonbuild:
1417
runs-on: ubuntu-22.04

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
required: false
1616
type: boolean
1717

18+
env:
19+
FORCE_COLOR: 1
20+
1821
permissions:
1922
contents: write
2023
packages: write

.github/workflows/windows.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ concurrency:
99
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
1010
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1111

12+
env:
13+
FORCE_COLOR: 1
14+
1215
jobs:
1316
pythonbuild:
1417
runs-on: 'windows-2022'

src/validation.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,12 +1493,7 @@ fn validate_extension_modules(
14931493
}
14941494
}
14951495

1496-
if (is_linux || is_macos)
1497-
&& matches!(
1498-
python_major_minor,
1499-
"3.9" | "3.10" | "3.11" | "3.12" | "3.13"
1500-
)
1501-
{
1496+
if (is_linux || is_macos) {
15021497
wanted.extend([
15031498
"_testbuffer",
15041499
"_testimportmultiple",

0 commit comments

Comments
 (0)