Skip to content

Commit

Permalink
Test Python 3.12 container
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmueller committed Jan 8, 2024
1 parent c16859e commit bf3d3a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bci_tester/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,10 +448,15 @@ def create_BCI(
)
PYTHON311_CONTAINER = create_BCI(build_tag="bci/python:3.11")

PYTHON312_CONTAINER = create_BCI(
build_tag="bci/python:3.12", available_versions=["15.6"]
)

PYTHON_CONTAINERS = [
PYTHON36_CONTAINER,
PYTHON310_CONTAINER,
PYTHON311_CONTAINER,
PYTHON312_CONTAINER,
]

RUBY_25_CONTAINER = create_BCI(
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ markers = [
'postgres_16',
'python_3.10',
'python_3.11',
'python_3.12',
'python_3.6',
'registry_2.8',
'ruby_2.5',
Expand Down
2 changes: 2 additions & 0 deletions tests/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
from bci_tester.data import POSTGRESQL_CONTAINERS
from bci_tester.data import PYTHON310_CONTAINER
from bci_tester.data import PYTHON311_CONTAINER
from bci_tester.data import PYTHON312_CONTAINER
from bci_tester.data import PYTHON36_CONTAINER
from bci_tester.data import RUBY_25_CONTAINER
from bci_tester.data import RUBY_32_CONTAINER
Expand Down Expand Up @@ -135,6 +136,7 @@ def _get_container_label_prefix(
(PYTHON36_CONTAINER, "python", ImageType.LANGUAGE_STACK),
(PYTHON310_CONTAINER, "python", ImageType.LANGUAGE_STACK),
(PYTHON311_CONTAINER, "python", ImageType.LANGUAGE_STACK),
(PYTHON312_CONTAINER, "python", ImageType.LANGUAGE_STACK),
(RUBY_25_CONTAINER, "ruby", ImageType.LANGUAGE_STACK),
(RUBY_32_CONTAINER, "ruby", ImageType.LANGUAGE_STACK),
(INIT_CONTAINER, "init", ImageType.OS),
Expand Down

0 comments on commit bf3d3a0

Please sign in to comment.