@planqk/planqk-api-sdk 1.3.1 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.fossa.yml ADDED
@@ -0,0 +1,8 @@
1
+ version: 3
2
+ project:
3
+ id: "git@gitlab.com:planqk-foss/planqk-api-sdk.git"
4
+ name: "Platform-API-SDK"
5
+ labels:
6
+ - "Platform"
7
+ - "Open Source"
8
+ - "PLANQK"
package/.gitlab-ci.yml CHANGED
@@ -10,6 +10,8 @@ variables:
10
10
 
11
11
  stages:
12
12
  - commit-test
13
+ - install
14
+ - compliance
13
15
  - commit-release-check
14
16
  - release-package
15
17
 
@@ -21,8 +23,6 @@ semantic-release:
21
23
  - if: '$CI_PIPELINE_SOURCE == "web"'
22
24
  - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
23
25
  variables:
24
- ## Use the gitlab user to create the release commit
25
- ## https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#git-environment-variables
26
26
  GIT_AUTHOR_NAME: "$GITLAB_USER_NAME"
27
27
  GIT_AUTHOR_EMAIL: "$GITLAB_USER_EMAIL"
28
28
  GIT_COMMITTER_NAME: "$GITLAB_USER_NAME"
@@ -34,14 +34,39 @@ semantic-release:
34
34
  script:
35
35
  - semantic-release
36
36
 
37
+ install:
38
+ stage: install
39
+ rules:
40
+ - if: '$CI_COMMIT_TAG'
41
+ image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
42
+ script:
43
+ - uv sync --frozen --no-dev
44
+ artifacts:
45
+ expire_in: 1 hour
46
+ paths:
47
+ - .venv
48
+
49
+ oss-compliance-check:
50
+ stage: compliance
51
+ rules:
52
+ - if: "$CI_COMMIT_TAG"
53
+ image: ubuntu:latest
54
+ before_script:
55
+ - apt-get update && apt-get install -y --no-install-recommends ca-certificates curl
56
+ - curl https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
57
+ - source .venv/bin/activate
58
+ script:
59
+ - FOSSA_REVISION=$([ -z $CI_COMMIT_TAG ] && echo $CI_COMMIT_SHA || echo $CI_COMMIT_TAG)
60
+ - FOSSA_BRANCH=$([ -z $CI_COMMIT_BRANCH ] && echo 'main' || echo $CI_COMMIT_BRANCH)
61
+ - fossa analyze -b $FOSSA_BRANCH -r $FOSSA_REVISION .
62
+ - fossa test -r $FOSSA_REVISION
63
+
37
64
  publish-python-sdk:
38
65
  stage: release-package
39
66
  rules:
40
67
  - if: '$CI_COMMIT_TAG'
41
68
  image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
42
69
  before_script:
43
- - uv venv
44
- - uv sync --frozen
45
70
  - source .venv/bin/activate
46
71
  - uv pip install twine
47
72
  script:
@@ -66,7 +91,11 @@ publish-node-sdk:
66
91
  - cp README-node.md README.md
67
92
  - npm run build
68
93
  - npm publish
94
+ artifacts:
95
+ expire_in: 1 hour
96
+ paths:
97
+ - dist
69
98
  cache:
70
- key: $CI_JOB_NAME
99
+ key: node_modules
71
100
  paths:
72
101
  - node_modules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@planqk/planqk-api-sdk",
3
- "version": "1.3.1",
3
+ "version": "1.3.4",
4
4
  "description": "SDK to interact with the official PLANQK API.",
5
5
  "author": "Kipu Quantum GmbH",
6
6
  "contributors": [
@@ -1 +1 @@
1
- __version__ = "1.3.1"
1
+ __version__ = "1.3.4"
package/pyproject.toml CHANGED
@@ -1,12 +1,13 @@
1
1
  [project]
2
2
  name = "planqk-api-sdk"
3
- version = "1.3.1"
3
+ version = "1.3.4"
4
4
  description = "SDK to interact with the official PLANQK API."
5
5
  authors = [
6
6
  { name = "Kipu Quantum GmbH", email = "info@kipu-quantum.com" },
7
7
  ]
8
8
  maintainers = [
9
9
  { name = "Michael Wurster", email = "michael.wurster@kipu-quantum.com" },
10
+ { name = "Lukas Harzenetter", email = "lukas.harzenetter@kipu-quantum.com" },
10
11
  ]
11
12
  classifiers = [
12
13
  "Programming Language :: Python :: 3",