osc_sdk_python 0.39.2__tar.gz → 0.41.0__tar.gz
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.
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/actions/setup-test/action.yml +1 -1
- osc_sdk_python-0.41.0/.github/codeql/extensions/codeql-pack.yml +7 -0
- osc_sdk_python-0.41.0/.github/codeql/extensions/models/trusted-owner.model.yml +6 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/scripts/release-build.sh +1 -1
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/workflows/build.yml +4 -3
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/workflows/code-check-identified.yml +1 -1
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/workflows/code-check.yml +1 -1
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/workflows/codeql.yml +4 -4
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/workflows/cred-scan.yml +1 -1
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/workflows/github-sanity-scan.yml +1 -1
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/workflows/publish.yml +1 -1
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/workflows/sync-labels.yml +1 -1
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/PKG-INFO +2 -3
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/README.md +1 -2
- osc_sdk_python-0.41.0/osc_sdk_python/VERSION +1 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/call.py +1 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/credentials.py +0 -1
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/resources/outscale.yaml +777 -670
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/pyproject.toml +1 -1
- osc_sdk_python-0.41.0/tests/__init__.py +1 -0
- osc_sdk_python-0.41.0/tests/integration_utils.py +80 -0
- osc_sdk_python-0.41.0/tests/test_eim_user.py +42 -0
- osc_sdk_python-0.41.0/tests/test_keypair.py +29 -0
- osc_sdk_python-0.41.0/tests/test_load_balancer_backend.py +124 -0
- osc_sdk_python-0.41.0/tests/test_net_subnet.py +63 -0
- osc_sdk_python-0.41.0/tests/test_security_group.py +74 -0
- osc_sdk_python-0.41.0/tests/test_snapshot.py +97 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tests/test_vm.py +0 -2
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tests/test_volume.py +0 -2
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/uv.lock +7 -7
- osc_sdk_python-0.39.2/osc_sdk_python/VERSION +0 -1
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/release.yml +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.github/renovate.json5 +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/.gitignore +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/CODE_OF_CONDUCT.md +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/CONTRIBUTING.md +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/LICENSE +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/MANIFEST.in +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/Makefile +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/docs/examples.md +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/docs/troubleshooting.md +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/local-tests.sh +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/__init__.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/authentication.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/limiter.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/outscale_gateway.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/problem.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/requester.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/resources/gateway_errors.yaml +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/retry.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/osc_sdk_python/version.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/shell.nix +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tests/test_exceptions.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tests/test_exceptions_500.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tests/test_limiter.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tests/test_log.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tests/test_manual_aksk.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tests/test_net.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tests/test_password.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tests/test_problems.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tests/test_retry.py +0 -0
- {osc_sdk_python-0.39.2 → osc_sdk_python-0.41.0}/tox.ini +0 -0
|
@@ -4,7 +4,7 @@ runs:
|
|
|
4
4
|
using: composite
|
|
5
5
|
steps:
|
|
6
6
|
- name: ⬇️ Install uv
|
|
7
|
-
uses: astral-sh/setup-uv@
|
|
7
|
+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
|
|
8
8
|
- name: ⬇️ Setup Python
|
|
9
9
|
run: uv python install
|
|
10
10
|
shell: bash
|
|
@@ -17,10 +17,10 @@ jobs:
|
|
|
17
17
|
environment: auto-build
|
|
18
18
|
runs-on: ubuntu-24.04
|
|
19
19
|
steps:
|
|
20
|
-
- uses: actions/checkout@
|
|
20
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
21
21
|
- uses: chainguard-dev/actions/setup-gitsign@main
|
|
22
22
|
- name: Install uv
|
|
23
|
-
uses: astral-sh/setup-uv@
|
|
23
|
+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
|
|
24
24
|
- name: Set up Python
|
|
25
25
|
run: uv python install
|
|
26
26
|
- name: Build release
|
|
@@ -30,7 +30,7 @@ jobs:
|
|
|
30
30
|
run: |
|
|
31
31
|
echo "sdk_version=$(cat osc_sdk_python/VERSION)" >> "$GITHUB_OUTPUT"
|
|
32
32
|
- name: Create Pull Request
|
|
33
|
-
uses: peter-evans/create-pull-request@v8.1.
|
|
33
|
+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
34
34
|
with:
|
|
35
35
|
committer: "Outscale Bot <opensource+bot@outscale.com>"
|
|
36
36
|
author: "Outscale Bot <opensource+bot@outscale.com>"
|
|
@@ -39,6 +39,7 @@ jobs:
|
|
|
39
39
|
Automatic build of SDK v${{ env.sdk_version }} version based on Outscale API ${{ env.api_version }}.
|
|
40
40
|
title: "SDK v${{ env.sdk_version }}"
|
|
41
41
|
token: "${{ env.token }}"
|
|
42
|
+
labels: "kind/feature"
|
|
42
43
|
env:
|
|
43
44
|
sdk_version: ${{ steps.get-sdk-version.outputs.sdk_version }}
|
|
44
45
|
api_version: ${{ github.event.inputs.api_version }}
|
|
@@ -21,7 +21,7 @@ jobs:
|
|
|
21
21
|
secret_key: ${{ secrets.OSC_SECRET_KEY }}
|
|
22
22
|
region: ${{ secrets.OSC_REGION }}
|
|
23
23
|
- name: ⬇️ Checkout repository
|
|
24
|
-
uses: actions/checkout@
|
|
24
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
25
25
|
- name: Setup toolchain
|
|
26
26
|
uses: ./.github/actions/setup-test
|
|
27
27
|
- name: 🧪 Run integration tests
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
runs-on: ubuntu-24.04
|
|
14
14
|
steps:
|
|
15
15
|
- name: ⬇️ Checkout repository
|
|
16
|
-
uses: actions/checkout@
|
|
16
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
17
17
|
- name: Setup toolchain
|
|
18
18
|
uses: ./.github/actions/setup-test
|
|
19
19
|
- name: Run integration tests
|
|
@@ -26,18 +26,18 @@ jobs:
|
|
|
26
26
|
|
|
27
27
|
steps:
|
|
28
28
|
- name: Checkout
|
|
29
|
-
uses: actions/checkout@
|
|
29
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
30
30
|
|
|
31
31
|
- name: Initialize CodeQL
|
|
32
|
-
uses: github/codeql-action/init@
|
|
32
|
+
uses: github/codeql-action/init@e46ed2cbd01164d986452f91f178727624ae40d7 # v4
|
|
33
33
|
with:
|
|
34
34
|
languages: ${{ matrix.language }}
|
|
35
35
|
queries: +security-and-quality
|
|
36
36
|
|
|
37
37
|
- name: Autobuild
|
|
38
|
-
uses: github/codeql-action/autobuild@
|
|
38
|
+
uses: github/codeql-action/autobuild@e46ed2cbd01164d986452f91f178727624ae40d7 # v4
|
|
39
39
|
|
|
40
40
|
- name: Perform CodeQL Analysis
|
|
41
|
-
uses: github/codeql-action/analyze@
|
|
41
|
+
uses: github/codeql-action/analyze@e46ed2cbd01164d986452f91f178727624ae40d7 # v4
|
|
42
42
|
with:
|
|
43
43
|
category: "/language:${{ matrix.language }}"
|
|
@@ -11,7 +11,7 @@ jobs:
|
|
|
11
11
|
cred-scan:
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
15
15
|
- name: Scan credentials
|
|
16
16
|
uses: outscale/cred-scan@main
|
|
17
17
|
with:
|
|
@@ -11,7 +11,7 @@ jobs:
|
|
|
11
11
|
github-sanity-scan:
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
13
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
14
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
15
15
|
- name: Github sanity scanner
|
|
16
16
|
uses: outscale/github-sanity-scan@main
|
|
17
17
|
with:
|
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
runs-on: ubuntu-24.04
|
|
14
14
|
environment: publish
|
|
15
15
|
steps:
|
|
16
|
-
- uses: actions/checkout@
|
|
16
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
17
17
|
- name: Setup toolchain
|
|
18
18
|
uses: ./.github/actions/setup-test
|
|
19
19
|
- name: Build & Push packages
|
|
@@ -9,7 +9,7 @@ jobs:
|
|
|
9
9
|
sync:
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
steps:
|
|
12
|
-
- uses: EndBug/label-sync@v2
|
|
12
|
+
- uses: EndBug/label-sync@52074158190acb45f3077f9099fea818aa43f97a # v2
|
|
13
13
|
with:
|
|
14
14
|
config-file: 'https://raw.githubusercontent.com/outscale/.github/main/labels.yml'
|
|
15
15
|
# delete-other-labels: false # set to true for strict sync
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: osc_sdk_python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.41.0
|
|
4
4
|
Summary: Outscale Gateway python SDK
|
|
5
5
|
Project-URL: Homepage, https://github.com/outscale/osc-sdk-python
|
|
6
6
|
Author-email: Outscal SAS <opensource@outscale.com>
|
|
@@ -99,7 +99,7 @@ make package
|
|
|
99
99
|
Then install the built wheel:
|
|
100
100
|
|
|
101
101
|
```bash
|
|
102
|
-
pip install dist/osc_sdk_python-0.
|
|
102
|
+
pip install dist/osc_sdk_python-0.41.0-py3-none-any.whl
|
|
103
103
|
```
|
|
104
104
|
|
|
105
105
|
---
|
|
@@ -158,7 +158,6 @@ Example:
|
|
|
158
158
|
|
|
159
159
|
Notes:
|
|
160
160
|
|
|
161
|
-
* If `~/.osc/config.json` is not found, `~/.oapi_credentials` will be used as a fallback.
|
|
162
161
|
* Environment variables have priority over credentials files.
|
|
163
162
|
|
|
164
163
|
### Basic Authentication
|
|
@@ -77,7 +77,7 @@ make package
|
|
|
77
77
|
Then install the built wheel:
|
|
78
78
|
|
|
79
79
|
```bash
|
|
80
|
-
pip install dist/osc_sdk_python-0.
|
|
80
|
+
pip install dist/osc_sdk_python-0.41.0-py3-none-any.whl
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
---
|
|
@@ -136,7 +136,6 @@ Example:
|
|
|
136
136
|
|
|
137
137
|
Notes:
|
|
138
138
|
|
|
139
|
-
* If `~/.osc/config.json` is not found, `~/.oapi_credentials` will be used as a fallback.
|
|
140
139
|
* Environment variables have priority over credentials files.
|
|
141
140
|
|
|
142
141
|
### Basic Authentication
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.41.0
|