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
2 changes: 1 addition & 1 deletion .copyrightconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ startyear: 2023
# - Use sparingly (third_party, generated, binary assets)
# - Dotfiles already skipped automatically
# Enable by removing the leading '# ' from the next line and editing values.
filesexcluded: .github/*, *.md, Jenkinsfile, gradle/*, *.yml, *.gradle, *.properties, gradlew, gradlew.bat, CODEOWNERS, *.lock, *.toml, *.md, *version
filesexcluded: .github/*, *.md, Jenkinsfile, gradle/*, *.yml, *.gradle, *.properties, gradlew, gradlew.bat, CODEOWNERS, *.lock, *.toml, *.md, *version, *.json
12 changes: 8 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pipeline{
environment{
JAVA_HOME_DIR="/home/builder/java/jdk-17.0.2"
GRADLE_DIR =".gradle"
PYTHON313_BIN="/home/builder/python/Python-3.13.7/bin"
}
Comment thread
RitaChen609 marked this conversation as resolved.

options {
Expand Down Expand Up @@ -39,10 +40,13 @@ pipeline{
sh label:'Run tests', script: '''#!/bin/bash
set -e
cd marklogic-python-client
python -m venv .venv;
source .venv/bin/activate;
pip install poetry;
poetry install;
export PATH="${PYTHON313_BIN}:${PATH}"
python3.13 --version
python3.13 -m venv .venv
source .venv/bin/activate
python --version
python -m pip install poetry
poetry install
pytest --junitxml=TestReport.xml || true
'''
junit 'marklogic-python-client/TestReport.xml'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
"privilege-name": "xdbc:invoke",
"action": "http://marklogic.com/xdmp/privileges/xdbc-invoke",
"kind": "execute"
},
{
"privilege-name": "xdmp-invoke",
"action": "http://marklogic.com/xdmp/privileges/xdmp-invoke",
"kind": "execute"
}
]
}
4 changes: 2 additions & 2 deletions tests/test_rows_update.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
# Copyright (c) 2023-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.


import json
Expand All @@ -16,7 +16,7 @@ def test_update_dsl_fromDocDescriptors(client):
const docDescriptors = [
{{
uri:"{doc_uri}",
doc:'{json.dumps(doc_contents)}',
doc:{json.dumps(doc_contents)},
permissions: {json.dumps(doc_permissions)}
}}
];
Expand Down
Loading