Loading .gitlab-ci.yml +9 −1 Original line number Diff line number Diff line Loading @@ -12,6 +12,14 @@ include: # Python template - component: "gitlab.com/$TBC_NAMESPACE/python/gitlab-ci-python@6.6" inputs: image: "registry.hub.docker.com/library/python:3.11" image: "registry.hub.docker.com/library/python:3.12" package-enabled: true sbom-disabled: true test-help-cmd: image: name: $DOCKER_SNAPSHOT_IMAGE entrypoint: [""] stage: package-test script: - tbc-check --help Dockerfile +6 −4 Original line number Diff line number Diff line FROM registry.hub.docker.com/library/python:3.11-slim-buster FROM registry.hub.docker.com/library/python:3.12-alpine ENV PORT=80 WORKDIR /code COPY ./dist/*.whl /code/ RUN apt-get -y update && apt-get -y upgrade \ && rm -rf /var/lib/apt/lists/* \ RUN apk upgrade --no-cache \ && pip install --no-cache-dir /code/*.whl ENTRYPOINT [ "tbc-check" ] Loading poetry.lock +208 −275 File changed.Preview size limit exceeded, changes collapsed. Show changes pyproject.toml +5 −5 Original line number Diff line number Diff line Loading @@ -5,10 +5,10 @@ description = "to-be-continuous checker CLI tool" authors = ["Pierre Smeyers <pierre.smeyers@gmail.com>"] license = "LGPL" readme = "README.md" packages = [{include = "tbc"}] packages = [{include = "tbc_check"}] [tool.poetry.dependencies] python = "^3.10" python = "^3.11" pyyaml = "^6.0.1" pydantic = "^2.4.2" Loading @@ -17,7 +17,7 @@ requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.poetry.scripts] tbc-check = "tbc.checker:run" tbc-check = "tbc_check.checker:run" [tool.poetry.group.dev.dependencies] # new development dependencies can be added with 'poetry add -D yyy' Loading @@ -39,13 +39,13 @@ testpaths = [ # this project uses "Black" as code formatter # see: https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#usage line-length = 88 target-version = ['py310'] target-version = ['py312'] include = '\.pyi?$' [tool.mypy] # this project uses "mypy" as a static type checker # see: https://mypy.readthedocs.io/en/stable/config_file.html python_version = 3.10 python_version = "3.12" warn_return_any = true warn_unused_configs = true disallow_untyped_defs = true Loading tbc/__init__.py→tbc_check/__init__.py +0 −0 File moved. Loading
.gitlab-ci.yml +9 −1 Original line number Diff line number Diff line Loading @@ -12,6 +12,14 @@ include: # Python template - component: "gitlab.com/$TBC_NAMESPACE/python/gitlab-ci-python@6.6" inputs: image: "registry.hub.docker.com/library/python:3.11" image: "registry.hub.docker.com/library/python:3.12" package-enabled: true sbom-disabled: true test-help-cmd: image: name: $DOCKER_SNAPSHOT_IMAGE entrypoint: [""] stage: package-test script: - tbc-check --help
Dockerfile +6 −4 Original line number Diff line number Diff line FROM registry.hub.docker.com/library/python:3.11-slim-buster FROM registry.hub.docker.com/library/python:3.12-alpine ENV PORT=80 WORKDIR /code COPY ./dist/*.whl /code/ RUN apt-get -y update && apt-get -y upgrade \ && rm -rf /var/lib/apt/lists/* \ RUN apk upgrade --no-cache \ && pip install --no-cache-dir /code/*.whl ENTRYPOINT [ "tbc-check" ] Loading
pyproject.toml +5 −5 Original line number Diff line number Diff line Loading @@ -5,10 +5,10 @@ description = "to-be-continuous checker CLI tool" authors = ["Pierre Smeyers <pierre.smeyers@gmail.com>"] license = "LGPL" readme = "README.md" packages = [{include = "tbc"}] packages = [{include = "tbc_check"}] [tool.poetry.dependencies] python = "^3.10" python = "^3.11" pyyaml = "^6.0.1" pydantic = "^2.4.2" Loading @@ -17,7 +17,7 @@ requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.poetry.scripts] tbc-check = "tbc.checker:run" tbc-check = "tbc_check.checker:run" [tool.poetry.group.dev.dependencies] # new development dependencies can be added with 'poetry add -D yyy' Loading @@ -39,13 +39,13 @@ testpaths = [ # this project uses "Black" as code formatter # see: https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#usage line-length = 88 target-version = ['py310'] target-version = ['py312'] include = '\.pyi?$' [tool.mypy] # this project uses "mypy" as a static type checker # see: https://mypy.readthedocs.io/en/stable/config_file.html python_version = 3.10 python_version = "3.12" warn_return_any = true warn_unused_configs = true disallow_untyped_defs = true Loading