python3Packages.dj-stripe: drop (#427135)

authored by Sandro and committed by GitHub 4a2e0730 f0569829

+1 -124
-122
pkgs/development/python-modules/dj-stripe/default.nix
··· 1 - { 2 - lib, 3 - buildPythonPackage, 4 - fetchFromGitHub, 5 - poetry-core, 6 - django, 7 - stripe, 8 - mysqlclient, 9 - psycopg2, 10 - pytest-django, 11 - pytestCheckHook, 12 - }: 13 - 14 - buildPythonPackage rec { 15 - pname = "dj-stripe"; 16 - version = "2.9.0"; 17 - pyproject = true; 18 - 19 - src = fetchFromGitHub { 20 - owner = "dj-stripe"; 21 - repo = "dj-stripe"; 22 - tag = version; 23 - hash = "sha256-ijTzSid5B79mAi7qUFSGL5+4PfmBStDWayzjW1iwRww="; 24 - }; 25 - 26 - build-system = [ poetry-core ]; 27 - 28 - dependencies = [ 29 - django 30 - stripe 31 - ]; 32 - 33 - passthru.optional-dependencies = { 34 - mysql = [ mysqlclient ]; 35 - postgres = [ psycopg2 ]; 36 - }; 37 - 38 - env = { 39 - DJANGO_SETTINGS_MODULE = "tests.settings"; 40 - DJSTRIPE_TEST_DB_VENDOR = "sqlite"; 41 - }; 42 - 43 - nativeCheckInputs = [ 44 - pytest-django 45 - pytestCheckHook 46 - ]; 47 - 48 - pytestFlagsArray = [ 49 - "--deselect=tests/test_customer.py::TestCustomer::test_customer_sync_unsupported_source" 50 - "--deselect=tests/test_customer.py::TestCustomer::test_upcoming_invoice_plan" 51 - "--deselect=tests/test_customer.py::TestCustomerLegacy::test_upcoming_invoice" 52 - "--deselect=tests/test_event_handlers.py::TestCustomerEvents::test_customer_default_source_deleted" 53 - "--deselect=tests/test_event_handlers.py::TestCustomerEvents::test_customer_deleted" 54 - "--deselect=tests/test_event_handlers.py::TestCustomerEvents::test_customer_source_double_delete" 55 - "--deselect=tests/test_event_handlers.py::TestPlanEvents::test_plan_created" 56 - "--deselect=tests/test_event_handlers.py::TestPlanEvents::test_plan_deleted" 57 - "--deselect=tests/test_event_handlers.py::TestPlanEvents::test_plan_updated_request_object" 58 - "--deselect=tests/test_event_handlers.py::TestTaxIdEvents::test_tax_id_created" 59 - "--deselect=tests/test_event_handlers.py::TestTaxIdEvents::test_tax_id_deleted" 60 - "--deselect=tests/test_event_handlers.py::TestTaxIdEvents::test_tax_id_updated" 61 - "--deselect=tests/test_invoice.py::InvoiceTest::test_upcoming_invoice" 62 - "--deselect=tests/test_invoice.py::InvoiceTest::test_upcoming_invoice_with_subscription" 63 - "--deselect=tests/test_invoice.py::InvoiceTest::test_upcoming_invoice_with_subscription_plan" 64 - "--deselect=tests/test_invoice.py::TestInvoiceDecimal::test_decimal_tax_percent" 65 - "--deselect=tests/test_plan.py::PlanCreateTest::test_create_from_djstripe_product" 66 - "--deselect=tests/test_plan.py::PlanCreateTest::test_create_from_product_id" 67 - "--deselect=tests/test_plan.py::PlanCreateTest::test_create_from_stripe_product" 68 - "--deselect=tests/test_plan.py::PlanCreateTest::test_create_with_metadata" 69 - "--deselect=tests/test_price.py::PriceCreateTest::test_create_from_djstripe_product" 70 - "--deselect=tests/test_price.py::PriceCreateTest::test_create_from_product_id" 71 - "--deselect=tests/test_price.py::PriceCreateTest::test_create_from_stripe_product" 72 - "--deselect=tests/test_price.py::PriceCreateTest::test_create_with_metadata" 73 - "--deselect=tests/test_settings.py::TestSubscriberModelRetrievalMethod::test_bad_callback" 74 - "--deselect=tests/test_settings.py::TestSubscriberModelRetrievalMethod::test_no_callback" 75 - "--deselect=tests/test_settings.py::TestStripeApiVersion::test_global_stripe_api_version" 76 - "--deselect=tests/test_subscription.py::TestSubscriptionDecimal::test_decimal_application_fee_percent" 77 - "--deselect=tests/test_tax_id.py::TestTaxIdStr::test___str__" 78 - "--deselect=tests/test_tax_id.py::TestTransfer::test__api_create" 79 - "--deselect=tests/test_tax_id.py::TestTransfer::test__api_create_no_customer" 80 - "--deselect=tests/test_tax_id.py::TestTransfer::test__api_create_no_id_kwarg" 81 - "--deselect=tests/test_tax_id.py::TestTransfer::test_api_list" 82 - "--deselect=tests/test_tax_id.py::TestTransfer::test_api_retrieve" 83 - "--deselect=tests/test_tax_rates.py::TestTaxRateDecimal::test_decimal_tax_percent" 84 - "--deselect=tests/test_transfer_reversal.py::TestTransfer::test_api_list" 85 - "--deselect=tests/test_transfer_reversal.py::TestTransfer::test_api_retrieve" 86 - "--deselect=tests/test_usage_record.py::TestUsageRecord::test___str__" 87 - "--deselect=tests/test_usage_record.py::TestUsageRecord::test__api_create" 88 - "--deselect=tests/test_usage_record_summary.py::TestUsageRecordSummary::test___str__" 89 - "--deselect=tests/test_usage_record_summary.py::TestUsageRecordSummary::test_api_list" 90 - "--deselect=tests/test_usage_record_summary.py::TestUsageRecordSummary::test_sync_from_stripe_data" 91 - "--deselect=tests/test_views.py::TestConfirmCustomActionView::test__cancel_subscription_instances_stripe_invalid_request_error" 92 - "--deselect=tests/test_views.py::TestConfirmCustomActionView::test__release_subscription_schedule_stripe_invalid_request_error" 93 - "--deselect=tests/test_views.py::TestConfirmCustomActionView::test__cancel_subscription_schedule_stripe_invalid_request_error" 94 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test___str__" 95 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_error" 96 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_good_connect_account" 97 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_good_platform_account" 98 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_invalid_verify_signature_fail" 99 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_no_signature" 100 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_no_validation_pass" 101 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_remote_addr_is_empty_string" 102 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_remote_addr_is_none" 103 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_reraise_exception" 104 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_retrieve_event_fail" 105 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_retrieve_event_pass" 106 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_test_event" 107 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_verify_signature_pass" 108 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_with_custom_callback" 109 - "--deselect=tests/test_webhooks.py::TestWebhookEventTrigger::test_webhook_with_transfer_event_duplicate" 110 - "--deselect=tests/test_webhooks.py::TestGetRemoteIp::test_get_remote_ip_remote_addr_is_none" 111 - ]; 112 - 113 - pythonImportsCheck = [ "djstripe" ]; 114 - 115 - meta = { 116 - description = "Stripe Models for Django"; 117 - homepage = "https://github.com/dj-stripe/dj-stripe"; 118 - changelog = "https://github.com/dj-stripe/dj-stripe/releases/tag/${version}"; 119 - license = lib.licenses.mit; 120 - maintainers = with lib.maintainers; [ defelo ]; 121 - }; 122 - }
+1
pkgs/top-level/python-aliases.nix
··· 187 187 discogs_client = discogs-client; # added 2021-07-02 188 188 distutils_extra = distutils-extra; # added 2023-10-12 189 189 digital-ocean = python-digitalocean; # addad 2024-04-12 190 + dj-stripe = throw "dj-stripe has been removed because it is unused and broken"; # added 2025-07-21 190 191 djangorestframework-jwt = drf-jwt; # added 2021-07-20 191 192 django-allauth-2fa = throw "django-allauth-2fa was removed because it was unused and django-allauth now contains 2fa logic itself."; # added 2025-02-15 192 193 django-sampledatahelper = throw "django-sampledatahelper was removed because it is no longer compatible to latest Django version"; # added 2022-07-18
-2
pkgs/top-level/python-packages.nix
··· 3722 3722 3723 3723 dj-static = callPackage ../development/python-modules/dj-static { }; 3724 3724 3725 - dj-stripe = callPackage ../development/python-modules/dj-stripe { }; 3726 - 3727 3725 # LTS with mainsteam support 3728 3726 django = self.django_4; 3729 3727