Skip to content

Commit 5bf7f29

Browse files
committed
cleanup
1 parent eb32d05 commit 5bf7f29

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
fi
5151
git show --no-patch --format="%H (%s)"
5252
export LIBBSON_INSTALL_DIR=$(pwd)/libbson
53-
just benchmark -- --set-commit-hash $(git rev-parse HEAD)
53+
just benchmark --set-commit-hash $(git rev-parse HEAD)
5454
}
5555
5656
pip install asv virtualenv

.github/workflows/dist-python.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ jobs:
128128
- name: Test Sdist
129129
working-directory: ./bindings/python
130130
run: |
131+
export LIBBSON_INSTALL_DIR=$(pwd)/libbson
131132
python -m pip install dist/*.gz
132133
cd ..
133134
python -c "from pymongoarrow.lib import libbson_version"

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build:
99
- asdf install uv latest
1010
- asdf global uv latest
1111
install:
12-
- uv sync --no-install-project --group docs
12+
- cd bindings/python && uv sync --no-install-project --group docs
1313
build:
1414
html:
15-
- uv run sphinx-build -c docs/source -T -b html docs $READTHEDOCS_OUTPUT/html
15+
- cd bindings/python && uv run sphinx-build -c docs/source -T -b html docs $READTHEDOCS_OUTPUT/html

bindings/python/build-libbson.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ echo "CMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES}"
3737
echo "LIBBSON_INSTALL_DIR=${LIBBSON_INSTALL_DIR}"
3838

3939
# Activate the virtualenv for the cmake build.
40+
ls .
41+
ls .venv
4042
if [ -f $(pwd)/.venv/Scripts ]; then
4143
. $(pwd)/.venv/Scripts/activate
4244
else

bindings/python/cibw_before_build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ then
2222
pip install --platform $platform --upgrade --target $HOME/wheels --no-deps --only-binary=:all: pyarrow
2323
fi
2424

25-
# Install just, needed for the build command.
26-
pip install rust-just
25+
# Install just uv, needed for the build command.
26+
pip install rust-just uv
2727

2828
# Build libbson with the appropriate arch.
2929
CMAKE_BUILD_TYPE=Release just build-libbson

0 commit comments

Comments
 (0)