Commit 9d69e31
Bump version to 0.3.2 and add NumPy 2.x support (#226)
* Bump version to 0.3.2 and add NumPy 2.x support
- Update numpy dependency from ==1.26.4 to >=2.0.0
- Remove NPY_NO_DEPRECATED_API macro (NumPy 1.x legacy)
- Update build scripts to use NumPy 2.x
- Bump version to 0.3.2
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* Update CI: Python 3.11+ and NumPy 2.x
- Remove Python 3.10 support (cp310)
- Add Python 3.13 support (cp313)
- Update NumPy dependency from ==1.26.4 to >=2.0.0
- Update base Python version from 3.10 to 3.11
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* CI: Use Python 3.12 to run cibuildwheel 3.x
cibuildwheel 3.x requires Python 3.11+ to run.
This does not affect the versions we build wheels for.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* Update build scripts for Python 3.11+
- run_cibuildwheel.sh: Build cp311, cp312, cp313 with musllinux skip
- clean_venv_build.sh: Build for Python 3.11, 3.12, 3.13 (removed 3.10)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* Update run_cibuildwheel.sh
* CI: Add setuptools to workflow dependencies
- Required for 'python setup.py prepare' step
- Added to both wheel build and sdist build jobs
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* Update py_bind/clean_venv_build.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix Windows build: add /std:c11 and setuptools
- Add /std:c11 flag for MSVC to support C99/C11 features
- Add setuptools and wheel to Windows build dependencies
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* CI: Use official cibuildwheel action v3.4.0
- Replace manual cibuildwheel setup with pypa/cibuildwheel@v3.4.0
- Simplifies workflow and uses official GitHub Action
- Handles Python setup and dependencies automatically
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* CI: Update checkout action to v5
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* CI: Fix cibuildwheel version and config
- Use pypa/cibuildwheel@v3.3.1 (latest stable)
- Remove Python version matrix (cibuildwheel handles this via CIBW_BUILD)
- Simplify test command (single CIBW_TEST_COMMAND for all platforms)
- Match official cibuildwheel documentation pattern
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* Add Windows MSVC compatibility define
- Add /D_CRT_SECURE_NO_WARNINGS to suppress MSVC security warnings
- Keep /std:c11 for C99/C11 support
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* Restore platform-specific test commands for Windows compatibility
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* CI: Restore working workflow with manual setup
- Return to manual Python/cibuildwheel setup (working approach)
- Keep actions/checkout@v5 upgrade
- Windows fix (/std:c11) already in setup.py
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
* Fix Windows build: rename norm macro to vec_norm3d
- The 'norm' macro conflicts with complex.h on Windows MSVC
- Rename to vec_norm3d to avoid collision with C standard library
- Update all usages in: vec_utils.h, vec_utils.c, multimed.c,
tracking_run.c, check_imgcoord.c, check_track.c
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
---------
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>1 parent 2c0a98e commit 9d69e31
File tree
13 files changed
+503
-497
lines changed- .github/workflows
- liboptv
- include
- src
- tests
- py_bind
- optv
13 files changed
+503
-497
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments