Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overrides: add mailchimp3, pytest-redis #1377

Merged
merged 3 commits into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions overrides/build-systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -9903,6 +9903,9 @@
"mailchimp": [
"setuptools"
],
"mailchimp3": [
"setuptools"
],
"mailmanclient": [
"setuptools"
],
Expand Down Expand Up @@ -15966,6 +15969,9 @@
"pytest-recording": [
"hatchling"
],
"pytest-redis": [
"setuptools"
],
"pytest-regressions": [
"setuptools",
"setuptools-scm"
Expand Down
2 changes: 2 additions & 0 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ in
blinker = callTest ./blinker { };
bcrypt = callTest ./bcrypt { };
mk-poetry-packages = callTest ./mk-poetry-packages { };
mailchimp3 = callTest ./mailchimp3 { };
markupsafe2 = callTest ./markupsafe2 { };
mysqlclient = callTest ./mysqlclient { };
jq = callTest ./jq { };
Expand Down Expand Up @@ -106,6 +107,7 @@ in
jupyter-ydoc = callTest ./jupyter-ydoc { };
mutmut = callTest ./mutmut { };
procrastinate = callTest ./procrastinate { };
pytest-redis = callTest ./pytest-redis { };
rasterio = callTest ./rasterio { };
scientific = callTest ./scientific { };
scipy1_9 = callTest ./scipy1_9 { };
Expand Down
10 changes: 10 additions & 0 deletions tests/mailchimp3/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ poetry2nix, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
projectDir = ./.;
};
in
runCommand "mailchimp3-test" { } ''
${env}/bin/python -c 'import mailchimp3; mailchimp3.MailChimp'
touch $out
''
185 changes: 185 additions & 0 deletions tests/mailchimp3/poetry.lock

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions tests/mailchimp3/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[tool.poetry]
name = "mailchimp3-test"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.10"
mailchimp3 = "*"

[build-system]
requires = ["poetry-core>=1.1"]
build-backend = "poetry.core.masonry.api"
10 changes: 10 additions & 0 deletions tests/pytest-redis/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ poetry2nix, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
projectDir = ./.;
};
in
runCommand "pytest-redis-test" { } ''
${env}/bin/python -c 'import pytest_redis'
touch $out
''
198 changes: 198 additions & 0 deletions tests/pytest-redis/poetry.lock

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

14 changes: 14 additions & 0 deletions tests/pytest-redis/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[tool.poetry]
name = "pytest-redis-test"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.10"
pytest-redis = "*"
psutil = "5.9.5"

[build-system]
requires = ["poetry-core>=1.1"]
build-backend = "poetry.core.masonry.api"