Skip to content

Commit 00be067

Browse files
authored
chore: update deps (#188)
* chore: update deps * feat: remove custom cmd * chore: bump deps * feat: assign to var * disable again
1 parent 9894286 commit 00be067

File tree

6 files changed

+570
-1085
lines changed

6 files changed

+570
-1085
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
- id: mixed-line-ending
1212
- id: trailing-whitespace
1313
- repo: https://github.com/charliermarsh/ruff-pre-commit
14-
rev: v0.8.2
14+
rev: v0.8.4
1515
hooks:
1616
- id: ruff
1717
args:

nixpacks.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ providers = ['python', 'node'] # force python as the only provider, otherwise ra
55
# set up some variables to minimize annoyance
66
[variables]
77
LITESTAR_SKIP_NODEENV_INSTALL = 'true' # skip using nodeenv. nix handles that for us.
8-
NIXPACKS_UV_VERSION = '0.5.10' # set uv version to install
8+
NIXPACKS_UV_VERSION = '0.5.11' # set uv version to install
99
NIXPACKS_PYTHON_VERSION = '3.12' # set python version to install
1010
NPM_CONFIG_FUND = 'false' # the fund notification is is also pretty useless in a production environment
1111
NPM_CONFIG_UPDATE_NOTIFIER = 'false' # the node update notification is relatively useless in a production environment
@@ -14,9 +14,9 @@ PIP_DISABLE_PIP_VERSION_CHECK = '1' # the pip update notification is relative
1414
nixPkgs = ['...'] # add nodejs since it is needed to build the frontend
1515

1616
[phases.install]
17-
cmds = [
18-
'python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -U mypy cython setuptools uv==NIXPACKS_UV_VERSION && uv sync --frozen --no-dev',
19-
] # custom install command allows for setting uv version above
17+
# cmds = [
18+
# 'python -m venv --copies /opt/venv && . /opt/venv/bin/activate && pip install -U mypy cython setuptools uv==$NIXPACKS_UV_VERSION && uv sync --frozen --no-dev',
19+
# ] # custom install command allows for setting uv version above
2020

2121
[start]
2222
cmd = '/opt/venv/bin/app database upgrade --no-prompt && /opt/venv/bin/app run --wc 2 --host 0.0.0.0 --port $PORT'

0 commit comments

Comments
 (0)