diff --git a/app/tests/images/_custom-0ddf0e0b5de4648b882d2763a4aea1deca14f3d1/_/This_should_not_be_rotated!.c267526a598d75aa7816cc6690545ab7a12847c8.png b/app/tests/images/_custom-0ddf0e0b5de4648b882d2763a4aea1deca14f3d1/_/This_should_not_be_rotated!.c267526a598d75aa7816cc6690545ab7a12847c8.png index 537768b4..a8923a9f 100644 Binary files a/app/tests/images/_custom-0ddf0e0b5de4648b882d2763a4aea1deca14f3d1/_/This_should_not_be_rotated!.c267526a598d75aa7816cc6690545ab7a12847c8.png and b/app/tests/images/_custom-0ddf0e0b5de4648b882d2763a4aea1deca14f3d1/_/This_should_not_be_rotated!.c267526a598d75aa7816cc6690545ab7a12847c8.png differ diff --git a/app/tests/images/_custom-b33b21e00db2e2e7ba2499373f0cca9e0cdb203f/_/My_Custom_Template.c267526a598d75aa7816cc6690545ab7a12847c8.png b/app/tests/images/_custom-b33b21e00db2e2e7ba2499373f0cca9e0cdb203f/_/My_Custom_Template.c267526a598d75aa7816cc6690545ab7a12847c8.png index adccfc50..baad647b 100644 Binary files a/app/tests/images/_custom-b33b21e00db2e2e7ba2499373f0cca9e0cdb203f/_/My_Custom_Template.c267526a598d75aa7816cc6690545ab7a12847c8.png and b/app/tests/images/_custom-b33b21e00db2e2e7ba2499373f0cca9e0cdb203f/_/My_Custom_Template.c267526a598d75aa7816cc6690545ab7a12847c8.png differ diff --git a/app/tests/images/_custom-b33b21e00db2e2e7ba2499373f0cca9e0cdb203f/_/My_Custom_Template.d2e6158e772baf9722a0500ec2f27ee9abe24900.png b/app/tests/images/_custom-b33b21e00db2e2e7ba2499373f0cca9e0cdb203f/_/My_Custom_Template.d2e6158e772baf9722a0500ec2f27ee9abe24900.png deleted file mode 100644 index adccfc50..00000000 Binary files a/app/tests/images/_custom-b33b21e00db2e2e7ba2499373f0cca9e0cdb203f/_/My_Custom_Template.d2e6158e772baf9722a0500ec2f27ee9abe24900.png and /dev/null differ diff --git a/app/tests/images/_error/UNKNOWN_TEMPLATE.54fadab08cf64e6b1f29c346b201e5c472541817.png b/app/tests/images/_error/UNKNOWN_TEMPLATE.54fadab08cf64e6b1f29c346b201e5c472541817.png index 53e4a336..7a695837 100644 Binary files a/app/tests/images/_error/UNKNOWN_TEMPLATE.54fadab08cf64e6b1f29c346b201e5c472541817.png and b/app/tests/images/_error/UNKNOWN_TEMPLATE.54fadab08cf64e6b1f29c346b201e5c472541817.png differ diff --git a/app/tests/images/ds/Push_this_button./Push_that_button./can't_decide_which_is_worse.10a509e0f2f0f95790bfef21838c06af9e805464.png b/app/tests/images/ds/Push_this_button./Push_that_button./can't_decide_which_is_worse.10a509e0f2f0f95790bfef21838c06af9e805464.png index 6f622f50..ffbffeee 100644 Binary files a/app/tests/images/ds/Push_this_button./Push_that_button./can't_decide_which_is_worse.10a509e0f2f0f95790bfef21838c06af9e805464.png and b/app/tests/images/ds/Push_this_button./Push_that_button./can't_decide_which_is_worse.10a509e0f2f0f95790bfef21838c06af9e805464.png differ diff --git a/app/tests/images/ds/one/two/three.337546bff2d3e1c6699e35d208ee13210bfcb5d9.png b/app/tests/images/ds/one/two/three.337546bff2d3e1c6699e35d208ee13210bfcb5d9.png index c0686df7..8811f04c 100644 Binary files a/app/tests/images/ds/one/two/three.337546bff2d3e1c6699e35d208ee13210bfcb5d9.png and b/app/tests/images/ds/one/two/three.337546bff2d3e1c6699e35d208ee13210bfcb5d9.png differ diff --git a/app/tests/images/ds/this_button_seems_to_be_ok_to_push.10a509e0f2f0f95790bfef21838c06af9e805464.png b/app/tests/images/ds/this_button_seems_to_be_ok_to_push.10a509e0f2f0f95790bfef21838c06af9e805464.png index ff334e25..95046ef6 100644 Binary files a/app/tests/images/ds/this_button_seems_to_be_ok_to_push.10a509e0f2f0f95790bfef21838c06af9e805464.png and b/app/tests/images/ds/this_button_seems_to_be_ok_to_push.10a509e0f2f0f95790bfef21838c06af9e805464.png differ diff --git "a/app/tests/images/fine/102_\302\260F/this_is_fine.d823407f303865640763b4eafdaf75eeae5129b5.png" "b/app/tests/images/fine/102_\302\260F/this_is_fine.d823407f303865640763b4eafdaf75eeae5129b5.png" index 87f1b9e4..6345e8b7 100644 Binary files "a/app/tests/images/fine/102_\302\260F/this_is_fine.d823407f303865640763b4eafdaf75eeae5129b5.png" and "b/app/tests/images/fine/102_\302\260F/this_is_fine.d823407f303865640763b4eafdaf75eeae5129b5.png" differ diff --git a/app/tests/images/fine/_/thiiiiiiiiiiiiiiiiiiiiis_will_probably_be_fine_right_now.c267526a598d75aa7816cc6690545ab7a12847c8.png b/app/tests/images/fine/_/thiiiiiiiiiiiiiiiiiiiiis_will_probably_be_fine_right_now.c267526a598d75aa7816cc6690545ab7a12847c8.png index 7a20f701..a86a6cb0 100644 Binary files a/app/tests/images/fine/_/thiiiiiiiiiiiiiiiiiiiiis_will_probably_be_fine_right_now.c267526a598d75aa7816cc6690545ab7a12847c8.png and b/app/tests/images/fine/_/thiiiiiiiiiiiiiiiiiiiiis_will_probably_be_fine_right_now.c267526a598d75aa7816cc6690545ab7a12847c8.png differ diff --git a/app/tests/images/fry/longer_line_of_text_than_the_short_one/short_line.c267526a598d75aa7816cc6690545ab7a12847c8.png b/app/tests/images/fry/longer_line_of_text_than_the_short_one/short_line.c267526a598d75aa7816cc6690545ab7a12847c8.png index 984f8049..3f8282d9 100644 Binary files a/app/tests/images/fry/longer_line_of_text_than_the_short_one/short_line.c267526a598d75aa7816cc6690545ab7a12847c8.png and b/app/tests/images/fry/longer_line_of_text_than_the_short_one/short_line.c267526a598d75aa7816cc6690545ab7a12847c8.png differ diff --git a/app/tests/images/fry/short_line/longer_line_of_text_than_the_short_one.c267526a598d75aa7816cc6690545ab7a12847c8.png b/app/tests/images/fry/short_line/longer_line_of_text_than_the_short_one.c267526a598d75aa7816cc6690545ab7a12847c8.png index 88eb8d17..0784272a 100644 Binary files a/app/tests/images/fry/short_line/longer_line_of_text_than_the_short_one.c267526a598d75aa7816cc6690545ab7a12847c8.png and b/app/tests/images/fry/short_line/longer_line_of_text_than_the_short_one.c267526a598d75aa7816cc6690545ab7a12847c8.png differ diff --git a/app/tests/images/icanhas/Special~q_100~p_~hthese--memes/template__rating:_9~s10.c267526a598d75aa7816cc6690545ab7a12847c8.png b/app/tests/images/icanhas/Special~q_100~p_~hthese--memes/template__rating:_9~s10.c267526a598d75aa7816cc6690545ab7a12847c8.png index 8923b626..ce09a521 100644 Binary files a/app/tests/images/icanhas/Special~q_100~p_~hthese--memes/template__rating:_9~s10.c267526a598d75aa7816cc6690545ab7a12847c8.png and b/app/tests/images/icanhas/Special~q_100~p_~hthese--memes/template__rating:_9~s10.c267526a598d75aa7816cc6690545ab7a12847c8.png differ diff --git a/app/tests/images/icanhas/height=250.6ac59ced55ee4467d844bc3cfe0702a058ea1d57.png b/app/tests/images/icanhas/height=250.6ac59ced55ee4467d844bc3cfe0702a058ea1d57.png index 5f2fcfc1..d63b1119 100644 Binary files a/app/tests/images/icanhas/height=250.6ac59ced55ee4467d844bc3cfe0702a058ea1d57.png and b/app/tests/images/icanhas/height=250.6ac59ced55ee4467d844bc3cfe0702a058ea1d57.png differ diff --git a/app/tests/images/icanhas/height=500.08471cc516e04a9f5c5ed222aa5516929ecfedb4.png b/app/tests/images/icanhas/height=500.08471cc516e04a9f5c5ed222aa5516929ecfedb4.png index 91c485a8..42cee3f4 100644 Binary files a/app/tests/images/icanhas/height=500.08471cc516e04a9f5c5ed222aa5516929ecfedb4.png and b/app/tests/images/icanhas/height=500.08471cc516e04a9f5c5ed222aa5516929ecfedb4.png differ diff --git a/app/tests/images/icanhas/nominal_image/with_watermark.6cbae4e823747863895819bd81db0ff75654bc58.png b/app/tests/images/icanhas/nominal_image/with_watermark.6cbae4e823747863895819bd81db0ff75654bc58.png index 34943bfc..c4a5cce2 100644 Binary files a/app/tests/images/icanhas/nominal_image/with_watermark.6cbae4e823747863895819bd81db0ff75654bc58.png and b/app/tests/images/icanhas/nominal_image/with_watermark.6cbae4e823747863895819bd81db0ff75654bc58.png differ diff --git a/app/tests/images/icanhas/paddded_image/with_watermark.97fb24b48a8d574add0d2ca24c3e8f193e728f54.png b/app/tests/images/icanhas/paddded_image/with_watermark.97fb24b48a8d574add0d2ca24c3e8f193e728f54.png index 52d96218..84a72aa0 100644 Binary files a/app/tests/images/icanhas/paddded_image/with_watermark.97fb24b48a8d574add0d2ca24c3e8f193e728f54.png and b/app/tests/images/icanhas/paddded_image/with_watermark.97fb24b48a8d574add0d2ca24c3e8f193e728f54.png differ diff --git a/app/tests/images/icanhas/small_image/with_watermark_(disabled).e918073cdcd711d6f3c4d191097af0d8c276cf6b.png b/app/tests/images/icanhas/small_image/with_watermark_(disabled).e918073cdcd711d6f3c4d191097af0d8c276cf6b.png index 18fe46ce..81e80ecb 100644 Binary files a/app/tests/images/icanhas/small_image/with_watermark_(disabled).e918073cdcd711d6f3c4d191097af0d8c276cf6b.png and b/app/tests/images/icanhas/small_image/with_watermark_(disabled).e918073cdcd711d6f3c4d191097af0d8c276cf6b.png differ diff --git a/app/tests/images/icanhas/width=2000/height=2000.fe0d51348025a14592b88268c4ac3a201499ef80.png b/app/tests/images/icanhas/width=2000/height=2000.fe0d51348025a14592b88268c4ac3a201499ef80.png index 050bf005..421cd73e 100644 Binary files a/app/tests/images/icanhas/width=2000/height=2000.fe0d51348025a14592b88268c4ac3a201499ef80.png and b/app/tests/images/icanhas/width=2000/height=2000.fe0d51348025a14592b88268c4ac3a201499ef80.png differ diff --git a/app/tests/images/icanhas/width=250.d206385a1fb37783134258f557f9067a5c87ea48.png b/app/tests/images/icanhas/width=250.d206385a1fb37783134258f557f9067a5c87ea48.png index c0ccf166..26562508 100644 Binary files a/app/tests/images/icanhas/width=250.d206385a1fb37783134258f557f9067a5c87ea48.png and b/app/tests/images/icanhas/width=250.d206385a1fb37783134258f557f9067a5c87ea48.png differ diff --git a/app/tests/images/icanhas/width=400/height=600.7cd5d80be13525ca57493186813ab41013b460fc.png b/app/tests/images/icanhas/width=400/height=600.7cd5d80be13525ca57493186813ab41013b460fc.png index 6638419d..7a6a21ca 100644 Binary files a/app/tests/images/icanhas/width=400/height=600.7cd5d80be13525ca57493186813ab41013b460fc.png and b/app/tests/images/icanhas/width=400/height=600.7cd5d80be13525ca57493186813ab41013b460fc.png differ diff --git a/app/tests/images/icanhas/width=50/height=50.1aec4cde925fc4ea8f8552887ed94407dece3276.png b/app/tests/images/icanhas/width=50/height=50.1aec4cde925fc4ea8f8552887ed94407dece3276.png index 5ebb755d..833dc8ef 100644 Binary files a/app/tests/images/icanhas/width=50/height=50.1aec4cde925fc4ea8f8552887ed94407dece3276.png and b/app/tests/images/icanhas/width=50/height=50.1aec4cde925fc4ea8f8552887ed94407dece3276.png differ diff --git a/app/tests/images/icanhas/width=500.ad1b3938829ea7bfba12a0b157367a903c871330.png b/app/tests/images/icanhas/width=500.ad1b3938829ea7bfba12a0b157367a903c871330.png index f5558b9a..f2261e05 100644 Binary files a/app/tests/images/icanhas/width=500.ad1b3938829ea7bfba12a0b157367a903c871330.png and b/app/tests/images/icanhas/width=500.ad1b3938829ea7bfba12a0b157367a903c871330.png differ diff --git a/app/tests/images/icanhas/width=600/height=400.0c21fd26e7afbaf22f9d79335782dcd9c7d15711.png b/app/tests/images/icanhas/width=600/height=400.0c21fd26e7afbaf22f9d79335782dcd9c7d15711.png index 54284242..42023941 100644 Binary files a/app/tests/images/icanhas/width=600/height=400.0c21fd26e7afbaf22f9d79335782dcd9c7d15711.png and b/app/tests/images/icanhas/width=600/height=400.0c21fd26e7afbaf22f9d79335782dcd9c7d15711.png differ diff --git a/app/tests/images/iw/tests_code/in_production.c267526a598d75aa7816cc6690545ab7a12847c8.jpg b/app/tests/images/iw/tests_code/in_production.c267526a598d75aa7816cc6690545ab7a12847c8.jpg index cbfab6d7..73c24502 100644 Binary files a/app/tests/images/iw/tests_code/in_production.c267526a598d75aa7816cc6690545ab7a12847c8.jpg and b/app/tests/images/iw/tests_code/in_production.c267526a598d75aa7816cc6690545ab7a12847c8.jpg differ diff --git a/app/tests/images/iw/tests_code/in_production.c267526a598d75aa7816cc6690545ab7a12847c8.png b/app/tests/images/iw/tests_code/in_production.c267526a598d75aa7816cc6690545ab7a12847c8.png index 32c1b3db..f25fc2af 100644 Binary files a/app/tests/images/iw/tests_code/in_production.c267526a598d75aa7816cc6690545ab7a12847c8.png and b/app/tests/images/iw/tests_code/in_production.c267526a598d75aa7816cc6690545ab7a12847c8.png differ diff --git a/app/tests/images/iw/tests_code/in_production_(debug).c267526a598d75aa7816cc6690545ab7a12847c8.png b/app/tests/images/iw/tests_code/in_production_(debug).c267526a598d75aa7816cc6690545ab7a12847c8.png index 2b38aa85..40976df2 100644 Binary files a/app/tests/images/iw/tests_code/in_production_(debug).c267526a598d75aa7816cc6690545ab7a12847c8.png and b/app/tests/images/iw/tests_code/in_production_(debug).c267526a598d75aa7816cc6690545ab7a12847c8.png differ diff --git a/app/tests/images/pigeon/_/multiple_words_here.9f3d1bd57a554f8c93ac5efeb558a628aaaf6584.png b/app/tests/images/pigeon/_/multiple_words_here.9f3d1bd57a554f8c93ac5efeb558a628aaaf6584.png index 7904f8f3..51f274ca 100644 Binary files a/app/tests/images/pigeon/_/multiple_words_here.9f3d1bd57a554f8c93ac5efeb558a628aaaf6584.png and b/app/tests/images/pigeon/_/multiple_words_here.9f3d1bd57a554f8c93ac5efeb558a628aaaf6584.png differ diff --git a/app/tests/images/preview.jpg b/app/tests/images/preview.jpg index 5a77c389..0726b899 100644 Binary files a/app/tests/images/preview.jpg and b/app/tests/images/preview.jpg differ diff --git a/app/tests/images/ptj/Exit/Exit/the/the/monorepo/monorepo/Exit_the_monorepo./Stop_testing!.d9518421201fd8e92daf5c1ae8ee53912ebcd9db.png b/app/tests/images/ptj/Exit/Exit/the/the/monorepo/monorepo/Exit_the_monorepo./Stop_testing!.d9518421201fd8e92daf5c1ae8ee53912ebcd9db.png index def740cb..3954caa1 100644 Binary files a/app/tests/images/ptj/Exit/Exit/the/the/monorepo/monorepo/Exit_the_monorepo./Stop_testing!.d9518421201fd8e92daf5c1ae8ee53912ebcd9db.png and b/app/tests/images/ptj/Exit/Exit/the/the/monorepo/monorepo/Exit_the_monorepo./Stop_testing!.d9518421201fd8e92daf5c1ae8ee53912ebcd9db.png differ diff --git a/app/tests/images/ptj/_/_/_/_/_/_/Has_a_watermark./Doesn't_have_a_watermark!.29bec8d820bc50be514b0fb41fbc70d249c8332b.png b/app/tests/images/ptj/_/_/_/_/_/_/Has_a_watermark./Doesn't_have_a_watermark!.29bec8d820bc50be514b0fb41fbc70d249c8332b.png index c1c69835..150bbcbc 100644 Binary files a/app/tests/images/ptj/_/_/_/_/_/_/Has_a_watermark./Doesn't_have_a_watermark!.29bec8d820bc50be514b0fb41fbc70d249c8332b.png and b/app/tests/images/ptj/_/_/_/_/_/_/Has_a_watermark./Doesn't_have_a_watermark!.29bec8d820bc50be514b0fb41fbc70d249c8332b.png differ diff --git a/app/tests/images/ski/if_you_try_to_put_a_bunch_more_text_than_can_possibly_fit_on_a_meme/you're_gonna_have_a_bad_time.c267526a598d75aa7816cc6690545ab7a12847c8.png b/app/tests/images/ski/if_you_try_to_put_a_bunch_more_text_than_can_possibly_fit_on_a_meme/you're_gonna_have_a_bad_time.c267526a598d75aa7816cc6690545ab7a12847c8.png index 66847282..8185cfaf 100644 Binary files a/app/tests/images/ski/if_you_try_to_put_a_bunch_more_text_than_can_possibly_fit_on_a_meme/you're_gonna_have_a_bad_time.c267526a598d75aa7816cc6690545ab7a12847c8.png and b/app/tests/images/ski/if_you_try_to_put_a_bunch_more_text_than_can_possibly_fit_on_a_meme/you're_gonna_have_a_bad_time.c267526a598d75aa7816cc6690545ab7a12847c8.png differ diff --git a/app/tests/images/sparta/_/this_is_a_wide_image!.c267526a598d75aa7816cc6690545ab7a12847c8.png b/app/tests/images/sparta/_/this_is_a_wide_image!.c267526a598d75aa7816cc6690545ab7a12847c8.png index 502fc5ef..a8c3b065 100644 Binary files a/app/tests/images/sparta/_/this_is_a_wide_image!.c267526a598d75aa7816cc6690545ab7a12847c8.png and b/app/tests/images/sparta/_/this_is_a_wide_image!.c267526a598d75aa7816cc6690545ab7a12847c8.png differ diff --git a/app/tests/images/spongebob/You:_Stop_talking_like_that/Me:_Stop_talking_like_that.abea544a8b7ea48002649923d478539f1cc5776b.png b/app/tests/images/spongebob/You:_Stop_talking_like_that/Me:_Stop_talking_like_that.abea544a8b7ea48002649923d478539f1cc5776b.png index da15e44c..abaa7648 100644 Binary files a/app/tests/images/spongebob/You:_Stop_talking_like_that/Me:_Stop_talking_like_that.abea544a8b7ea48002649923d478539f1cc5776b.png and b/app/tests/images/spongebob/You:_Stop_talking_like_that/Me:_Stop_talking_like_that.abea544a8b7ea48002649923d478539f1cc5776b.png differ diff --git a/app/tests/images/toohigh/_/the_number_of_sample_memes_is_too_damn_high!.363a8bdf63e34e7398a00dc7d2e6055b635c3f3f.png b/app/tests/images/toohigh/_/the_number_of_sample_memes_is_too_damn_high!.363a8bdf63e34e7398a00dc7d2e6055b635c3f3f.png index 13959af3..fd206d54 100644 Binary files a/app/tests/images/toohigh/_/the_number_of_sample_memes_is_too_damn_high!.363a8bdf63e34e7398a00dc7d2e6055b635c3f3f.png and b/app/tests/images/toohigh/_/the_number_of_sample_memes_is_too_damn_high!.363a8bdf63e34e7398a00dc7d2e6055b635c3f3f.png differ diff --git a/app/tests/test_models.py b/app/tests/test_models.py index b7ba000c..7b579ddb 100644 --- a/app/tests/test_models.py +++ b/app/tests/test_models.py @@ -14,25 +14,26 @@ def describe_template(): def template(): t = Template.objects.get("_test") t.clean() - return t + yield t + t.clean() def describe_str(): def it_includes_the_path(expect, template): expect(str(template)).endswith("/memegen/templates/_test") def describe_valid(): - @pytest.fixture(autouse=True) - def disable_hooks(monkeypatch): + def it_removes_invalid_styles(expect, template, monkeypatch): monkeypatch.setattr(datafiles.settings, "HOOKS_ENABLED", False) - - def it_removes_invalid_styles(expect, template): template.styles = ["default", "sample", "unknown"] with (template.directory / "sample.jpg").open("w") as f: f.write("") log.info(f"{template} valid: {template.valid}") expect(template.styles) == ["default", "sample"] - def it_only_includes_default_style_with_custom_overlay(expect, template): + def it_only_includes_default_style_with_custom_overlay( + expect, template, monkeypatch + ): + monkeypatch.setattr(datafiles.settings, "HOOKS_ENABLED", False) template.styles = [] template.overlay = [Overlay()] log.info(f"{template} valid: {template.valid}") @@ -43,6 +44,7 @@ def it_only_includes_default_style_with_custom_overlay(expect, template): expect(template.styles) == ["default"] def it_skips_cleanup_when_deployed(expect, template, monkeypatch): + monkeypatch.setattr(datafiles.settings, "HOOKS_ENABLED", False) monkeypatch.setattr(settings, "DEPLOYED", True) template.styles = ["anything"] log.info(f"{template} valid: {template.valid}") diff --git a/app/types.py b/app/types.py index 0e6b0c63..0345ec55 100644 --- a/app/types.py +++ b/app/types.py @@ -30,7 +30,7 @@ class Text: @classmethod def get_preview(cls) -> "Text": return cls( - color="#80808085", + color="#80808080", anchor_x=0.075, anchor_y=0.05, angle=10, diff --git a/poetry.lock b/poetry.lock index f34eb90d..a87654aa 100644 --- a/poetry.lock +++ b/poetry.lock @@ -856,7 +856,7 @@ python-versions = "*" [[package]] name = "pillow" -version = "8.1.2" +version = "8.2.0" description = "Python Imaging Library (Fork)" category = "main" optional = false @@ -1458,7 +1458,7 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"] [metadata] lock-version = "1.1" python-versions = "^3.9" -content-hash = "92f76619181e05e9bc70d113205027b1a15fdeff87693d1c8200f33f4046949a" +content-hash = "6418e7d4bb8814fa00ae2107a0b78bd43100483cf2069db3ab164b96457397a5" [metadata.files] aiocache = [ @@ -1843,7 +1843,6 @@ greenlet = [ {file = "greenlet-1.0.0.tar.gz", hash = "sha256:719e169c79255816cdcf6dccd9ed2d089a72a9f6c42273aae12d55e8d35bdcf8"}, ] gunicorn = [ - {file = "gunicorn-20.1.0-py3-none-any.whl", hash = "sha256:9dcc4547dbb1cb284accfb15ab5667a0e5d1881cc443e0677b4882a4067a807e"}, {file = "gunicorn-20.1.0.tar.gz", hash = "sha256:e0a968b5ba15f8a328fdfd7ab1fcb5af4470c28aaf7e55df02a99bc13138e6e8"}, ] h11 = [ @@ -2120,39 +2119,39 @@ pickleshare = [ {file = "pickleshare-0.7.5.tar.gz", hash = "sha256:87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca"}, ] pillow = [ - {file = "Pillow-8.1.2-cp36-cp36m-macosx_10_10_x86_64.whl", hash = "sha256:5cf03b9534aca63b192856aa601c68d0764810857786ea5da652581f3a44c2b0"}, - {file = "Pillow-8.1.2-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:f91b50ad88048d795c0ad004abbe1390aa1882073b1dca10bfd55d0b8cf18ec5"}, - {file = "Pillow-8.1.2-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:5762ebb4436f46b566fc6351d67a9b5386b5e5de4e58fdaa18a1c83e0e20f1a8"}, - {file = "Pillow-8.1.2-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:e2cd8ac157c1e5ae88b6dd790648ee5d2777e76f1e5c7d184eaddb2938594f34"}, - {file = "Pillow-8.1.2-cp36-cp36m-win32.whl", hash = "sha256:72027ebf682abc9bafd93b43edc44279f641e8996fb2945104471419113cfc71"}, - {file = "Pillow-8.1.2-cp36-cp36m-win_amd64.whl", hash = "sha256:d1d6bca39bb6dd94fba23cdb3eeaea5e30c7717c5343004d900e2a63b132c341"}, - {file = "Pillow-8.1.2-cp37-cp37m-macosx_10_10_x86_64.whl", hash = "sha256:90882c6f084ef68b71bba190209a734bf90abb82ab5e8f64444c71d5974008c6"}, - {file = "Pillow-8.1.2-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:89e4c757a91b8c55d97c91fa09c69b3677c227b942fa749e9a66eef602f59c28"}, - {file = "Pillow-8.1.2-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:8c4e32218c764bc27fe49b7328195579581aa419920edcc321c4cb877c65258d"}, - {file = "Pillow-8.1.2-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:a01da2c266d9868c4f91a9c6faf47a251f23b9a862dce81d2ff583135206f5be"}, - {file = "Pillow-8.1.2-cp37-cp37m-win32.whl", hash = "sha256:30d33a1a6400132e6f521640dd3f64578ac9bfb79a619416d7e8802b4ce1dd55"}, - {file = "Pillow-8.1.2-cp37-cp37m-win_amd64.whl", hash = "sha256:71b01ee69e7df527439d7752a2ce8fb89e19a32df484a308eca3e81f673d3a03"}, - {file = "Pillow-8.1.2-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:5a2d957eb4aba9d48170b8fe6538ec1fbc2119ffe6373782c03d8acad3323f2e"}, - {file = "Pillow-8.1.2-cp38-cp38-manylinux1_i686.whl", hash = "sha256:87f42c976f91ca2fc21a3293e25bd3cd895918597db1b95b93cbd949f7d019ce"}, - {file = "Pillow-8.1.2-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:15306d71a1e96d7e271fd2a0737038b5a92ca2978d2e38b6ced7966583e3d5af"}, - {file = "Pillow-8.1.2-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:71f31ee4df3d5e0b366dd362007740106d3210fb6a56ec4b581a5324ba254f06"}, - {file = "Pillow-8.1.2-cp38-cp38-win32.whl", hash = "sha256:98afcac3205d31ab6a10c5006b0cf040d0026a68ec051edd3517b776c1d78b09"}, - {file = "Pillow-8.1.2-cp38-cp38-win_amd64.whl", hash = "sha256:328240f7dddf77783e72d5ed79899a6b48bc6681f8d1f6001f55933cb4905060"}, - {file = "Pillow-8.1.2-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:bead24c0ae3f1f6afcb915a057943ccf65fc755d11a1410a909c1fefb6c06ad1"}, - {file = "Pillow-8.1.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:81b3716cc9744ffdf76b39afb6247eae754186838cedad0b0ac63b2571253fe6"}, - {file = "Pillow-8.1.2-cp39-cp39-manylinux1_i686.whl", hash = "sha256:63cd413ac52ee3f67057223d363f4f82ce966e64906aea046daf46695e3c8238"}, - {file = "Pillow-8.1.2-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:8565355a29655b28fdc2c666fd9a3890fe5edc6639d128814fafecfae2d70910"}, - {file = "Pillow-8.1.2-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:1940fc4d361f9cc7e558d6f56ff38d7351b53052fd7911f4b60cd7bc091ea3b1"}, - {file = "Pillow-8.1.2-cp39-cp39-win32.whl", hash = "sha256:46c2bcf8e1e75d154e78417b3e3c64e96def738c2a25435e74909e127a8cba5e"}, - {file = "Pillow-8.1.2-cp39-cp39-win_amd64.whl", hash = "sha256:aeab4cd016e11e7aa5cfc49dcff8e51561fa64818a0be86efa82c7038e9369d0"}, - {file = "Pillow-8.1.2-pp36-pypy36_pp73-macosx_10_10_x86_64.whl", hash = "sha256:74cd9aa648ed6dd25e572453eb09b08817a1e3d9f8d1bd4d8403d99e42ea790b"}, - {file = "Pillow-8.1.2-pp36-pypy36_pp73-manylinux2010_i686.whl", hash = "sha256:e5739ae63636a52b706a0facec77b2b58e485637e1638202556156e424a02dc2"}, - {file = "Pillow-8.1.2-pp36-pypy36_pp73-manylinux2010_x86_64.whl", hash = "sha256:903293320efe2466c1ab3509a33d6b866dc850cfd0c5d9cc92632014cec185fb"}, - {file = "Pillow-8.1.2-pp37-pypy37_pp73-macosx_10_10_x86_64.whl", hash = "sha256:5daba2b40782c1c5157a788ec4454067c6616f5a0c1b70e26ac326a880c2d328"}, - {file = "Pillow-8.1.2-pp37-pypy37_pp73-manylinux2010_i686.whl", hash = "sha256:1f93f2fe211f1ef75e6f589327f4d4f8545d5c8e826231b042b483d8383e8a7c"}, - {file = "Pillow-8.1.2-pp37-pypy37_pp73-manylinux2010_x86_64.whl", hash = "sha256:6efac40344d8f668b6c4533ae02a48d52fd852ef0654cc6f19f6ac146399c733"}, - {file = "Pillow-8.1.2-pp37-pypy37_pp73-win32.whl", hash = "sha256:f36c3ff63d6fc509ce599a2f5b0d0732189eed653420e7294c039d342c6e204a"}, - {file = "Pillow-8.1.2.tar.gz", hash = "sha256:b07c660e014852d98a00a91adfbe25033898a9d90a8f39beb2437d22a203fc44"}, + {file = "Pillow-8.2.0-cp36-cp36m-macosx_10_10_x86_64.whl", hash = "sha256:dc38f57d8f20f06dd7c3161c59ca2c86893632623f33a42d592f097b00f720a9"}, + {file = "Pillow-8.2.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:a013cbe25d20c2e0c4e85a9daf438f85121a4d0344ddc76e33fd7e3965d9af4b"}, + {file = "Pillow-8.2.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:8bb1e155a74e1bfbacd84555ea62fa21c58e0b4e7e6b20e4447b8d07990ac78b"}, + {file = "Pillow-8.2.0-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:c5236606e8570542ed424849f7852a0ff0bce2c4c8d0ba05cc202a5a9c97dee9"}, + {file = "Pillow-8.2.0-cp36-cp36m-win32.whl", hash = "sha256:12e5e7471f9b637762453da74e390e56cc43e486a88289995c1f4c1dc0bfe727"}, + {file = "Pillow-8.2.0-cp36-cp36m-win_amd64.whl", hash = "sha256:5afe6b237a0b81bd54b53f835a153770802f164c5570bab5e005aad693dab87f"}, + {file = "Pillow-8.2.0-cp37-cp37m-macosx_10_10_x86_64.whl", hash = "sha256:cb7a09e173903541fa888ba010c345893cd9fc1b5891aaf060f6ca77b6a3722d"}, + {file = "Pillow-8.2.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:0d19d70ee7c2ba97631bae1e7d4725cdb2ecf238178096e8c82ee481e189168a"}, + {file = "Pillow-8.2.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:083781abd261bdabf090ad07bb69f8f5599943ddb539d64497ed021b2a67e5a9"}, + {file = "Pillow-8.2.0-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:c6b39294464b03457f9064e98c124e09008b35a62e3189d3513e5148611c9388"}, + {file = "Pillow-8.2.0-cp37-cp37m-win32.whl", hash = "sha256:01425106e4e8cee195a411f729cff2a7d61813b0b11737c12bd5991f5f14bcd5"}, + {file = "Pillow-8.2.0-cp37-cp37m-win_amd64.whl", hash = "sha256:3b570f84a6161cf8865c4e08adf629441f56e32f180f7aa4ccbd2e0a5a02cba2"}, + {file = "Pillow-8.2.0-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:031a6c88c77d08aab84fecc05c3cde8414cd6f8406f4d2b16fed1e97634cc8a4"}, + {file = "Pillow-8.2.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:66cc56579fd91f517290ab02c51e3a80f581aba45fd924fcdee01fa06e635812"}, + {file = "Pillow-8.2.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:6c32cc3145928c4305d142ebec682419a6c0a8ce9e33db900027ddca1ec39178"}, + {file = "Pillow-8.2.0-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:624b977355cde8b065f6d51b98497d6cd5fbdd4f36405f7a8790e3376125e2bb"}, + {file = "Pillow-8.2.0-cp38-cp38-win32.whl", hash = "sha256:5cbf3e3b1014dddc45496e8cf38b9f099c95a326275885199f427825c6522232"}, + {file = "Pillow-8.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:463822e2f0d81459e113372a168f2ff59723e78528f91f0bd25680ac185cf797"}, + {file = "Pillow-8.2.0-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:95d5ef984eff897850f3a83883363da64aae1000e79cb3c321915468e8c6add5"}, + {file = "Pillow-8.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:b91c36492a4bbb1ee855b7d16fe51379e5f96b85692dc8210831fbb24c43e484"}, + {file = "Pillow-8.2.0-cp39-cp39-manylinux1_i686.whl", hash = "sha256:d68cb92c408261f806b15923834203f024110a2e2872ecb0bd2a110f89d3c602"}, + {file = "Pillow-8.2.0-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:f217c3954ce5fd88303fc0c317af55d5e0204106d86dea17eb8205700d47dec2"}, + {file = "Pillow-8.2.0-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:5b70110acb39f3aff6b74cf09bb4169b167e2660dabc304c1e25b6555fa781ef"}, + {file = "Pillow-8.2.0-cp39-cp39-win32.whl", hash = "sha256:a7d5e9fad90eff8f6f6106d3b98b553a88b6f976e51fce287192a5d2d5363713"}, + {file = "Pillow-8.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:238c197fc275b475e87c1453b05b467d2d02c2915fdfdd4af126145ff2e4610c"}, + {file = "Pillow-8.2.0-pp36-pypy36_pp73-macosx_10_10_x86_64.whl", hash = "sha256:0e04d61f0064b545b989126197930807c86bcbd4534d39168f4aa5fda39bb8f9"}, + {file = "Pillow-8.2.0-pp36-pypy36_pp73-manylinux2010_i686.whl", hash = "sha256:63728564c1410d99e6d1ae8e3b810fe012bc440952168af0a2877e8ff5ab96b9"}, + {file = "Pillow-8.2.0-pp36-pypy36_pp73-manylinux2010_x86_64.whl", hash = "sha256:c03c07ed32c5324939b19e36ae5f75c660c81461e312a41aea30acdd46f93a7c"}, + {file = "Pillow-8.2.0-pp37-pypy37_pp73-macosx_10_10_x86_64.whl", hash = "sha256:4d98abdd6b1e3bf1a1cbb14c3895226816e666749ac040c4e2554231068c639b"}, + {file = "Pillow-8.2.0-pp37-pypy37_pp73-manylinux2010_i686.whl", hash = "sha256:aac00e4bc94d1b7813fe882c28990c1bc2f9d0e1aa765a5f2b516e8a6a16a9e4"}, + {file = "Pillow-8.2.0-pp37-pypy37_pp73-manylinux2010_x86_64.whl", hash = "sha256:22fd0f42ad15dfdde6c581347eaa4adb9a6fc4b865f90b23378aa7914895e120"}, + {file = "Pillow-8.2.0-pp37-pypy37_pp73-win32.whl", hash = "sha256:e98eca29a05913e82177b3ba3d198b1728e164869c613d76d0de4bde6768a50e"}, + {file = "Pillow-8.2.0.tar.gz", hash = "sha256:a787ab10d7bb5494e5f76536ac460741788f1fbce851068d73a87ca7c35fc3e1"}, ] pluggy = [ {file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"}, diff --git a/pyproject.toml b/pyproject.toml index 8d7ce29f..21acad76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ pymdown-extensions = "^8.0" pygments = "^2.7.0" # Images -pillow = "^8.1.2" +pillow = "^8.2" spongemock = "~0.3.4" # Utilities diff --git a/requirements.txt b/requirements.txt index c5af84d2..f90a8d52 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,7 +25,7 @@ minilog==2.0; python_version >= "3.6" and python_version < "4.0" multidict==5.1.0; python_version >= "3.6" orderedmultidict==1.0.1 parse==1.19.0; python_version >= "3.7" and python_version < "4.0" -pillow==8.1.2; python_version >= "3.6" +pillow==8.2.0; python_version >= "3.6" pygments==2.8.1; python_version >= "3.5" pymdown-extensions==8.1.1; python_version >= "3.6" pyperclip==1.8.2