Skip to content

Commit 583763e

Browse files
committed
Update
1 parent 6580d27 commit 583763e

File tree

3 files changed

+98
-100
lines changed

3 files changed

+98
-100
lines changed

pyproject.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "A template for developing production-ready Python applications."
99
authors = [
1010
{ name = "Miguel Villa Floran", email = "[email protected]" },
1111
]
12-
requires-python = ">=3.12,<3.13"
12+
requires-python = ">=3.11,<3.14"
1313
readme = "README.md"
1414
license = { file = "LICENSE" }
1515

@@ -23,12 +23,7 @@ core = { workspace = true }
2323
members = ["shared/*", "src/*"]
2424

2525
[dependency-groups]
26-
dev = [
27-
"pre-commit>=4.1.0",
28-
"ipykernel>=6.29.5",
29-
"pytest>=8.3.2",
30-
"pytest-cov>=6.0.0",
31-
]
26+
dev = ["pre-commit", "ipykernel", "pytest", "pytest-cov"]
3227

3328
[tool.hatch.metadata]
3429
allow-direct-references = true

shell.nix

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,21 @@
22
pkgs ? import <nixpkgs> { },
33
}:
44

5+
let
6+
python = pkgs.python312;
7+
in
58
pkgs.mkShell {
69
buildInputs = with pkgs; [
7-
python312 # Python 3.12
8-
uv # Python package manager
9-
nixfmt # Nix formatter
10-
just # Just
11-
stdenv.cc.cc.lib # C++ standard library
10+
python
11+
uv
12+
nixfmt
13+
just
1214
];
1315

1416
# Shell hook to set up environment
1517
shellHook = ''
1618
export TMPDIR=/tmp
17-
export UV_PYTHON="${pkgs.python312}/bin/python"
18-
export LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH"
19+
export UV_PYTHON="${python}/bin/python"
1920
just install
2021
'';
2122
}

0 commit comments

Comments
 (0)