Skip to content

Commit 937cc4d

Browse files
committed
freeze deps
1 parent 3a8b1dc commit 937cc4d

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

sparrow_patterns/dependencies/templates/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dev =
1515
jupyter
1616
pytest
1717
pytest-cov
18+
uv
1819

1920
[options.entry_points]
2021
console_scripts =

sparrow_patterns/dockerfile/templates/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% if gpu %}FROM nvidia/cuda:11.3.1-cudnn8-runtime-ubuntu20.04{% else %}FROM python:3.9{% endif %}
1+
{% if gpu %}FROM nvidia/cuda:11.3.1-cudnn8-runtime-ubuntu20.04{% else %}FROM python:3.12{% endif %}
22

33
ARG USER=dev
44
ARG USER_UID=1000

sparrow_patterns/makefile/templates/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ publish: branchify
4242
twine upload dist/* --username $(PYPI_USERNAME) --password $(PYPI_PASSWORD)
4343
git checkout -- setup.cfg
4444
rm -rf dist
45+
46+
.PHONY: freeze
47+
freeze:
48+
uv pip compile -q -o requirements.txt setup.cfg
49+
uv pip compile -q --extra dev -o requirements-dev.txt setup.cfg

sparrow_patterns/project.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ def project(
3939
author_email=author_email,
4040
project_directory=project_dir_string,
4141
)
42-
devcontainer(
43-
project_name,
44-
gpu=gpu,
45-
project_directory=project_dir_string,
46-
)
4742
dockerfile(
4843
project_name,
4944
gpu=gpu,

0 commit comments

Comments
 (0)