Skip to content

Commit d7e3f65

Browse files
Merge branch 'main' into feat/STACKITSDK-226-post-process-patch-file
2 parents 0f7059d + b0ea040 commit d7e3f65

6 files changed

Lines changed: 11 additions & 13 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
strategy:
4747
matrix:
4848
os: [ubuntu-latest, macos-latest]
49-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
49+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]
5050
runs-on: ${{ matrix.os }}
5151
steps:
5252
- name: Install Java

languages/golang/blocklist.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Transitional file to disable generation for selected services
22
featuretoggle
3-
functions
43
functionsregistry
54
notebooks
65
pim

languages/python/blocklist.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ workflows
44
openstack
55
notebooks
66
functionsregistry
7-
functions
87
pim
98
smokeapi
109
support

languages/python/templates/exceptions.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class ApiTypeError(OpenApiException, TypeError):
3636
full_msg = msg
3737
if path_to_item:
3838
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
39-
super(ApiTypeError, self).__init__(full_msg, path_to_item, valid_classes, key_type)
39+
super(ApiTypeError, self).__init__(full_msg)
4040

4141

4242
class ApiValueError(OpenApiException, ValueError):
@@ -54,7 +54,7 @@ class ApiValueError(OpenApiException, ValueError):
5454
full_msg = msg
5555
if path_to_item:
5656
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
57-
super(ApiValueError, self).__init__(full_msg, path_to_item)
57+
super(ApiValueError, self).__init__(full_msg)
5858

5959

6060
class ApiAttributeError(OpenApiException, AttributeError):
@@ -73,7 +73,7 @@ class ApiAttributeError(OpenApiException, AttributeError):
7373
full_msg = msg
7474
if path_to_item:
7575
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
76-
super(ApiAttributeError, self).__init__(full_msg, path_to_item)
76+
super(ApiAttributeError, self).__init__(full_msg)
7777

7878

7979
class ApiKeyError(OpenApiException, KeyError):
@@ -90,7 +90,7 @@ class ApiKeyError(OpenApiException, KeyError):
9090
full_msg = msg
9191
if path_to_item:
9292
full_msg = "{0} at {1}".format(msg, render_path(path_to_item))
93-
super(ApiKeyError, self).__init__(full_msg, path_to_item)
93+
super(ApiKeyError, self).__init__(full_msg)
9494

9595

9696
class ApiException(OpenApiException):

languages/python/templates/pyproject.mustache

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ name = "{{{pythonPackageName}}}"
33
version = "v0.0.1a"
44
description = "{{{appName}}}"
55
authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}]
6-
requires-python = ">=3.9,<4.0"
6+
requires-python = ">=3.10,<4.0"
77
readme = "README.md"
88
classifiers = [
99
"Programming Language :: Python :: 3",
1010
"License :: OSI Approved :: Apache Software License",
1111
"Operating System :: OS Independent",
12-
"Programming Language :: Python :: 3.9",
1312
"Programming Language :: Python :: 3.10",
1413
"Programming Language :: Python :: 3.11",
1514
"Programming Language :: Python :: 3.12",
1615
"Programming Language :: Python :: 3.13",
1716
"Programming Language :: Python :: 3.14",
17+
"Programming Language :: Python :: 3.15",
1818
]
1919
dependencies = [
2020
"stackit-core>=0.0.1a",
21-
"requests>=2.32.3",
21+
"requests>=2.33.0",
2222
"pydantic>=2.9.2",
2323
"python-dateutil>=2.9.0.post0",
2424
]
@@ -29,8 +29,8 @@ Issues = "https://github.com/{{{gitUserId}}}/{{{gitRepoId}}}/issues"
2929

3030
[dependency-groups]
3131
dev = [
32-
"black>=24.8.0",
33-
"pytest>=8.3.3",
32+
"black>=26.3.1",
33+
"pytest>=9.1.1",
3434
"flake8>=5.0.3 ; python_full_version < '3.12'",
3535
"flake8>=6.0.1 ; python_full_version >= '3.12'",
3636
"flake8-black>=0.3.6",

scripts/generate-sdk/languages/python.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ generate_python_sdk() {
192192
# Run formatter
193193
isort .
194194
autoimport --ignore-init-modules .
195-
black .
195+
uv run black --config pyproject.toml .
196196

197197
done
198198

0 commit comments

Comments
 (0)