Marcel Telka
2024-04-03 e60d2de5775b841de4ac7b2f31a5a640192ce2f3
python/validators: update to 0.26.0

4 files modified
51 ■■■■■ changed files
components/python/validators/Makefile 4 ●●●● patch | view | raw | blame | history
components/python/validators/manifests/sample-manifest.p5m 1 ●●●● patch | view | raw | blame | history
components/python/validators/test/results-all.master 45 ●●●●● patch | view | raw | blame | history
components/python/validators/validators-PYVER.p5m 1 ●●●● patch | view | raw | blame | history
components/python/validators/Makefile
@@ -19,11 +19,11 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        validators
HUMAN_VERSION =            0.24.0
HUMAN_VERSION =            0.26.0
COMPONENT_SUMMARY =        validators - Python Data Validation for Humans™
COMPONENT_PROJECT_URL =        https://yozachar.github.io/pyvalidators
COMPONENT_ARCHIVE_HASH =    \
    sha256:cd23defb36de42d14e7559cf0757f761bb46b10d9de2998e6ef805f769d859e3
    sha256:004e15ed83145454e8db90d66dcee063f1084b81e447310b52c5f91022823150
COMPONENT_LICENSE =        MIT
COMPONENT_LICENSE_FILE =    LICENSE.txt
components/python/validators/manifests/sample-manifest.p5m
@@ -33,6 +33,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/validators/btc_address.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/card.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/country_code.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/cron.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/domain.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/email.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/hashes.py
components/python/validators/test/results-all.master
@@ -5,7 +5,7 @@
cachedir: .tox/py$(PYV)/.pytest_cache
rootdir: $(@D)
configfile: pyproject.toml
collecting ... collected 599 items
collecting ... collected 640 items
tests/i18n/test_es.py::test_returns_false_on_invalid_cif[12345] PASSED
tests/i18n/test_es.py::test_returns_false_on_invalid_cif[ABCDEFGHI] PASSED
@@ -278,6 +278,32 @@
tests/test_country_code.py::test_returns_true_on_valid_country_code[ISR-auto] PASSED
tests/test_country_code.py::test_returns_true_on_valid_country_code[US-alpha2] PASSED
tests/test_country_code.py::test_returns_true_on_valid_country_code[USA-alpha3] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[& * * & * *] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[* * * * * *] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[* * * *] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[* - * * - *] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[*/15 0,6,12,24 * * *] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[*/5 * *-1 * *] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[*/5 25 * * *] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[0 */0 * * *] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[0 12 * * 8] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[0 12 32 * *] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[10-* * * * *] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[30-20 * * * *] PASSED
tests/test_cron.py::test_returns_failed_validation_on_invalid_cron[32-30 * * * *] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[* * * * *] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[*/15 0,6,12,18 * * *] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[*/5 * * * *] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[*/61 * * * *] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[0 */3 * * *] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[0 0 * * *] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[0 0 1 1 *] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[0 12 * * 0] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[0 12 * 1-6 1-5] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[0 12 1 */2 *] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[0 3-6 * * *] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[15 5 * * 1,3,5] PASSED
tests/test_cron.py::test_returns_true_on_valid_cron[30 3 * * 1-5] PASSED
tests/test_domain.py::test_returns_failed_validation_on_invalid_domain[-example.com-False-False] PASSED
tests/test_domain.py::test_returns_failed_validation_on_invalid_domain[123.123-False-False] PASSED
tests/test_domain.py::test_returns_failed_validation_on_invalid_domain[123.123.123.-True-False] PASSED
@@ -325,6 +351,8 @@
tests/test_email.py::test_returns_failed_validation_on_invalid_email[john56789.john56789.john56789.john56789.john56789.john56789.john5@example.com] PASSED
tests/test_email.py::test_returns_failed_validation_on_invalid_email[something@@somewhere.com] PASSED
tests/test_email.py::test_returns_true_on_valid_email["\\\t"@here.com] PASSED
tests/test_email.py::test_returns_true_on_valid_email[\u0141\xf3ka\u015b\u0107@email.com] PASSED
tests/test_email.py::test_returns_true_on_valid_email[\u0142em\u0142ail@here.com] PASSED
tests/test_email.py::test_returns_true_on_valid_email[email@127.local.home.arpa] PASSED
tests/test_email.py::test_returns_true_on_valid_email[email@here.com] PASSED
tests/test_email.py::test_returns_true_on_valid_email[email@localdomain.org] PASSED
@@ -333,6 +361,12 @@
tests/test_email.py::test_returns_true_on_valid_email[example@valid-with-hyphens.com] PASSED
tests/test_email.py::test_returns_true_on_valid_email[test@domain.with.idn.tld.\u0909\u0926\u093e\u0939\u0930\u0923.\u092a\u0930\u0940\u0915\u094d\u0937\u093e] PASSED
tests/test_email.py::test_returns_true_on_valid_email[weirder-email@here.and.there.com] PASSED
tests/test_hashes.py::test_returns_failed_validation_on_invalid_base58[InvalidBase58!] PASSED
tests/test_hashes.py::test_returns_failed_validation_on_invalid_base58[ThisIsAReallyLongStringThatIsDefinitelyNotBase58Encoded] PASSED
tests/test_hashes.py::test_returns_failed_validation_on_invalid_base58[abcABC!@#] PASSED
tests/test_hashes.py::test_returns_failed_validation_on_invalid_base64[SGVsbG8gV29ybGQ] PASSED
tests/test_hashes.py::test_returns_failed_validation_on_invalid_base64[U29tZSBkYXRhIHN0cmluZw] PASSED
tests/test_hashes.py::test_returns_failed_validation_on_invalid_base64[YW55IGNhcm5hbCBwbGVhc] PASSED
tests/test_hashes.py::test_returns_failed_validation_on_invalid_md5[z41d8cd98f00b204e9800998ecf8427e] PASSED
tests/test_hashes.py::test_returns_failed_validation_on_invalid_md5[z4aaaa1d8cd98f00b204e9800998ecf8427e] PASSED
tests/test_hashes.py::test_returns_failed_validation_on_invalid_md5[z8cd98f00b204e9800998ecf8427e] PASSED
@@ -348,6 +382,13 @@
tests/test_hashes.py::test_returns_failed_validation_on_invalid_sha512[cf8357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e] PASSED
tests/test_hashes.py::test_returns_failed_validation_on_invalid_sha512[cf8aaaa3e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e] PASSED
tests/test_hashes.py::test_returns_failed_validation_on_invalid_sha512[zf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e] PASSED
tests/test_hashes.py::test_returns_true_on_valid_base58[18KToMF5ckjXBYt2HAj77qsG3GPeej3PZn] PASSED
tests/test_hashes.py::test_returns_true_on_valid_base58[38XzQ9dPGb1uqbZsjPtUajp7omy8aefjqj] PASSED
tests/test_hashes.py::test_returns_true_on_valid_base58[cUSECaVvAiV3srWbFRvVPzm5YzcXJwPSwZfE7veYPHoXmR9h6YMQ] PASSED
tests/test_hashes.py::test_returns_true_on_valid_base58[n4FFXRNNEW1aA2WPscSuzHTCjzjs4TVE2Z] PASSED
tests/test_hashes.py::test_returns_true_on_valid_base64[SGVsbG8gV29ybGQ=] PASSED
tests/test_hashes.py::test_returns_true_on_valid_base64[U29tZSBkYXRhIHN0cmluZw==] PASSED
tests/test_hashes.py::test_returns_true_on_valid_base64[YW55IGNhcm5hbCBwbGVhcw==] PASSED
tests/test_hashes.py::test_returns_true_on_valid_md5[D41D8CD98F00B204E9800998ECF8427E] PASSED
tests/test_hashes.py::test_returns_true_on_valid_md5[d41d8cd98f00b204e9800998ecf8427e] PASSED
tests/test_hashes.py::test_returns_true_on_valid_sha1[DA39A3EE5E6B4B0D3255BFEF95601890AFD80709] PASSED
@@ -607,6 +648,6 @@
tests/test_validation_failure.py::TestValidationError::test_repr PASSED
tests/test_validation_failure.py::TestValidationError::test_string PASSED
======== 599 passed ========
======== 640 passed ========
  py$(PYV): OK
  congratulations :)
components/python/validators/validators-PYVER.p5m
@@ -33,6 +33,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/validators/btc_address.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/card.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/country_code.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/cron.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/domain.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/email.py
file path=usr/lib/python$(PYVER)/vendor-packages/validators/hashes.py