Merge pull request #1658 from l0b0/fix/color-operations

This commit is contained in:
Phillip Cloud 2024-05-25 09:03:15 -04:00 committed by GitHub
commit cd4e2b3685
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 113 additions and 0 deletions

View file

@ -3886,6 +3886,7 @@
"setuptools"
],
"color-operations": [
"cython_0",
"setuptools"
],
"colorama": [

View file

@ -0,0 +1,9 @@
{ poetry2nix, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
projectDir = ./.;
};
in
runCommand "color-operations-test" { } ''
${env}/bin/python -c 'import color_operations; print(color_operations.__version__)' > $out
''

89
tests/color-operations/poetry.lock generated Normal file
View file

@ -0,0 +1,89 @@
# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand.
[[package]]
name = "color-operations"
version = "0.1.3"
description = "Apply basic color-oriented image operations."
optional = false
python-versions = ">=3.8"
files = [
{file = "color-operations-0.1.3.tar.gz", hash = "sha256:2090d367102301fb01d0edf9558be95c3998bb4cb14bb56228288feaa968d8af"},
{file = "color_operations-0.1.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:5f4396ec7c12551680715295c9d9bf603cdcbf2757acce932af718913bce688d"},
{file = "color_operations-0.1.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:cfbe363558cc7271c8db8caaeb24eef152736c24f00c572d59d50ce172bbc2b7"},
{file = "color_operations-0.1.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5bf40c07642b8186c89b0f3081fd381a96d037c6a72e45858e0080460bda28c8"},
{file = "color_operations-0.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:71ad0ebea90a201972241fc6ed315f2c76e274b81dc943691f0d2ed0f8796dc3"},
{file = "color_operations-0.1.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e4be960ef295cc062d5e95aed1edd16f04e9e2d9ce9351edcf08807fe71b3971"},
{file = "color_operations-0.1.3-cp310-cp310-win_amd64.whl", hash = "sha256:208cb006629786311eeb5430e9eee2e2add598940c2821dd8a2c470bd3dce030"},
{file = "color_operations-0.1.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:2bc146a636469c61130f4d69b93908a3d5486e3a67e53759880c79b5d484c6af"},
{file = "color_operations-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b346f5b4d48b4c38f1858aabbe58b3e7959b342398a0ee274b3bbea535204177"},
{file = "color_operations-0.1.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f2c70089cb9dd16997510beb2d378931fd6fc1b0f83d9314c777601405bdfb00"},
{file = "color_operations-0.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c9640086e14a6b03f4463ac072ff5e8d2236e9b1d6f1f2318e42bf619ed43a01"},
{file = "color_operations-0.1.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:595ddc7c3df6e19d913226d94d249c2dcef86f829ad233609f0b884514846732"},
{file = "color_operations-0.1.3-cp311-cp311-win_amd64.whl", hash = "sha256:44a1aa41b8e4610888a3e246e49c13391a4e2cd62efa503b687ba76c2e677378"},
{file = "color_operations-0.1.3-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:875e8d95c0cae3d3d98e4a10dbbb20714866a1391157c7180b3b232b236bf603"},
{file = "color_operations-0.1.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:d36f1e4e8749aa38d1c580f38ae659faf64ebd01e148a7ddc437f282517ce8f9"},
{file = "color_operations-0.1.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:174414303ee514da8a6b22e2acfde03a2483be9b97279e87050306cb6b72d6b8"},
{file = "color_operations-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b1ec48b652aa57c7a3dc390374d0e5fa28ca17f1749516e5bde7f44e20363b03"},
{file = "color_operations-0.1.3-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4eb4b8f7ebdd1130716ba673435d76fb0b345c1905af6f6bb2d2327131d84fc9"},
{file = "color_operations-0.1.3-cp312-cp312-win_amd64.whl", hash = "sha256:a0063579a09cc93ea2e33aad5918201c483b357224ad7b715a4c9ecaf9f517a5"},
{file = "color_operations-0.1.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:d6ad94f8d247fbdd15141370a4efca384f8f7c014a0dedd74b1f0b8237577a30"},
{file = "color_operations-0.1.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:653932afa506e8075525479a008a675d6f7306eb3359780a8106447ea9712df8"},
{file = "color_operations-0.1.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:44c6667fe686a9b952eb3f91097fbb47a9549296acdf5057a51e47b1261fd282"},
{file = "color_operations-0.1.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9d618f93cbbfa6500bd26499ab6868d5d28275bbf437b7c95e60fdc8c61a1d1b"},
{file = "color_operations-0.1.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:340a8d172855d5a070c06d39cbc74c7b887b17f80eb3f75f5a1723e89180fa64"},
{file = "color_operations-0.1.3-cp38-cp38-win_amd64.whl", hash = "sha256:14a514a088476ace0c1ca1c1a30a626848444f876f88cc41efc164e16d4a7c65"},
{file = "color_operations-0.1.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:cf2c4bcb9edcd3f57ad7e69d572fe9570fa2818632a886c18336f2baa6f562a4"},
{file = "color_operations-0.1.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a0b344112f56af96590b4981f81d32bf10041b98a1c398304ce5417d742df381"},
{file = "color_operations-0.1.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:2b4b5ff8d4ad141c86f3ea3a80824c0962e59c3084cc69fec626b7b4cd1e6d7c"},
{file = "color_operations-0.1.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b66b069452d74c6630e30ae9146a4bb2bf4ef517b0907ab7df325b3ad9d60167"},
{file = "color_operations-0.1.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:01ec708dfe58e2de6e0393d2c9de393172198c8409e664fb06e5dd082833b95f"},
{file = "color_operations-0.1.3-cp39-cp39-win_amd64.whl", hash = "sha256:18e07ee6d36584ae5f16b75998c2d5859e5c8979f17a0f333e50a1656b37b263"},
]
[package.dependencies]
numpy = "*"
[package.extras]
test = ["colormath (==2.0.2)", "pytest", "pytest-cov"]
[[package]]
name = "numpy"
version = "1.24.4"
description = "Fundamental package for array computing in Python"
optional = false
python-versions = ">=3.8"
files = [
{file = "numpy-1.24.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c0bfb52d2169d58c1cdb8cc1f16989101639b34c7d3ce60ed70b19c63eba0b64"},
{file = "numpy-1.24.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ed094d4f0c177b1b8e7aa9cba7d6ceed51c0e569a5318ac0ca9a090680a6a1b1"},
{file = "numpy-1.24.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:79fc682a374c4a8ed08b331bef9c5f582585d1048fa6d80bc6c35bc384eee9b4"},
{file = "numpy-1.24.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7ffe43c74893dbf38c2b0a1f5428760a1a9c98285553c89e12d70a96a7f3a4d6"},
{file = "numpy-1.24.4-cp310-cp310-win32.whl", hash = "sha256:4c21decb6ea94057331e111a5bed9a79d335658c27ce2adb580fb4d54f2ad9bc"},
{file = "numpy-1.24.4-cp310-cp310-win_amd64.whl", hash = "sha256:b4bea75e47d9586d31e892a7401f76e909712a0fd510f58f5337bea9572c571e"},
{file = "numpy-1.24.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f136bab9c2cfd8da131132c2cf6cc27331dd6fae65f95f69dcd4ae3c3639c810"},
{file = "numpy-1.24.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e2926dac25b313635e4d6cf4dc4e51c8c0ebfed60b801c799ffc4c32bf3d1254"},
{file = "numpy-1.24.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:222e40d0e2548690405b0b3c7b21d1169117391c2e82c378467ef9ab4c8f0da7"},
{file = "numpy-1.24.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7215847ce88a85ce39baf9e89070cb860c98fdddacbaa6c0da3ffb31b3350bd5"},
{file = "numpy-1.24.4-cp311-cp311-win32.whl", hash = "sha256:4979217d7de511a8d57f4b4b5b2b965f707768440c17cb70fbf254c4b225238d"},
{file = "numpy-1.24.4-cp311-cp311-win_amd64.whl", hash = "sha256:b7b1fc9864d7d39e28f41d089bfd6353cb5f27ecd9905348c24187a768c79694"},
{file = "numpy-1.24.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1452241c290f3e2a312c137a9999cdbf63f78864d63c79039bda65ee86943f61"},
{file = "numpy-1.24.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:04640dab83f7c6c85abf9cd729c5b65f1ebd0ccf9de90b270cd61935eef0197f"},
{file = "numpy-1.24.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a5425b114831d1e77e4b5d812b69d11d962e104095a5b9c3b641a218abcc050e"},
{file = "numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd80e219fd4c71fc3699fc1dadac5dcf4fd882bfc6f7ec53d30fa197b8ee22dc"},
{file = "numpy-1.24.4-cp38-cp38-win32.whl", hash = "sha256:4602244f345453db537be5314d3983dbf5834a9701b7723ec28923e2889e0bb2"},
{file = "numpy-1.24.4-cp38-cp38-win_amd64.whl", hash = "sha256:692f2e0f55794943c5bfff12b3f56f99af76f902fc47487bdfe97856de51a706"},
{file = "numpy-1.24.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:2541312fbf09977f3b3ad449c4e5f4bb55d0dbf79226d7724211acc905049400"},
{file = "numpy-1.24.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:9667575fb6d13c95f1b36aca12c5ee3356bf001b714fc354eb5465ce1609e62f"},
{file = "numpy-1.24.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f3a86ed21e4f87050382c7bc96571755193c4c1392490744ac73d660e8f564a9"},
{file = "numpy-1.24.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d11efb4dbecbdf22508d55e48d9c8384db795e1b7b51ea735289ff96613ff74d"},
{file = "numpy-1.24.4-cp39-cp39-win32.whl", hash = "sha256:6620c0acd41dbcb368610bb2f4d83145674040025e5536954782467100aa8835"},
{file = "numpy-1.24.4-cp39-cp39-win_amd64.whl", hash = "sha256:befe2bf740fd8373cf56149a5c23a0f601e82869598d41f8e188a0e9869926f8"},
{file = "numpy-1.24.4-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:31f13e25b4e304632a4619d0e0777662c2ffea99fcae2029556b17d8ff958aef"},
{file = "numpy-1.24.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:95f7ac6540e95bc440ad77f56e520da5bf877f87dca58bd095288dce8940532a"},
{file = "numpy-1.24.4-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:e98f220aa76ca2a977fe435f5b04d7b3470c0a2e6312907b37ba6068f26787f2"},
{file = "numpy-1.24.4.tar.gz", hash = "sha256:80f5e3a4e498641401868df4208b74581206afbee7cf7b8329daae82676d9463"},
]
[metadata]
lock-version = "2.0"
python-versions = "^3.8"
content-hash = "e405106c9c56e99a101344175b1fd68f5543fc21732eec6a128dcbc1ab1db088"

View file

@ -0,0 +1,13 @@
[tool.poetry]
name = "test_color_operations"
version = "0.1.0"
description = ""
authors = []
[tool.poetry.dependencies]
python = "^3.8" # Based on https://pypi.org/project/color-operations/
color-operations = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

View file

@ -58,6 +58,7 @@ in
blinker-1_6_2 = callTest ./blinker-1_6_2 { };
blinker = callTest ./blinker { };
bcrypt = callTest ./bcrypt { };
color-operations = callTest ./color-operations { };
mk-poetry-packages = callTest ./mk-poetry-packages { };
mailchimp3 = callTest ./mailchimp3 { };
markupsafe2 = callTest ./markupsafe2 { };