Skip to content

Commit

Permalink
fix: Bump the baseimages group across 1 directory with 2 updates for …
Browse files Browse the repository at this point in the history
…Python 3.12 (#616)

* chore: Bump the baseimages group across 1 directory with 2 updates

Bumps the baseimages group with 2 updates in the / directory: [radiorabe/s2i-python](https://github.com/radiorabe/container-image-rabe-s2i-python-minimal) and [radiorabe/python-minimal](https://github.com/radiorabe/container-image-python-minimal).


Updates `radiorabe/s2i-python` from 2.2.6 to 3.1.0
- [Release notes](https://github.com/radiorabe/container-image-rabe-s2i-python-minimal/releases)
- [Commits](radiorabe/container-image-rabe-s2i-python-minimal@v2.2.6...v3.1.0)

Updates `radiorabe/python-minimal` from 2.2.3 to 3.1.0
- [Release notes](https://github.com/radiorabe/container-image-python-minimal/releases)
- [Commits](radiorabe/container-image-python-minimal@v2.2.3...v3.1.0)

---
updated-dependencies:
- dependency-name: radiorabe/s2i-python
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: baseimages
- dependency-name: radiorabe/python-minimal
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: baseimages
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: Align deps

* chore: Update poetry lock

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lucas <[email protected]>
  • Loading branch information
dependabot[bot] and hairmare authored Nov 24, 2024
1 parent fbaab8f commit 9373356
Show file tree
Hide file tree
Showing 5 changed files with 633 additions and 592 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
rev: v0.8.0
hooks:
- id: ruff
args: ['--fix']
Expand Down
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
FROM ghcr.io/radiorabe/s2i-python:2.2.6 AS build
FROM ghcr.io/radiorabe/s2i-python:3.1.0 AS build

COPY --chown=1001:0 ./ /opt/app-root/src/

RUN python3.11 -m build .
RUN python3.12 -m build .


FROM ghcr.io/radiorabe/python-minimal:2.2.3 AS app
FROM ghcr.io/radiorabe/python-minimal:3.1.0 AS app

COPY --from=build /opt/app-root/src/dist/*.whl /tmp/dist/

RUN microdnf install -y \
python3.11-pip \
python3.12-pip \
&& python -mpip --no-cache-dir install /tmp/dist/*.whl \
&& microdnf remove -y \
python3.11-pip \
python3.11-setuptools \
python3.12-pip \
python3.12-setuptools \
&& microdnf clean all \
&& rm -rf /tmp/dist/

Expand Down
7 changes: 4 additions & 3 deletions docs/gen_ref_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
with mkdocs_gen_files.open("reference/SUMMARY.md", "w") as nav_file:
nav_file.writelines(nav.build_literate_nav())

with Path("README.md").open("r") as readme, mkdocs_gen_files.open(
"index.md", "w"
) as index_file:
with (
Path("README.md").open("r") as readme,
mkdocs_gen_files.open("index.md", "w") as index_file,
):
index_file.writelines(readme.read())
Loading

0 comments on commit 9373356

Please sign in to comment.