Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenner committed Feb 16, 2025
1 parent c1df809 commit 537b4ee
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12.9
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
FROM python:3.12-bookworm AS builder

# Dockerfile that builds the InvenioRDM Starter Docker image. Based on the following:
# - https://medium.com/@albertazzir/blazing-fast-python-docker-builds-with-poetry-a78a66f5aed0
# - https://pythonspeed.com/articles/smaller-python-docker-images/
# - https://pythonspeed.com/articles/multi-stage-docker-python/
# Dockerfile that builds the InvenioRDM Starter Docker image.

ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US:en
Expand All @@ -15,15 +12,15 @@ RUN --mount=type=cache,sharing=locked,target=/var/cache/apt \

# Install Node.js
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && apt-get clean
apt-get install -y nodejs --no-install-recommends && apt-get clean

# Install uv and activate virtualenv
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN uv venv /opt/invenio/.venv

# Use the virtual environment automatically
ENV VIRTUAL_ENV=/opt/invenio/.venv \
UV_PROJECT_ENVIRONMENT=/opt/invenio/.venv \
# Place entry points in the environment at the front of the path
PATH="/opt/invenio/.venv/bin:$PATH" \
WORKING_DIR=/opt/invenio \
PYTHONDONTWRITEBYTECODE=1 \
Expand Down Expand Up @@ -57,6 +54,9 @@ RUN --mount=type=cache,target=/var/cache/assets invenio collect --verbose && inv

FROM python:3.12-slim-bookworm AS runtime

ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US:en

# Install OS package dependencies
RUN --mount=type=cache,sharing=locked,target=/var/cache/apt apt-get update -y --fix-missing && \
apt-get install apt-utils gpg libcairo2 debian-keyring debian-archive-keyring apt-transport-https curl -y --no-install-recommends && \
Expand Down
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "invenio-rdm-starter"
version = "12.0.13"
description = "Starter for the turn-key research data management repository"
version = "12.0.13.3"
description = "Starter for the invenio-rdm turn-key research data management repository"
authors = [
{ name = "Martin Fenner", email = "[email protected]" }
]
Expand All @@ -17,10 +17,13 @@ dependencies = [
"commonmeta-py>=0.8.6",
]

[tool.hatch.build.targets.wheel]
packages = ["./site"]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.ruff]
line-length = 79
include = ["pyproject.toml", "src/**/*.py"]
include = ["pyproject.toml", "site/**/*.py"]
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 537b4ee

Please sign in to comment.