Skip to content

Commit

Permalink
test: add sqlalchemy2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Sep 5, 2023
1 parent 4e02899 commit e0d5e2e
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ in
assorted-pkgs = callTest ./assorted-pkgs { };
watchfiles = callTest ./watchfiles { };
sqlalchemy = callTest ./sqlalchemy { };
sqlalchemy2 = callTest ./sqlalchemy2 { };
tzlocal = callTest ./tzlocal { };

ml-stack = callTest ./ml-stack { };
Expand Down Expand Up @@ -153,7 +154,6 @@ in
rpds-py-no-wheel = callTest ./rpds-py-no-wheel { };
contourpy-wheel = callTest ./contourpy-wheel { };
contourpy-no-wheel = callTest ./contourpy-no-wheel { };

} // lib.optionalAttrs (!stdenv.isDarwin) {
# pyqt5 = (callTest ./pyqt5 { });

Expand Down
8 changes: 8 additions & 0 deletions tests/sqlalchemy2/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{ lib, poetry2nix, python310 }:

poetry2nix.mkPoetryApplication {
python = python310;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
src = lib.cleanSource ./.;
}
172 changes: 172 additions & 0 deletions tests/sqlalchemy2/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/sqlalchemy2/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[tool.poetry]
name = "sqlalchemy2-build"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.10"
sqlalchemy = "^2"

[build-system]
requires = ["poetry-core>=1.5"]
build-backend = "poetry.core.masonry.api"
Empty file.

0 comments on commit e0d5e2e

Please sign in to comment.