Skip to content

Commit ccecf9e

Browse files
committed
more compat
1 parent 337667f commit ccecf9e

File tree

4 files changed

+29
-10
lines changed

4 files changed

+29
-10
lines changed

.github/workflows/_build_linux.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
description: 'Python versions to build for'
88
required: false
99
type: string
10-
default: '["3.10", "3.11", "3.12"]'
10+
default: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]'
1111

1212
jobs:
1313
build-linux:
@@ -43,7 +43,7 @@ jobs:
4343
uses: pypa/cibuildwheel@v2.22.0
4444
env:
4545
# Build for specified Python versions
46-
CIBW_BUILD: cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64
46+
CIBW_BUILD: cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64 cp313-manylinux_x86_64 cp314-manylinux_x86_64
4747
# Vendor build happens inside manylinux container via before-build (from pyproject.toml)
4848

4949
# Save vendor cache after build
@@ -59,9 +59,14 @@ jobs:
5959
uses: actions/setup-python@v5
6060
with:
6161
python-version: |
62+
3.8
63+
3.9
6264
3.10
6365
3.11
6466
3.12
67+
3.13
68+
3.14
69+
allow-prereleases: true
6570

6671
# Test the built wheels
6772
- name: Test wheels

.github/workflows/_build_macos.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
description: 'Python versions to build for'
88
required: false
99
type: string
10-
default: '["3.10", "3.11", "3.12"]'
10+
default: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]'
1111

1212
jobs:
1313
build-macos:
@@ -86,7 +86,7 @@ jobs:
8686
# Skip before-build since we already built vendors
8787
CIBW_BEFORE_BUILD: ""
8888
# Build for specified Python versions (universal2 for both Intel and Apple Silicon)
89-
CIBW_BUILD: cp310-macosx_* cp311-macosx_* cp312-macosx_*
89+
CIBW_BUILD: cp38-macosx_* cp39-macosx_* cp310-macosx_* cp311-macosx_* cp312-macosx_* cp313-macosx_* cp314-macosx_*
9090
# Use delocate to bundle dependencies
9191
CIBW_REPAIR_WHEEL_COMMAND_MACOS: "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} {wheel} --ignore-missing-dependencies"
9292

@@ -95,9 +95,14 @@ jobs:
9595
uses: actions/setup-python@v5
9696
with:
9797
python-version: |
98+
3.8
99+
3.9
98100
3.10
99101
3.11
100102
3.12
103+
3.13
104+
3.14
105+
allow-prereleases: true
101106

102107
# Test the built wheels
103108
- name: Test wheels

.github/workflows/_build_windows.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
description: 'Python versions to build for'
88
required: false
99
type: string
10-
default: '["3.10", "3.11", "3.12"]'
10+
default: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]'
1111

1212
jobs:
1313
build-windows:
@@ -96,16 +96,21 @@ jobs:
9696
# Skip before-build since we already built vendors
9797
CIBW_BEFORE_BUILD: ""
9898
# Build for specified Python versions
99-
CIBW_BUILD: cp310-win_amd64 cp311-win_amd64 cp312-win_amd64
99+
CIBW_BUILD: cp38-win_amd64 cp39-win_amd64 cp310-win_amd64 cp311-win_amd64 cp312-win_amd64 cp313-win_amd64 cp314-win_amd64
100100

101101
# Setup Python versions for testing
102102
- name: Setup Python versions
103103
uses: actions/setup-python@v5
104104
with:
105105
python-version: |
106+
3.8
107+
3.9
106108
3.10
107109
3.11
108110
3.12
111+
3.13
112+
3.14
113+
allow-prereleases: true
109114

110115
# Test the built wheels
111116
- name: Test wheels

pyproject.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "httpmorph"
77
version = "0.1.0"
88
description = "Morph into any browser - High-performance HTTP client with dynamic fingerprinting using C, io_uring, and BoringSSL"
99
readme = "README.md"
10-
requires-python = ">=3.10"
10+
requires-python = ">=3.8"
1111
license = {text = "MIT"}
1212
authors = [
1313
{name = "Arman", email = "arman@bytetunnels.com"}
@@ -18,9 +18,13 @@ classifiers = [
1818
"Intended Audience :: Developers",
1919
"License :: OSI Approved :: MIT License",
2020
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3.8",
22+
"Programming Language :: Python :: 3.9",
2123
"Programming Language :: Python :: 3.10",
2224
"Programming Language :: Python :: 3.11",
2325
"Programming Language :: Python :: 3.12",
26+
"Programming Language :: Python :: 3.13",
27+
"Programming Language :: Python :: 3.14",
2428
"Programming Language :: C",
2529
"Topic :: Internet :: WWW/HTTP",
2630
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -69,7 +73,7 @@ httpmorph = ["*.pyx", "*.pxd", "*.c", "*.h"]
6973

7074
[tool.ruff]
7175
line-length = 100
72-
target-version = "py310"
76+
target-version = "py38"
7377
fix = true
7478

7579
[tool.ruff.lint]
@@ -95,7 +99,7 @@ skip-magic-trailing-comma = false
9599
line-ending = "auto"
96100

97101
[tool.mypy]
98-
python_version = "3.10"
102+
python_version = "3.8"
99103
warn_return_any = true
100104
warn_unused_configs = true
101105
disallow_untyped_defs = true
@@ -115,7 +119,7 @@ markers = [
115119
]
116120

117121
[tool.cibuildwheel]
118-
build = "cp310-* cp311-* cp312-*"
122+
build = "cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
119123
skip = "*-musllinux_* *-win32"
120124
build-verbosity = 1
121125

0 commit comments

Comments
 (0)