14
0

- Update to 0.29.0

Breaking:
  * move btc_address to crypto_addresses
    gh#kvesteri/validators#383
Features:
  * add validator for eth addresses
    (depends on eth-hash, which is not packaged yet)
    gh#kvesteri/validators#383

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-validators?expand=0&rev=51
This commit is contained in:
2024-07-01 17:21:55 +00:00
committed by Git OBS Bridge
parent 3f66d43fed
commit fe9f1791a5
4 changed files with 19 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-validators
Version: 0.28.3
Version: 0.29.0
Release: 0
Summary: Python Data Validation
License: MIT
@@ -52,7 +52,8 @@ dos2unix README.md
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# missing eth-hash dependency so those tests must be skipped
%pytest -k 'not test_returns_true_on_valid_eth_address and not test_returns_failed_validation_on_invalid_eth_address'
%files %{python_files}
%doc README.md