Commit Graph

100 Commits

Author SHA1 Message Date
Corentin Le Molgat
7c06c551e8 cmake: set numpy to 2.0.2 as minimum 2025-07-07 11:03:22 +02:00
Mizux Seiha
3467396a74 dependencies: bump Protobuf from v31.0 to v31.1 2025-06-17 12:32:17 +02:00
Corentin Le Molgat
4e2d73ae3f python: bump last remaining 3.8 to 3.9
note: Protobuf v31.0 has dropped support of Python 3.8
2025-05-27 13:27:58 +02:00
Corentin Le Molgat
cfefe417a0 cmake: bump dependencies
* abseil-cpp 20250512.0
* protobuf v31.0
* re2 2024-07-02
* googletest 1.17.0
* benchmark 1.9.2

devNote: to fix a patch not working
```sh
cd ~/.../ortools_repo
cmake -S. -Bbuild -DBUILD_DEPS=ON -DBUILD_EXAMPLES=OFF -DBUILD_SAMPLES=OFF -DBUILD_TESTING=ON
pushd build/_deps/absl-src
git apply --3way ~/.../ortools_repo/patches/abseil-cpp-20250512.0.patch
git mergetool
git diff HEAD -u > ~/.../ortools_repo/patches/abseil-cpp-20250512.0.patch
cd ..
rm -rf absl-*
popd
<repeat>
```
2025-05-22 03:12:46 +02:00
Corentin Le Molgat
92e3c1e7d0 python: target typing-extensions >= 4.12 2025-05-19 09:57:25 +02:00
Corentin Le Molgat
5bf70b691f math_opt: export from google3
* CMake has not been updated yet
* bazel was compiling at least last week

bazel: disable math opt facility_location.py

missing some dependencies...
2025-04-30 09:55:15 +02:00
Corentin Le Molgat
520ec2e026 dependency: bump protobuf to v30.2 2025-03-28 09:38:15 +01:00
Corentin Le Molgat
8f6258861d dependency: Bump Protobuf to v30.1 2025-03-24 16:19:09 +01:00
Laurent Perron
4efd54f5f0 move set_cover code in its own directory 2025-02-17 12:52:36 +01:00
Mizux Seiha
20a88024f5 dependencies: Bump protobuf to v29.3 2025-02-11 12:05:28 +01:00
Mizux Seiha
d3af4d76c9 cmake: Fix and enabled shared lib support with MSVC
* Add decldll to proto
* rework init to make it working for MSVC
* fix test_xprs_interface build
dotnet: Fix MSVC shared libs support
  * Fix csproj to include libortools.dll
java: Fix MSVC shared_libs support
  * Fix runtime jar to include libortools.dll
python: Fix MSVC shared_libs support
  * fix __init__.py.in loading for MSVC
2025-02-04 19:42:22 +01:00
Laurent Perron
bd2225832f fix cmake after CP-SAT python renaming 2025-01-09 16:33:47 +01:00
Mizux Seiha
a86127fec5 deps: Bump Protobuf to v29.2 2024-12-19 21:35:11 +01:00
Corentin Le Molgat
fced774079 dependency: Bump Protobuf to v29.1 2024-12-09 14:24:08 +01:00
Mizux Seiha
63f17fea0b deps: Bump Protobuf to v29.0 2024-12-03 18:07:47 +01:00
Corentin Le Molgat
28ff3d5b2e deps: Bump protobuf to v28.3 2024-11-08 11:39:01 +01:00
Corentin Le Molgat
aa8c01b3ec setup.py.in: remove tabs 2024-11-06 10:35:46 +01:00
Mizux Seiha
53fa48120f cmake: Fix windows python.cmake runtime issue
note: libprotobuf.dll depends on utf8_validity.dll
when tested it seems WinDLL() will load it so we may only
manually load highs.dll and libprotobuf.dll
which should implicitly load the three others:
abseil_dll.dll, zlib1.dll and utf8_validity.dll
2024-11-04 10:45:04 +01:00
Mizux Seiha
c7b05c942c dependency: Bump Protobuf to v28.2 2024-10-22 21:15:46 +02:00
Arnab Animesh Das
dd03f0cbfa Enable builds for Python 3.13 (#4414)
* Enable builds for Python 3.13
2024-10-18 15:03:46 +02:00
Corentin Le Molgat
b34393660a Fix NetBSD build (Fix #4359 #4361) 2024-09-30 08:29:27 +02:00
Corentin Le Molgat
21d767b3b5 algorithms: Add python.set_cover 2024-09-06 07:54:46 +02:00
Corentin Le Molgat
37dd30cbe9 python: Fix protobuf supported range
note: using python 5.28 will lead to multiple segfault
2024-09-06 07:54:09 +02:00
Mizux Seiha
753b2c8f1a dependencies: Bump protobuf to v27.3 2024-08-06 17:26:28 +02:00
Mizux Seiha
bf61daee14 dependency: Bump protobuf from 26.1 to 27.2 2024-07-08 11:58:39 +02:00
Corentin Le Molgat
e7a1d8ab44 routing: fix python build 2024-06-24 13:29:44 +02:00
Ronald E. Dahlgren
73914c474d OpenBSD build support
OpenBSD does not have a /proc filesystem
OpenBSD also defines `getrusage` in sys/resource.h
Add OpenBSD classifier to python package
Include OpenBSD in machine/endian.h check
2024-06-05 10:27:30 +02:00
Corentin Le Molgat
96ddef27d9 cmake: add constraint_solver_pybind11 support 2024-04-19 10:41:28 +02:00
Corentin Le Molgat
4cad8a7756 cmake: fix routing_pybind11 support 2024-04-19 10:41:28 +02:00
Corentin Le Molgat
88d94984ca constraint_solver: export refactor from google3
* Add pybind11 wrapper
* Move routing proto to routing/
2024-04-12 17:17:40 +02:00
Corentin Le Molgat
2f5e3fdb41 dependency: bump protobuf v26.1 2024-03-29 09:08:40 +01:00
Mizux Seiha
5d771cc919 dependency: bump Protobuf to v25.3 2024-02-22 11:44:59 +01:00
Corentin Le Molgat
3c58533f2b cmake: Add service and math_opt.ipc to wheel package 2024-02-16 14:27:15 +01:00
Corentin Le Molgat
ab64c92906 fixup after deps bump 2024-01-31 17:01:05 +01:00
Corentin Le Molgat
6011852ee9 cmake: Add stub to pybind11_abseil.status 2024-01-16 08:13:23 +01:00
Corentin Le Molgat
baad73ae20 cmake: integrate pybind11_abseil module in ortools module
needed for math_opt
2024-01-15 17:54:52 +01:00
Corentin Le Molgat
2c81040044 cmake: math_opt python fix 2024-01-15 15:09:45 +01:00
Corentin Le Molgat
e2b0e3b163 deps: Bump Protobuf v25.0 to v25.1
dev note: `git grep "[34]\.25\.0"`
2023-12-18 16:34:15 +01:00
Laurent Perron
e0b7582637 improve python typing 2023-11-22 14:47:35 +01:00
Corentin Le Molgat
129e1a8fad dependencies: Bump Protobuf from v24.4 to v25.0 2023-11-10 16:48:32 +01:00
Corentin Le Molgat
d6e38a9179 python: Bump dependencies 2023-10-30 10:28:09 +01:00
Corentin Le Molgat
e1f9febd8e cmake(python): Add GENERATE_PYTHON_STUB option (Fix #3944) 2023-10-23 11:01:26 +02:00
Mizux Seiha
21911d4261 python: Add python 3.12 support 2023-10-06 18:12:44 +02:00
Mizux Seiha
bfdc7b5dce dependency: Bump Protobuf to v24.4 2023-10-06 18:12:44 +02:00
Laurent Perron
250302964e tweak export to notebook; add flags stubs code to allow them to work in a notebook 2023-09-05 17:06:29 +02:00
Corentin Le Molgat
e3d047f983 deps: Bump Protobuf to v24.0 2023-08-11 15:13:42 +02:00
Laurent Perron
797b0ea56c fix #3889 2023-08-10 11:08:16 -07:00
Mizux Seiha
0693558fd5 deps: finish Protobuf 3.23.4 bump 2023-08-10 12:53:06 +02:00
Corentin Le Molgat
69e60ca1f8 tools: Remove python 3.7 support (EOL) 2023-07-24 18:22:59 +02:00
Laurent Perron
ca6f7afdcf move pywrap_pdlp to pdlp 2023-07-11 10:33:55 -07:00