Skip to content

Commit 4219e0a

Browse files
authored
Merge pull request #41 from stackitcloud/patchday-march
chore(deps): Patchday march
2 parents 9f136c4 + 101ed53 commit 4219e0a

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
lines changed

CODEOWNERS

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
* patrick.koss@mail.schwarz marius.galm@mail.schwarz simon.stier@mail.schwarz
1+
* marius.galm@digits.schwarz
2+
* simon.stier@digits.schwarz
3+
* florian.sandel@digits.schwarz
4+
* Ondrej.Behavka@digits.schwarz
5+
* Johannes.Moritz@digits.schwarz
6+
* Andreas.Turtschan@digits.schwarz
7+
* niklas.burchhardt@digits.schwarz

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ setup-venv:
1717

1818
.PHONY: venv
1919
venv: setup-venv
20-
$(VENV_PATH)/bin/pip install -e .
20+
$(VENV_PATH)/bin/pip install -e ".[dev]"
2121

2222
.PHONY: build
2323
build: venv

certbot_dns_stackit/stackit.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,10 @@ def _generate_jwt(self, credentials: ServiceFileCredentials) -> str:
363363
}
364364
headers = {"kid": credentials["kid"]}
365365
return jwt.encode(
366-
payload, credentials["privateKey"], algorithm="RS512", headers=headers # nosemgrep "privateKey" is just the key for the dictionary
366+
payload,
367+
credentials["privateKey"],
368+
algorithm="RS512",
369+
headers=headers, # nosemgrep "privateKey" is just the key for the dictionary
367370
)
368371

369372
def _request_access_token(self, jwt_token: str) -> str:

setup.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
"certbot>=2.6.0",
1010
"setuptools",
1111
"requests",
12+
"click>=8.3.1",
13+
"PyJWT>=2.11.0"
14+
]
15+
16+
dev_requires = [
1217
"mock",
1318
"requests-mock",
1419
"mypy",
@@ -18,12 +23,9 @@
1823
"flake8",
1924
"pydocstyle",
2025
"black",
21-
"click==8.3.1",
2226
"coverage",
23-
"PyJWT==2.11.0"
2427
]
2528

26-
# read the contents of your README file
2729
from os import path
2830

2931
this_directory = path.abspath(path.dirname(__file__))
@@ -57,6 +59,9 @@
5759
"Programming Language :: Python :: 3.9",
5860
"Programming Language :: Python :: 3.10",
5961
"Programming Language :: Python :: 3.11",
62+
"Programming Language :: Python :: 3.12",
63+
"Programming Language :: Python :: 3.13",
64+
"Programming Language :: Python :: 3.14",
6065
"Topic :: Internet :: WWW/HTTP",
6166
"Topic :: Security",
6267
"Topic :: System :: Installation/Setup",
@@ -67,6 +72,9 @@
6772
packages=find_packages(),
6873
include_package_data=True,
6974
install_requires=install_requires,
75+
extras_require={
76+
"dev": dev_requires,
77+
},
7078
entry_points={
7179
"certbot.plugins": ["dns-stackit = certbot_dns_stackit.stackit:Authenticator"]
7280
},

0 commit comments

Comments
 (0)