Skip to content

Commit eed1dba

Browse files
committed
Fix requests issue with docker sdkm update mariadb tests
Signed-off-by: Jan Dittrich <[email protected]>
1 parent 2c207d0 commit eed1dba

File tree

6 files changed

+25
-31
lines changed

6 files changed

+25
-31
lines changed

.devcontainer/devcontainer.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
// https://github.com/microsoft/vscode-dev-containers/tree/v0.202.5/containers/python-3
33
{
44
"name": "Python 3",
5-
"runArgs": ["--init"],
5+
"runArgs": [
6+
"--init"
7+
],
68
"build": {
79
"dockerfile": "Dockerfile",
810
"context": "..",
@@ -15,12 +17,11 @@
1517
"NODE_VERSION": "none"
1618
}
1719
},
18-
1920
// Set *default* container specific settings.json values on container create.
2021
"customizations": {
2122
"vscode": {
2223
"settings": {
23-
"editor.formatOnSave":true,
24+
"editor.formatOnSave": true,
2425
"python.pythonPath": "/usr/local/bin/python",
2526
"python.languageServer": "Pylance",
2627
"python.linting.enabled": true,
@@ -46,16 +47,13 @@
4647
],
4748
}
4849
},
49-
50-
5150
// Use 'forwardPorts' to make a list of ports inside the container available locally.
5251
// "forwardPorts": [],
53-
5452
// Use 'postCreateCommand' to run commands after the container is created.
5553
"postCreateCommand": "pip-sync",
56-
5754
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
5855
"features": {
5956
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
60-
}
61-
}
57+
},
58+
"remoteUser": "root"
59+
}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- Updated dependencies
1515
- Use upstream apt repository of postgresql instead of the debian one.
1616
- Switch from debian bullseye to debian bookworm
17+
- Switch from python 3.9 to python 3.12
1718

1819
### Removed
1920

requirements.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
docker~=6.1
1+
docker~=7.1
22
humanize~=4.9
3-
requests~=2.31
3+
requests~=2.32
44
pyaescrypt~=6.1
55
croniter~=2.0
66
tempora~=5.5

requirements.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ croniter==2.0.5
1414
# via -r requirements.in
1515
cryptography==42.0.7
1616
# via pyaescrypt
17-
docker==6.1.3
17+
docker==7.1.0
1818
# via -r requirements.in
1919
humanize==4.9.0
2020
# via -r requirements.in
@@ -24,8 +24,6 @@ jaraco-functools==4.0.1
2424
# via tempora
2525
more-itertools==10.2.0
2626
# via jaraco-functools
27-
packaging==24.0
28-
# via docker
2927
pyaescrypt==6.1.1
3028
# via -r requirements.in
3129
pycparser==2.22
@@ -48,5 +46,3 @@ urllib3==2.2.1
4846
# via
4947
# docker
5048
# requests
51-
websocket-client==1.8.0
52-
# via docker

tests/all.docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
db-encrypt-compress:
3-
image: docker.io/mariadb:10.10
3+
image: docker.io/mariadb:11.14 # current LTS
44
environment:
55
MARIADB_ROOT_PASSWORD: secret
66
labels:

tests/mariadb.docker-compose.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
x-mariadb:
2-
&x-mariadb
1+
x-mariadb: &x-mariadb
32
environment:
43
MARIADB_ROOT_PASSWORD: secret
54
labels:
@@ -10,10 +9,6 @@ x-mariadb:
109
services:
1110
# All currently supported versions. See https://endoflife.date/mariadb
1211

13-
docker-database-backup-mariadb-10-3:
14-
<<: *x-mariadb
15-
image: docker.io/mariadb:10.3
16-
1712
docker-database-backup-mariadb-10-4:
1813
<<: *x-mariadb
1914
image: docker.io/mariadb:10.4
@@ -26,18 +21,22 @@ services:
2621
<<: *x-mariadb
2722
image: docker.io/mariadb:10.6
2823

29-
docker-database-backup-mariadb-10-7:
24+
docker-database-backup-mariadb-10-11:
25+
<<: *x-mariadb
26+
image: docker.io/mariadb:10.11
27+
28+
docker-database-backup-mariadb-11-1:
3029
<<: *x-mariadb
31-
image: docker.io/mariadb:10.7
30+
image: docker.io/mariadb:11.1
3231

33-
docker-database-backup-mariadb-10-8:
32+
docker-database-backup-mariadb-11-2:
3433
<<: *x-mariadb
35-
image: docker.io/mariadb:10.8
34+
image: docker.io/mariadb:11.2
3635

37-
docker-database-backup-mariadb-10-9:
36+
docker-database-backup-mariadb-11-3:
3837
<<: *x-mariadb
39-
image: docker.io/mariadb:10.9
38+
image: docker.io/mariadb:11.3
4039

41-
docker-database-backup-mariadb-10-10:
40+
docker-database-backup-mariadb-11-4:
4241
<<: *x-mariadb
43-
image: docker.io/mariadb:10.10
42+
image: docker.io/mariadb:11.4

0 commit comments

Comments
 (0)