switch to python 3.11

This commit is contained in:
Jeffrey C. Ollie 2023-10-30 13:59:27 -05:00
parent e1cb272606
commit 6b0a4f7b9c
Signed by: jeff
GPG key ID: 6F86035A6D97044E
3 changed files with 9 additions and 7 deletions

View file

@ -29,9 +29,10 @@
}; };
in { in {
packages.hostapps = pkgs.poetry2nix.mkPoetryApplication { packages.hostapps = pkgs.poetry2nix.mkPoetryApplication {
python = pkgs.python312; python = pkgs.python311;
projectDir = ./.; projectDir = ./.;
propagatedBuildInputs = [ propagatedBuildInputs = [
pkgs.inetutils
pkgs.openssh pkgs.openssh
pkgs.sshpass pkgs.sshpass
]; ];
@ -49,9 +50,10 @@
make-shell { make-shell {
packages = [ packages = [
python python
pkgs.inetutils
pkgs.openssh pkgs.openssh
pkgs.sshpass
pkgs.poetry pkgs.poetry
pkgs.sshpass
]; ];
env = { env = {
NIX_PROJECT = project; NIX_PROJECT = project;

8
poetry.lock generated
View file

@ -294,7 +294,7 @@ name = "pyansi"
version = "0.1.0" version = "0.1.0"
description = "" description = ""
optional = false optional = false
python-versions = "^3.12" python-versions = "^3.11"
files = [] files = []
develop = false develop = false
@ -302,7 +302,7 @@ develop = false
type = "git" type = "git"
url = "https://git.ocjtech.us/jeff/pyansi" url = "https://git.ocjtech.us/jeff/pyansi"
reference = "HEAD" reference = "HEAD"
resolved_reference = "56344910a117616e5ec185b20ab52f6ca27e489f" resolved_reference = "58bbd979c319534b145c26938cc511bc67d8dd6e"
[[package]] [[package]]
name = "pycodestyle" name = "pycodestyle"
@ -529,5 +529,5 @@ zstd = ["zstandard (>=0.18.0)"]
[metadata] [metadata]
lock-version = "2.0" lock-version = "2.0"
python-versions = "^3.12" python-versions = "^3.11"
content-hash = "13c6be6781483164da7fa4a8f25256ea0b1c625fc43ef8c7649728fadb4f504e" content-hash = "2d06966ec1ddefe7a4f702a51528bb21612209b0f6d31ca23e7fd6969000c34a"

View file

@ -5,7 +5,7 @@ description = ""
authors = ["Jeffrey C. Ollie <jeff@ocjtech.us>"] authors = ["Jeffrey C. Ollie <jeff@ocjtech.us>"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.12" python = "^3.11"
pynetbox = "^7.2.0" pynetbox = "^7.2.0"
click = "^8.1.7" click = "^8.1.7"
pydantic = "^2.4.2" pydantic = "^2.4.2"