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 {
packages.hostapps = pkgs.poetry2nix.mkPoetryApplication {
python = pkgs.python312;
python = pkgs.python311;
projectDir = ./.;
propagatedBuildInputs = [
pkgs.inetutils
pkgs.openssh
pkgs.sshpass
];
@ -49,9 +50,10 @@
make-shell {
packages = [
python
pkgs.inetutils
pkgs.openssh
pkgs.sshpass
pkgs.poetry
pkgs.sshpass
];
env = {
NIX_PROJECT = project;

8
poetry.lock generated
View file

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

View file

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