python-email-validator/ignore-urllib3-pyopenssl-warning.patch
Steve Kowalik 04b4aa3a72 - Update to 1.2.1:
* Rejecting domains with NULL MX records (when deliverability checks are
    turned on).
  * Rejecting unsafe unicode characters. (Some of these checks you should be
    doing on all of your user inputs already!)
  * Rejecting most special-use reserved domain names. A new test_environment
    option is added for using @*.test domains.
  * example and example.com/net/org are removed from the special-use domains
    list.
  * SPECIAL_USE_DOMAIN_NAMES is now a documented part of the API (and it is a
    list instead of a tuple)
  * New module-level attributes ALLOW_SMTPUTF8, CHECK_DELIVERABILITY,
    TEST_ENVIRONMENT, and DEFAULT_TIMEOUT can be used to change the default
    values of the keyword arguments.
- Add patch ignore-urllib3-pyopenssl-warning.patch:
  * Ignore warning as error from requests-toolbelt via dnspython.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-email-validator?expand=0&rev=4
2022-09-08 07:28:34 +00:00

10 lines
354 B
Diff

Index: python-email-validator-1.2.1/setup.cfg
===================================================================
--- python-email-validator-1.2.1.orig/setup.cfg
+++ python-email-validator-1.2.1/setup.cfg
@@ -43,3 +43,4 @@ max-line-length = 120
testpaths = tests
filterwarnings =
error
+ ignore:.*urllib3.contrib.pyopenssl.*:DeprecationWarning