Skip to content

Commit

Permalink
Merge pull request #1377 from apeschar/overrides-mailchimp3
Browse files Browse the repository at this point in the history
overrides: add mailchimp3, pytest-redis
  • Loading branch information
cpcloud authored Oct 28, 2023
2 parents 38955c3 + 3c12390 commit e8edb1e
Show file tree
Hide file tree
Showing 8 changed files with 438 additions and 0 deletions.
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"

0 comments on commit e8edb1e

Please sign in to comment.