Commit e15802e
authored
Release 0.2.1 (#21)
* [BUGFIX] Fix Broken Release (#19)
* fix: resolve Linux and macOS build failures, add CI build tests
Build Fixes:
- Add pthread.h include for Linux builds (network.c)
Fixes missing PTHREAD_MUTEX_INITIALIZER and pthread function declarations
- Remove duplicate _POSIX_C_SOURCE definition (http2_session_manager.c)
Fixes redefinition warning and implicit usleep declaration
The macro is already defined in internal.h with a newer POSIX standard
- Fix -march=native flag for macOS ARM64 builds (setup.py)
Refactored architecture detection to skip unsupported flags on ARM64 macOS
* x86_64/AMD64: Use -march=native
* ARM64 on Linux: Use -mcpu=native
* ARM64 on macOS: Skip architecture flags (clang doesn't support them)
CI Improvements:
- Add build test jobs for Linux, macOS, and Windows to CI pipeline
- Build and test all Python versions (3.8-3.14) on every push/PR
- Align CI build workflow with release pipeline for consistency
- Add build status reporting in CI summary
These changes ensure builds succeed on all platforms and catch build
failures early in the development process.
* fix: skip C extension build on Read the Docs
Read the Docs doesn't need C extensions to build documentation.
Detect READTHEDOCS environment variable and skip Cython/C compilation
when building on RTD infrastructure.
This allows documentation builds to succeed without requiring
vendor dependencies (nghttp2, BoringSSL) to be available.
* chore: Fixed indentation in setup.py:
- All Extension() constructor parameters are now properly indented
- The build will now work correctly on Linux/macOS/Windows
- Read the Docs will skip C extensions entirely (no compilation needed for docs)
* fix: resolve Linux/macOS build failures and add CI build tests for all platforms
* fix: Resolve Linux and macOS build failures
- Add OpenSSL 1.0.x compatibility for old manylinux containers
- Add TLS 1.3 guards for OpenSSL versions without TLS 1.3 support
- Force static library linking on macOS to avoid Homebrew dylib version mismatches
- Prioritize vendor-built libraries over system libraries on macOS
* fix: Resolve Linux sign-compare warnings and macOS library linking issues
- Fix sign-compare warnings in tls.c by using int instead of size_t for browser profile
counts
- Force static library linking on macOS to avoid Homebrew dylib version conflicts
- Prioritize vendor-built libraries over system libraries on both Linux and macOS
* fix: Resolve Python 3.8 setuptools compatibility and build issues
- Constrain setuptools <75.4.0 for Python 3.8 (dropped support in 75.4.0)
* fix: Resolve build and runtime failures across all platforms
- Constrain setuptools <75.4.0 for Python 3.8 (dropped in 75.4.0)
- Remove -march=native flags to fix "Illegal instruction" on Linux
- Fix sign-compare warnings in tls.c (use int for profile counts)
- Force static library linking on macOS to avoid Homebrew conflicts
- Ensure portable wheels that work across different CPUs
* fix: Resolve build failures across all platforms
- Cap setuptools <75.4.0 for Python 3.8 compatibility
- Remove -march=native to create portable wheels
- Fix sign-compare warnings in tls.c
- Force static library linking on macOS
- Ensure wheels work across different CPUs and Python versions
* fix: Add OpenSSL 1.0.x compatibility for manylinux builds
- Add compatibility wrappers for OpenSSL 1.1.0+ APIs
- Map TLS_client_method to SSLv23_client_method for 1.0.x
- Add fallback for SSL_CTX_set_min/max_proto_version
- Skip X25519 curve when not available in OpenSSL 1.0.x
- Remove duplicate POSIX feature test macros
- Ensure all builds work with OpenSSL 1.0.x (manylinux) and 1.1.0+
* fix: Add comprehensive OpenSSL 1.0.x and POSIX compatibility
* fix: Fixed io_uring detection, added liburing static library support, and properly linked BoringSSL with C++ runtime support
* [CHORE] Attribution and Version Bump to 0.2.1 (#20)1 parent b914125 commit e15802e
File tree
14 files changed
+615
-322
lines changed- .github/workflows
- docs/source
- src
- bindings
- core
- httpmorph
14 files changed
+615
-322
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 5 | | |
12 | 6 | | |
13 | 7 | | |
| |||
42 | 36 | | |
43 | 37 | | |
44 | 38 | | |
45 | | - | |
| 39 | + | |
46 | 40 | | |
47 | 41 | | |
48 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 5 | | |
12 | 6 | | |
13 | 7 | | |
| |||
84 | 78 | | |
85 | 79 | | |
86 | 80 | | |
87 | | - | |
| 81 | + | |
88 | 82 | | |
89 | 83 | | |
90 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 5 | | |
12 | 6 | | |
13 | 7 | | |
| |||
94 | 88 | | |
95 | 89 | | |
96 | 90 | | |
97 | | - | |
| 91 | + | |
98 | 92 | | |
99 | 93 | | |
100 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
33 | 51 | | |
34 | 52 | | |
35 | 53 | | |
36 | 54 | | |
37 | 55 | | |
38 | | - | |
| 56 | + | |
39 | 57 | | |
40 | 58 | | |
41 | 59 | | |
| |||
59 | 77 | | |
60 | 78 | | |
61 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
62 | 114 | | |
63 | 115 | | |
64 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
46 | 70 | | |
47 | 71 | | |
48 | 72 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments