Skip to content

Commit 2403a4c

Browse files
authored
[MRG] Add action to test build from source (#772)
* add action to test build from source * debug build from source
1 parent f5781f8 commit 2403a4c

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

.github/workflows/build_tests.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828

2929
- name: Checking Out Repository
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
3131
# Install Python & Packages
3232
- uses: actions/setup-python@v4
3333
with:
@@ -39,6 +39,20 @@ jobs:
3939
pre-commit install --install-hooks
4040
pre-commit run --all-files
4141
42+
build_from_source:
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@v4
46+
- name: Set up Python
47+
uses: actions/setup-python@v5
48+
with:
49+
python-version: "3.12"
50+
- name: Build from source
51+
run: |
52+
python -m pip install --upgrade pip setuptools wheel
53+
python -m pip install cython numpy
54+
python setup.py sdist bdist_wheel
55+
pip install dist/*.tar.gz
4256
4357
linux:
4458

RELEASES.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
# Releases
22

3+
## 0.9.7.dev0
4+
5+
#### Closed issues
6+
- Fix deprecated JAX function in `ot.backend.JaxBackend` (PR #771, Issue #770)
7+
- Add test for build from source (PR #772, Issue #764)
8+
39
## 0.9.6.post1
410

511
*September 2025*
612

713
#### Closed issues
814
- Fix missing cython file in MANIFEST.in (PR #763)
9-
- Fix deprecated JAX function in `ot.backend.JaxBackend` (PR #771, Issue #770)
1015

1116
## 0.9.6
1217

ot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
# utils functions
7878
from .utils import dist, unif, tic, toc, toq
7979

80-
__version__ = "0.9.6.post1"
80+
__version__ = "0.9.7.dev0"
8181

8282
__all__ = [
8383
"emd",

0 commit comments

Comments
 (0)