Bump Python version to 3.8 in the mk-poetry-packages test

This commit is contained in:
sireliah 2021-03-12 12:53:39 +01:00
parent 3c651c6455
commit 55ae3ee9c6
No known key found for this signature in database
GPG key ID: DC3990B77E67C595
3 changed files with 5 additions and 5 deletions

View file

@ -1,9 +1,9 @@
{ lib, poetry2nix, python38 }: { lib, poetry2nix, python3 }:
let let
inherit (builtins) elem map; inherit (builtins) elem map;
drv = poetry2nix.mkPoetryPackages { drv = poetry2nix.mkPoetryPackages {
projectDir = ./.; projectDir = ./.;
python = python38; python = python3;
}; };
packageNames = map (package: package.pname) drv.poetryPackages; packageNames = map (package: package.pname) drv.poetryPackages;
in in

View file

@ -55,8 +55,8 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"]
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = "^3.7" python-versions = "^3.8"
content-hash = "90aad50b58fecb5c614871cf7e4cecc70c09e06d669300e65510f7299ed21d30" content-hash = "c7b0119ca233bd369221338d4e3bd93bfe7ed46cd9c788ddccc23908d1a25c28"
[metadata.files] [metadata.files]
certifi = [ certifi = [

View file

@ -5,7 +5,7 @@ description = ""
authors = ["Your Name <you@example.com>"] authors = ["Your Name <you@example.com>"]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.7" python = "^3.8"
requests = "^2.25.1" requests = "^2.25.1"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]