Skip to content

Commit 13cfeaf

Browse files
authored
Merge pull request #132 from marklogic/release/1.3.1
MLE-26598 Merge release/1.3.1 into master
2 parents 653ece9 + ddd3f81 commit 13cfeaf

9 files changed

Lines changed: 1413 additions & 563 deletions

File tree

.copyrightconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# COPYRIGHT VALIDATION CONFIG
2+
# ---------------------------------
3+
# Required start year (keep fixed; end year auto-updates in check output)
4+
startyear: 2023
5+
6+
# Optional exclusions list (comma-separated). Leave commented if none.
7+
# Rules:
8+
# - Relative paths (no leading ./)
9+
# - Simple * wildcard only (no recursive **)
10+
# - Use sparingly (third_party, generated, binary assets)
11+
# - Dotfiles already skipped automatically
12+
# Enable by removing the leading '# ' from the next line and editing values.
13+
filesexcluded: .github/*, README.md, Jenkinsfile, gradle/*, docker-compose.yml, *.gradle, gradle.properties, gradlew, gradlew.bat, CODEOWNERS, *.lock, *.toml

.github/workflows/pr-workflow.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 🏷️ JIRA ID Validator
1+
name: PR Workflow
22

33
on:
44
# Using pull_request_target instead of pull_request to handle PRs from forks
@@ -14,3 +14,10 @@ jobs:
1414
with:
1515
# Pass the PR title from the event context
1616
pr-title: ${{ github.event.pull_request.title }}
17+
copyright-validation:
18+
name: © Validate Copyright Headers
19+
uses: marklogic/pr-workflows/.github/workflows/copyright-check.yml@main
20+
permissions:
21+
contents: read
22+
pull-requests: write
23+
issues: write

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Each line is a file pattern followed by one or more owners.
33

44
# These owners will be the default owners for everything in the repo.
5-
* @anu3990 @billfarber @rjrudin
5+
* @stevebio @billfarber @rjrudin

Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ pipeline{
3232
export GRADLE_USER_HOME=$WORKSPACE/$GRADLE_DIR
3333
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
3434
cd marklogic-python-client/test-app
35-
echo "Waiting for MarkLogic server to initialize."
36-
sleep 60s
35+
./gradlew -i mlWaitTillReady
3736
./gradlew -i mlDeploy -PmlPassword=admin
3837
'''
3938
// 'set -e' causes the script to fail if any command fails.

NOTICE.txt

Lines changed: 732 additions & 63 deletions
Large diffs are not rendered by default.

poetry.lock

Lines changed: 630 additions & 492 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "marklogic-python-client"
3-
version = "1.3.0"
3+
version = "1.3.1"
44
description = "Python client for MarkLogic, built on the requests library"
55
authors = ["MarkLogic <general@developer.marklogic.com>"]
66
readme = "README.md"
@@ -9,9 +9,12 @@ license = "Apache 2.0"
99

1010
[tool.poetry.dependencies]
1111
python = "^3.9"
12-
requests = "^2.32.4"
12+
requests = "^2.32.5"
1313
requests_toolbelt = "^1.0.0"
1414

15+
# Forcing version to eliminate CVEs; transitive dependency of requests.
16+
urllib3 = "^2.6.3"
17+
1518
[tool.poetry.group.test.dependencies]
1619
pytest = "^7.4.0"
1720

@@ -20,6 +23,9 @@ flake8 = "^7.1.1"
2023
black = ">=23.3,<25.0"
2124
ipykernel = "^6.30.1"
2225

26+
# Forcing latest version to eliminate CVEs; transitive dependency of ipykernel.
27+
jupyter-core = "^5.8.1"
28+
2329
[build-system]
2430
requires = ["poetry-core"]
2531
build-backend = "poetry.core.masonry.api"

test-app/build.gradle

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
// Needed for ml-gradle 6.2-SNAPSHOT
5+
maven {
6+
url = "https://bed-artifactory.bedford.progress.com:443/artifactory/ml-maven-snapshots/"
7+
}
8+
}
9+
dependencies {
10+
classpath "com.marklogic:ml-gradle:6.2-SNAPSHOT"
11+
}
12+
}
13+
114
plugins {
2-
id 'net.saliman.properties' version '1.5.2'
3-
id 'com.marklogic.ml-gradle' version '5.0.0'
15+
id "net.saliman.properties" version "1.6.0"
416
}
517

18+
apply plugin: "com.marklogic.ml-gradle"
19+
620
// Generate a temporary certificate for some simple SSL tests
721
ext {
822
def command = new com.marklogic.appdeployer.command.security.GenerateTemporaryCertificateCommand()

test-app/docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ services:
55
marklogic:
66
image: "${MARKLOGIC_IMAGE}"
77
platform: linux/amd64
8+
# The NET_RAW capability allows a process to create raw sockets. Polaris does not like that.
9+
# This setting removes the NET_RAW capability from the container.
10+
cap_drop:
11+
- NET_RAW
812
environment:
913
- INSTALL_CONVERTERS=true
1014
- MARKLOGIC_INIT=true

0 commit comments

Comments
 (0)