Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/build-convex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,19 @@ jobs:
dnf -y install perl &&
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
CIBW_ENVIRONMENT_LINUX: 'PATH="$PATH:$HOME/.cargo/bin"'
CIBW_TEST_REQUIRES: pytest requests
CIBW_TEST_SOURCES: tests
# 0.8.0 stopped shipping tests/ in its tags (0.7.0 had test_simple.py,
# test_values.py and test_version.py), and cibuildwheel errors out on a
# missing test source, so run what those did without the network: the
# extension is compiled, the Rust and Python clients construct, and the
# package version matches the distribution metadata.
CIBW_TEST_COMMAND: >-
python -c "import _convex._convex as m; assert m.__file__.endswith('.so'), m.__file__"
&& python -m pytest -v tests
python -c "import importlib.metadata as md, _convex._convex as m, convex;
from _convex import PyConvexClient;
assert m.__file__.endswith('.so'), m.__file__;
assert convex.__version__ == md.version('convex'), convex.__version__;
PyConvexClient('https://made-up-animal.convex.cloud', convex.__version__);
convex.ConvexClient('https://made-up-animal.convex.cloud');
print('ok', convex.__version__)"
with:
output-dir: wheelhouse/

Expand Down
2 changes: 2 additions & 0 deletions docs/packages/convex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ versions:
- filename: convex-0.7.0-cp39-abi3-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl
sha256: e35316428521ae044259f5166a16158af3755aedc81092b923c8dcc1f2f870e9
requires-python: '>=3.9'
- version: 0.8.0
- version: 0.8.1
Loading