File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[tool .black ]
22line-length = 100
3- target_version = [' py310 ' ]
3+ target_version = [' py312 ' ]
44include = ' \.pyi?$'
55exclude = '''
66(
Original file line number Diff line number Diff line change 1- pandas == 1.4.2
2- python-dateutil == 2.8.1
1+ pandas == 2.2.3
2+ python-dateutil == 2.9.0.post0
Original file line number Diff line number Diff line change 1- pre-commit==2.19.0
2- pytest~=7.1.2
3- pytest-describe~=1.0
4- pytest-mock~=3.3
5- pytest-spec~=3.0
6- pytest-cov==4.0.0
7- approvaltests==5.3.0
1+ pytest~=8.3.5
2+ pytest-describe~=2.2.0
3+ pytest-mock~=3.14.1
4+ pytest-spec~=4.0.0
5+ pytest-cov==6.1.1
6+ approvaltests==14.5.0
87pytest-approvaltests==0.2.4
Original file line number Diff line number Diff line change 66# or use direnv and echo 'use nix' >> .envrc to automatically
77# use nix-shell whenever you enter into the project
88#
9- # Report issues on slack #tech-help-nix
9+ # Report issues on slack #tech-help-nixex
1010let
1111 nixpkgs = builtins . fetchTarball {
12- name = "nixos-23.05-20230814 " ;
13- url = "https://github.com/NixOS/nixpkgs/archive/720e61ed8de1 .tar.gz" ;
14- sha256 = "0ii10wmm8hqdp7bii7iza58rjaqs4z3ivv71qyix3qawwxx48hw9 " ;
12+ name = "nixos-24.11-20250513 " ;
13+ url = "https://github.com/NixOS/nixpkgs/archive/a39ed32a651f .tar.gz" ;
14+ sha256 = "16pw0f94nr3j91z0wm4ndjm44xfd238vcdkg07s2l74znkaavnwk " ;
1515 } ;
1616 pkgs = import nixpkgs { } ;
1717
1818 systemDependencies = [
19- pkgs . python310
20- pkgs . postgresql_12 # libpq is not available, see https://github.com/NixOS/nixpkgs/issues/61580
19+ pkgs . python312
2120 ] ;
2221
2322in pkgs . mkShell {
2423 buildInputs = [
25- pkgs . python310
26- pkgs . postgresql_12
24+ pkgs . python312
2725 pkgs . openssl # macOS default SSL libraries are binary incompatible
2826 ] ;
2927
@@ -35,7 +33,7 @@ in pkgs.mkShell {
3533
3634 # because nixpkgs may not always contain packages hosted on pypi,
3735 # we instead rely on a local virtualenv dir for python packages
38- KPLER_VENV_DIR="$KPLER_PROJECT_DIR/.venv/py310 "
36+ KPLER_VENV_DIR="$KPLER_PROJECT_DIR/.venv"
3937 python -m venv $KPLER_VENV_DIR
4038 PATH="$KPLER_VENV_DIR/bin:$PATH"
4139 # Add source root to python path
You can’t perform that action at this time.
0 commit comments