Commit 0190322
committed
Add Python 3.12 support and modern package management
This commit adds support for Python 3.12 and provides an alternative
installation method using UV, while maintaining full backward
compatibility with existing pip-based workflows.
Changes:
- Add pyproject.toml with PEP 621 compliant project metadata
- Fix numpy compatibility: constrain to <2.0 for Python 3.12 support
- Relax torch/torchvision constraints to allow Python 3.12 compatible versions
- Fix OpenCV version constraints to avoid known compatibility issues
- Add UV as an optional, faster installation method in README
- Update .gitignore for modern Python tooling
All changes maintain backward compatibility with pip and requirements.txt.
Tested with Python 3.12.9 on macOS with the Dolphin-1.5 model.1 parent fcbf033 commit 0190322
3 files changed
+55
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
134 | 157 | | |
135 | 158 | | |
136 | 159 | | |
137 | 160 | | |
138 | 161 | | |
139 | 162 | | |
| 163 | + | |
140 | 164 | | |
141 | 165 | | |
142 | 166 | | |
143 | 167 | | |
144 | 168 | | |
145 | 169 | | |
146 | | - | |
| 170 | + | |
147 | 171 | | |
148 | 172 | | |
149 | 173 | | |
150 | | - | |
| 174 | + | |
151 | 175 | | |
152 | 176 | | |
153 | 177 | | |
154 | | - | |
| 178 | + | |
155 | 179 | | |
156 | 180 | | |
157 | 181 | | |
| |||
173 | 197 | | |
174 | 198 | | |
175 | 199 | | |
176 | | - | |
| 200 | + | |
177 | 201 | | |
178 | 202 | | |
179 | 203 | | |
180 | 204 | | |
181 | 205 | | |
182 | 206 | | |
183 | | - | |
| 207 | + | |
184 | 208 | | |
185 | 209 | | |
186 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
1 | 22 | | |
2 | 23 | | |
3 | 24 | | |
| |||
0 commit comments