Skip to content

Commit

Permalink
Use Python 3.12 in development
Browse files Browse the repository at this point in the history
  • Loading branch information
layday committed Dec 7, 2023
1 parent 0a1b3ac commit ae1127b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ pkgs ? import <nixpkgs> { } }:
let
python = pkgs.python311;
python = pkgs.python312;
venvDir = toString ./venvs + ("/" + python.pythonVersion);
in
pkgs.mkShell {
Expand All @@ -16,13 +16,12 @@ pkgs.mkShell {
VIRTUAL_ENV_DISABLE_PROMPT = "1";
SOURCE_DATE_EPOCH = "315532800"; # The year 1980
PYTHONBREAKPOINT = "IPython.terminal.debugger.set_trace";
PIP_ONLY_BINARY = ":all:";
# PIP_ONLY_BINARY = ":all:";

inherit venvDir;

postVenvCreation = ''
python -m pip install -U pip ipython nox
python -m pip uninstall -y setuptools
python -m pip install -e ".[gui, test]"
'';
}

0 comments on commit ae1127b

Please sign in to comment.