Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove python & cb versioning #237

Merged
merged 2 commits into from
Aug 21, 2023
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
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim-bullseye
FROM python:slim-bullseye

COPY . /python-docs-repo
WORKDIR /python-docs-repo/tests
Expand All @@ -7,7 +7,8 @@ RUN apt-get update && apt-get install -y \
build-essential \
cmake \
libssl-dev \
jq curl \
jq \
curl \
npm

RUN pip install -r ../requirements.txt
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
couchbase==4.1.3
flask
couchbase
fastapi
twisted
orjson
Expand Down
3 changes: 2 additions & 1 deletion tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ load 'test_helper'
}

@test "[howtos] - logging_example.py" {
skip "Example currently broken (C++ core)"
runExample $HOWTOS_DIR logging_example.py
# Raises an error on purpose to log it
assert_failure 134
Expand Down Expand Up @@ -104,7 +105,7 @@ load 'test_helper'

@test "[howtos] - threshold_logging.py" {
runExample $HOWTOS_DIR threshold_logging.py
assert_failure 134
assert_success
}

@test "[howtos] - transactions_example.py" {
Expand Down