Skip to content

Commit

Permalink
Merge pull request #1795 from l0b0/argon2-cffi-bindings-python-3-12
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored Oct 10, 2024
2 parents c45b7c6 + 1d4f7f5 commit 39439be
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/argon2-cffi-bindings-python-3-12/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ poetry2nix, python312, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
projectDir = ./.;
python = python312;
};
in
runCommand "argon2-cffi-bindings-python-3-12-test" { } ''
${env}/bin/python -c 'import _cffi_backend as backend; print(backend.__version__)' > $out
''
133 changes: 133 additions & 0 deletions tests/argon2-cffi-bindings-python-3-12/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions tests/argon2-cffi-bindings-python-3-12/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[tool.poetry]
name = "test_argon2_cffi_bindings_python_3_12"
version = "0.1.0"
description = ""
authors = []

[tool.poetry.dependencies]
python = "^3.12"
argon2-cffi-bindings = "*"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
1 change: 1 addition & 0 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ in
soundfile = callTest ./soundfile { };
pyogrio = callTest ./pyogrio { };
dask-dataframe = callTest ./dask-dataframe { };
argon2-cffi-bindings-python-3-12 = callTest ./argon2-cffi-bindings-python-3-12 { };
} // lib.optionalAttrs (!stdenv.isDarwin) {
# Editable tests fails on Darwin because of sandbox paths
pep600 = callTest ./pep600 { };
Expand Down

0 comments on commit 39439be

Please sign in to comment.