Skip to content

Commit 9ee2ee1

Browse files
committed
Bump packages, clean up uv commands
1 parent 4db504d commit 9ee2ee1

6 files changed

Lines changed: 1714 additions & 1250 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Python ${{ env.PYTHON_VERSION }}
2525
run: uv python install ${{ env.PYTHON_VERSION }}
2626
- name: Install lint dependencies
27-
run: uv sync --only-group lint --frozen
27+
run: uv sync --only-group lint --locked
2828
- name: Lint
2929
run: make check
3030

@@ -52,7 +52,7 @@ jobs:
5252
- name: Install dependencies and run core tests
5353
run: |
5454
sudo apt-get update && sudo apt-get install --yes poppler-utils libreoffice
55-
uv sync --group test --frozen
55+
uv sync --group test --locked
5656
make install-pandoc
5757
make install-nltk-models
5858
sudo add-apt-repository -y ppa:alex-p/tesseract-ocr5
@@ -114,6 +114,6 @@ jobs:
114114
df -h
115115
- name: Test Dockerfile
116116
run: |
117-
uv sync --group test --frozen
117+
uv sync --group test --locked
118118
make docker-build
119119
make docker-test

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- name: Set up Python ${{ env.PYTHON_VERSION }}
8484
run: uv python install ${{ env.PYTHON_VERSION }}
8585
- name: Install test dependencies
86-
run: uv sync --group test --frozen
86+
run: uv sync --group test --locked
8787
- name: Test image
8888
run: |
8989
export DOCKER_IMAGE="$DOCKER_BUILD_REPOSITORY:${{ matrix.arch }}-$SHORT_SHA"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ ENV UV_PROJECT_ENVIRONMENT="${HOME}/.local"
6161

6262
COPY --chown=${NB_USER}:${NB_USER} pyproject.toml pyproject.toml
6363
COPY --chown=${NB_USER}:${NB_USER} uv.lock uv.lock
64-
RUN uv sync --no-dev --no-install-project --frozen
64+
RUN uv sync --no-dev --no-install-project --locked
6565

6666
ARG PANDOC_VERSION="3.9"
6767
RUN ARCH=$(uname -m) && \

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ install: install-base install-test
2121

2222
.PHONY: install-base-packages
2323
install-base-packages:
24-
uv sync --no-dev --frozen
24+
uv sync --no-dev --locked
2525

2626
.PHONY: install-test
2727
install-test:
28-
uv sync --group test --frozen
28+
uv sync --group test --locked
2929

3030
.PHONY: install-nltk-models
3131
install-nltk-models:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.1.1" # pragma: no cover
1+
__version__ = "0.1.2" # pragma: no cover

0 commit comments

Comments
 (0)