Skip to content

Commit

Permalink
Update nix env to latest channel and Python to 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
zupo committed Mar 23, 2023
1 parent 0c38ece commit c39928b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ concurrency:

jobs:

test_310:
name: "Python 3.10 Tests"
test_311:
name: "Python 3.11 Tests"

runs-on: ubuntu-22.04

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ flake8-debugger = "*"
flake8-deprecated = "*"
flake8-docstrings = "*"
flake8-ensure-ascii = "*"
flake8-mutable = "*"
flake8-plone-hasattr = "*"
flake8-print = "*"
flake8-self = "*"
Expand Down
14 changes: 7 additions & 7 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
let
nixpkgs = builtins.fetchTarball {
# https://github.com/NixOS/nixpkgs/tree/nixos-22.11 on 2022-11-29
url = "https://github.com/nixos/nixpkgs/archive/ce5fe99df1f15a09a91a86be9738d68fadfbad82.tar.gz";
sha256 = "1zqyq7v1gxrg2b7zizf4npask4vqbs4s7khwffxafgm20gxngb6a";
# https://github.com/NixOS/nixpkgs/tree/nixos-22.11 on 2023-03-23
url = "https://github.com/nixos/nixpkgs/archive/9ef6e7727f4c31507627815d4f8679c5841efb00.tar.gz";
sha256 = "0w2r5cfrpqmjmjy8azllrbgr5d92if87i9ybgvpk6din4w79ibal";
};
poetry2nixsrc = builtins.fetchTarball {
# https://github.com/nix-community/poetry2nix/commits/master on 2022-11-29
url = "https://github.com/nix-community/poetry2nix/archive/ce8425ccc2884c1065927a38d1700024f431cf0f.tar.gz";
sha256 = "07x48abw18qfxdmsz8hdd762vj8n5l2syh9xm40v851bhidbjswc";
# https://github.com/nix-community/poetry2nix/commits/master on 2023-03-23
url = "https://github.com/nix-community/poetry2nix/archive/50ec694c27a12bc178fff961c4dd927fa6a47f18.tar.gz";
sha256 = "1s596k78sbzjmh5l7rzaf27f97r87dia1zyxkadir5s8vvjvw4ya";
};

# Fix for installing PasteDeploy from https://github.com/nix-community/poetry2nix/issues/750
Expand All @@ -30,7 +30,7 @@ let
};

devEnv = poetry2nix.mkPoetryEnv ({
python = pkgs.python310;
python = pkgs.python311;
projectDir = ./.;
editablePackageSources = {
pyramid_openapi3 = ./.;
Expand Down

0 comments on commit c39928b

Please sign in to comment.