commit python-Cerberus for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Cerberus for openSUSE:Factory checked in at 2025-01-09 15:07:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Cerberus (Old) and /work/SRC/openSUSE:Factory/.python-Cerberus.new.1881 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-Cerberus" Thu Jan 9 15:07:55 2025 rev:14 rq:1235841 version:1.3.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Cerberus/python-Cerberus.changes 2023-08-28 17:13:56.737915335 +0200 +++ /work/SRC/openSUSE:Factory/.python-Cerberus.new.1881/python-Cerberus.changes 2025-01-09 15:08:33.387093386 +0100 @@ -1,0 +2,13 @@ +Wed Jan 8 08:35:55 UTC 2025 - Michael Vetter <mvetter@suse.com> + +- Update to 1.3.7: + * Amend missing changelog + +------------------------------------------------------------------- +Wed Jan 8 08:35:33 UTC 2025 - Michael Vetter <mvetter@suse.com> + +- Update to 1.3.6: + * Support for Python 3.12 & 3.13 + * Fix escaping in docstrings (#608) + +------------------------------------------------------------------- Old: ---- cerberus-1.3.5.tar.gz New: ---- cerberus-1.3.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Cerberus.spec ++++++ --- /var/tmp/diff_new_pack.DQRXAq/_old 2025-01-09 15:08:34.827153269 +0100 +++ /var/tmp/diff_new_pack.DQRXAq/_new 2025-01-09 15:08:34.827153269 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-Cerberus # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Cerberus -Version: 1.3.5 +Version: 1.3.7 Release: 0 Summary: Extensible schema and data validation tool for Python dictionaries License: ISC ++++++ cerberus-1.3.5.tar.gz -> cerberus-1.3.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/.github/workflows/regular-checks.yml new/cerberus-1.3.7/.github/workflows/regular-checks.yml --- old/cerberus-1.3.5/.github/workflows/regular-checks.yml 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/.github/workflows/regular-checks.yml 2024-12-31 15:21:41.000000000 +0100 @@ -26,7 +26,7 @@ - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: 3.x - run: python -m pip install tox - run: tox -e doclinks diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/.github/workflows/tests.yml new/cerberus-1.3.7/.github/workflows/tests.yml --- old/cerberus-1.3.5/.github/workflows/tests.yml 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/.github/workflows/tests.yml 2024-12-31 15:21:41.000000000 +0100 @@ -27,9 +27,12 @@ - 3.9 # 2025-10 - "3.10" # 2026-10 - 3.11 # 2027-10 + - 3.12 # 2028-10 + - 3.13 # 2029-10 - pypy3.7 - pypy3.8 - pypy3.9 + - pypy3.10 steps: - uses: actions/checkout@v3 with: @@ -63,7 +66,7 @@ ref: ${{ inputs.ref || github.ref }} - uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: 3.x - run: python -m pip install tox - run: tox -e ${{ matrix.environment }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/.linting-config.yaml new/cerberus-1.3.7/.linting-config.yaml --- old/cerberus-1.3.5/.linting-config.yaml 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/.linting-config.yaml 2024-12-31 15:21:41.000000000 +0100 @@ -5,7 +5,7 @@ hooks: - id: black args: [--check] - language_version: python3.11 + language_version: python3.12 types: - python exclude: ^docs/conf.py$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/.pre-commit-config.yaml new/cerberus-1.3.7/.pre-commit-config.yaml --- old/cerberus-1.3.5/.pre-commit-config.yaml 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/.pre-commit-config.yaml 2024-12-31 15:21:41.000000000 +0100 @@ -5,7 +5,7 @@ hooks: - id: black args: [--quiet] - language_version: python3.11 + language_version: python3.12 types: - python exclude: ^docs/conf.py$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/.readthedocs.yaml new/cerberus-1.3.7/.readthedocs.yaml --- old/cerberus-1.3.5/.readthedocs.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/cerberus-1.3.7/.readthedocs.yaml 2024-12-31 15:21:41.000000000 +0100 @@ -0,0 +1,20 @@ +--- + +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3" + +formats: all + +python: + install: + - path: . + - requirements: docs/requirements.txt + +sphinx: + configuration: docs/conf.py + +... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/.readthedocs.yml new/cerberus-1.3.7/.readthedocs.yml --- old/cerberus-1.3.5/.readthedocs.yml 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/.readthedocs.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,13 +0,0 @@ -version: 2 - -build: - image: latest - -formats: all - -python: - version: "3.11" - install: - - path: . - method: pip - - requirements: docs/requirements.txt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/CHANGES.rst new/cerberus-1.3.7/CHANGES.rst --- old/cerberus-1.3.5/CHANGES.rst 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/CHANGES.rst 2024-12-31 15:21:41.000000000 +0100 @@ -1,7 +1,33 @@ Cerberus Changelog ================== -Cerberus is a collaboratively funded project, see the `funding page`_. +Version 1.3.7 +------------- + +Released on December 31, 2024. + +Fixed +~~~~~ + +- Amends missing changelog + + +Version 1.3.6 +------------- + +Released on December 23, 2024. + +New +~~~ + +- Support for Python 3.12 & 3.13 + +Fixed +~~~~~ + +- Escaping in docstrings (`#608`_) + +.. _`#608`: https://github.com/pyeve/cerberus/issues/608 Version 1.3.5 ------------- @@ -649,5 +675,4 @@ First public preview release. -.. _`upgrade notes`: upgrading -.. _`funding page`: https://docs.python-cerberus.org/en/stable/funding.html +.. _`upgrade notes`: https://docs.python-cerberus.org/upgrading.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/README.rst new/cerberus-1.3.7/README.rst --- old/cerberus-1.3.5/README.rst 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/README.rst 2024-12-31 15:21:41.000000000 +0100 @@ -38,20 +38,6 @@ advised to run the contributed test suite on your target system. -Funding -------- - -Cerberus is an open source, collaboratively funded project. If you run a -business and are using Cerberus in a revenue-generating product, it would -make business sense to sponsor its development: it ensures the project that -your product relies on stays healthy and actively maintained. Individual users -are also welcome to make a recurring pledge or a one time donation if Cerberus -has helped you in your work or personal projects. - -Every single sign-up makes a significant impact towards making Eve possible. To -learn more, check out our `funding page`_. - - Documentation ------------- @@ -101,7 +87,6 @@ .. _Contribution Guidelines: https://github.com/pyeve/cerberus/blob/1.3.x/CONTRIBUTING.rst .. _end of life: https://devguide.python.org/#status-of-python-branches -.. _funding page: http://docs.python-cerberus.org/en/latest/funding.html .. _license: https://github.com/pyeve/cerberus/blob/1.3.x/LICENSE .. _Nicola Iarocci: https://nicolaiarocci.com/ .. _PyPI: https://pypi.python.org/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/cerberus/errors.py new/cerberus-1.3.7/cerberus/errors.py --- old/cerberus-1.3.5/cerberus/errors.py 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/cerberus/errors.py 2024-12-31 15:21:41.000000000 +0100 @@ -155,7 +155,7 @@ @property def definitions_errors(self): """ - Dictionary with errors of an \*of-rule mapped to the index of the definition it + Dictionary with errors of an \\*of-rule mapped to the index of the definition it occurred in. Returns :obj:`None` if not applicable. """ if not self.is_logic_error: @@ -183,7 +183,7 @@ @property def is_logic_error(self): """ - ``True`` for validation errors against different schemas with \*of-rules. + ``True`` for validation errors against different schemas with \\*of-rules. """ return bool(self.code & LOGICAL.code - ERROR_GROUP.code) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/cerberus/tests/test_customization.py new/cerberus-1.3.7/cerberus/tests/test_customization.py --- old/cerberus-1.3.5/cerberus/tests/test_customization.py 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/cerberus/tests/test_customization.py 2024-12-31 15:21:41.000000000 +0100 @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from pytest import mark +import pytest import cerberus from cerberus.tests import assert_fail, assert_success @@ -8,15 +8,17 @@ def test_contextual_data_preservation(): - class InheritedValidator(cerberus.Validator): - def __init__(self, *args, **kwargs): - if 'working_dir' in kwargs: - self.working_dir = kwargs['working_dir'] - super(InheritedValidator, self).__init__(*args, **kwargs) - - def _validate_type_test(self, value): - if self.working_dir: - return True + with pytest.deprecated_call(): + + class InheritedValidator(cerberus.Validator): + def __init__(self, *args, **kwargs): + if 'working_dir' in kwargs: + self.working_dir = kwargs['working_dir'] + super(InheritedValidator, self).__init__(*args, **kwargs) + + def _validate_type_test(self, value): + if self.working_dir: + return True assert 'test' in InheritedValidator.types v = InheritedValidator( @@ -45,7 +47,7 @@ # TODO remove 'validator' as rule parameter with the next major release -@mark.parametrize('rule', ('check_with', 'validator')) +@pytest.mark.parametrize('rule', ('check_with', 'validator')) def test_check_with_method(rule): # https://github.com/pyeve/cerberus/issues/265 class MyValidator(cerberus.Validator): @@ -53,7 +55,12 @@ if not value & 1: self._error(field, "Must be an odd number") - v = MyValidator(schema={'amount': {rule: 'oddity'}}) + if rule == "validator": + with pytest.deprecated_call(): + v = MyValidator(schema={'amount': {rule: 'oddity'}}) + else: + v = MyValidator(schema={'amount': {rule: 'oddity'}}) + assert_success(document={'amount': 1}, validator=v) assert_fail( document={'amount': 2}, @@ -63,20 +70,32 @@ # TODO remove test with the next major release -@mark.parametrize('rule', ('check_with', 'validator')) +@pytest.mark.parametrize('rule', ('check_with', 'validator')) def test_validator_method(rule): class MyValidator(cerberus.Validator): def _validator_oddity(self, field, value): if not value & 1: - self._error(field, "Must be an odd number") + self._error(field, "Must not be an odd number") - v = MyValidator(schema={'amount': {rule: 'oddity'}}) - assert_success(document={'amount': 1}, validator=v) - assert_fail( - document={'amount': 2}, - validator=v, - error=('amount', (), cerberus.errors.CUSTOM, None, ('Must be an odd number',)), - ) + if rule == "validator": + with pytest.deprecated_call(): + v = MyValidator(schema={'amount': {rule: 'oddity'}}) + else: + v = MyValidator(schema={'amount': {rule: 'oddity'}}) + + with pytest.deprecated_call(): + assert_success(document={'amount': 1}, validator=v) + assert_fail( + document={'amount': 2}, + validator=v, + error=( + 'amount', + (), + cerberus.errors.CUSTOM, + None, + ('Must not be an odd number',), + ), + ) def test_schema_validation_can_be_disabled_in_schema_setter(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/cerberus/tests/test_schema.py new/cerberus-1.3.7/cerberus/tests/test_schema.py --- old/cerberus-1.3.5/cerberus/tests/test_schema.py 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/cerberus/tests/test_schema.py 2024-12-31 15:21:41.000000000 +0100 @@ -137,7 +137,8 @@ }, } - validator = Validator(schema) + with pytest.deprecated_call(): + validator = Validator(schema) assert validator.schema == { "field_1": { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/cerberus/tests/test_validation.py new/cerberus-1.3.7/cerberus/tests/test_validation.py --- old/cerberus-1.3.5/cerberus/tests/test_validation.py 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/cerberus/tests/test_validation.py 2024-12-31 15:21:41.000000000 +0100 @@ -7,6 +7,7 @@ from random import choice from string import ascii_lowercase +import pytest from pytest import mark from cerberus import errors, rules_set_registry, Validator @@ -698,7 +699,7 @@ # TODO remove 'keyschema' as rule with the next major release -@mark.parametrize('rule', ('keysrules', 'keyschema')) +@pytest.mark.parametrize('rule', ('keysrules', 'keyschema')) def test_keysrules(rule): schema = { 'a_dict_with_keysrules': { @@ -706,8 +707,13 @@ rule: {'type': 'string', 'regex': '[a-z]+'}, } } - assert_success({'a_dict_with_keysrules': {'key': 'value'}}, schema=schema) - assert_fail({'a_dict_with_keysrules': {'KEY': 'value'}}, schema=schema) + if rule == "keyschema": + with pytest.deprecated_call(): + assert_success({'a_dict_with_keysrules': {'key': 'value'}}, schema=schema) + assert_fail({'a_dict_with_keysrules': {'KEY': 'value'}}, schema=schema) + else: + assert_success({'a_dict_with_keysrules': {'key': 'value'}}, schema=schema) + assert_fail({'a_dict_with_keysrules': {'KEY': 'value'}}, schema=schema) def test_a_list_length(schema): @@ -743,10 +749,12 @@ def test_custom_datatype(): - class MyValidator(Validator): - def _validate_type_objectid(self, value): - if re.match('[a-f0-9]{24}', value): - return True + with pytest.deprecated_call(): + + class MyValidator(Validator): + def _validate_type_objectid(self, value): + if re.match('[a-f0-9]{24}', value): + return True schema = {'test_field': {'type': 'objectid'}} validator = MyValidator(schema) @@ -759,19 +767,22 @@ def test_custom_datatype_rule(): - class MyValidator(Validator): - def _validate_min_number(self, min_number, field, value): - """{'type': 'number'}""" - if value < min_number: - self._error(field, 'Below the min') - - # TODO replace with TypeDefintion in next major release - def _validate_type_number(self, value): - if isinstance(value, int): - return True + with pytest.deprecated_call(): + + class MyValidator(Validator): + def _validate_min_number(self, min_number, field, value): + """{'type': 'number'}""" + if value < min_number: + self._error(field, 'Below the min') + + # TODO replace with TypeDefintion in next major release + def _validate_type_number(self, value): + if isinstance(value, int): + return True schema = {'test_field': {'min_number': 1, 'type': 'number'}} - validator = MyValidator(schema) + with pytest.warns(UserWarning): + validator = MyValidator(schema) assert_fail( {'test_field': '0'}, validator=validator, @@ -898,10 +909,12 @@ def test_unknown_keys_retain_custom_rules(): # test that allow_unknown schema respect custom validation rules. # https://github.com/pyeve/cerberus/issues/#66. - class CustomValidator(Validator): - def _validate_type_foo(self, value): - if value == "foo": - return True + with pytest.deprecated_call(): + + class CustomValidator(Validator): + def _validate_type_foo(self, value): + if value == "foo": + return True validator = CustomValidator({}) validator.allow_unknown = {"type": "foo"} @@ -1165,10 +1178,11 @@ if not value.islower(): error(field, 'must be lowercase') - validator.schema = { - 'name': {'validator': validate_name}, - 'age': {'type': 'integer'}, - } + with pytest.deprecated_call(): + validator.schema = { + 'name': {'validator': validate_name}, + 'age': {'type': 'integer'}, + } assert_fail( {'name': 'ItsMe', 'age': 2}, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/docs/contact.rst new/cerberus-1.3.7/docs/contact.rst --- old/cerberus-1.3.5/docs/contact.rst 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/docs/contact.rst 2024-12-31 15:21:41.000000000 +0100 @@ -12,11 +12,6 @@ ---- New releases are usually announced on `my Website <https://nicolaiarocci.com/tags/cerberus>`_. -Twitter -------- -I often tweet about new features and releases of Cerberus. Follow `@nicolaiarocci -<https://twitter.com/nicolaiarocci>`_. - Mailing List ------------ The `mailing list`_ is intended to be a low traffic resource for users, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/docs/contribute.rst new/cerberus-1.3.7/docs/contribute.rst --- old/cerberus-1.3.5/docs/contribute.rst 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/docs/contribute.rst 2024-12-31 15:21:41.000000000 +0100 @@ -99,11 +99,11 @@ The result can be accessed by opening ``docs/_build/html/index.html``. -.. _Fork: https://docs.github.com/en/free-pro-team@latest/github/getting-started-with-... -.. _`fork and edit`: https://github.blog/2011-04-26-forking-with-the-edit-button/ +.. _Fork: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/wo... +.. _`fork and edit`: https://github.blog/news-insights/the-library/forking-with-the-edit-button/ .. _pre-commit: https://pre-commit.com/ .. _`proper format`: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html -.. _`Pull Request`: https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-is... +.. _`Pull Request`: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/pr... .. _pytest: https://pytest.org .. _repository: https://github.com/pyeve/cerberus .. _tox: https://tox.readthedocs.io diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/docs/funding.rst new/cerberus-1.3.7/docs/funding.rst --- old/cerberus-1.3.5/docs/funding.rst 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/docs/funding.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,33 +0,0 @@ -Funding -======= -We believe that collaboratively funded software can offer outstanding returns -on investment, by encouraging users to collectively share the cost of -development. - -Cerberus continues to be open-source and permissively licensed, but we firmly -believe it is in the commercial best-interest for users of the project to -invest in its ongoing development. - -Signing up as a Backer: - -- Directly contribute to faster releases, more features, and higher quality software. -- Allow more time to be invested in documentation, issue triage, and community support. -- Safeguard the future development of Cerberus. - -If you run a business and is using Cerberus in a revenue-generating product, it -would make business sense to sponsor its development: it ensures the project -that your product relies on stays healthy and actively maintained. It can also -help your exposure in the Cerberus community and makes it easier to attract Cerberus -developers. - -Of course, individual users are also welcome to make a recurring pledge if -Cerberus has helped you in your work or personal projects. Alternatively, -consider donating as a sign of appreciation - like buying me coffee once in -a while :) - -Support Cerberus development ----------------------------- -You can support Cerberus development by pledging on Patreon or donating on PayPal. - -- `Become a Backer <https://www.patreon.com/nicolaiarocci>`_ (recurring pledge) -- `Donate via PayPal <https://www.paypal.com/donate/?cmd=_s-xclick&hosted_button_id=7U7G7EWU7EPNW>`_ (one time) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/docs/index.rst new/cerberus-1.3.7/docs/index.rst --- old/cerberus-1.3.5/docs/index.rst 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/docs/index.rst 2024-12-31 15:21:41.000000000 +0100 @@ -8,8 +8,7 @@ Cerberus provides powerful yet simple and lightweight data validation functionality out of the box and is designed to be easily extensible, allowing -for custom validation. It has no dependencies and is thoroughly tested -from Python 2.7 up to 3.8, PyPy and PyPy3. +for custom validation. It has no dependencies and is thoroughly. At a Glance ----------- @@ -28,19 +27,6 @@ >>> v.validate(document) True -Funding Cerberus ----------------- -Cerberus is a :doc:`collaboratively funded project <funding>`. If you run -a business and are using Cerberus in a revenue-generating product, it would -make business sense to sponsor its development: it ensures the project that -your product relies on stays healthy and actively maintained. - -Individual users are also welcome to make either a recurring pledge or a one -time donation if Cerberus has helped you in your work or personal projects. -Every single sign-up makes a significant impact towards making Cerberus -possible. - -To join the backer ranks, check out `Cerberus campaign on Patreon`_. Table of Contents ----------------- @@ -55,7 +41,6 @@ errors Extending <customize> Contributing <contribute> - Funding <funding> API <api> FAQ <faq> external_resources diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/pyproject.toml new/cerberus-1.3.7/pyproject.toml --- old/cerberus-1.3.5/pyproject.toml 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/pyproject.toml 2024-12-31 15:21:41.000000000 +0100 @@ -4,7 +4,7 @@ [project] name = "Cerberus" -version = "1.3.5" +version = "1.3.7" description = """\ Lightweight, extensible schema and data validation tool for Python\ dictionaries.\ @@ -30,6 +30,8 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] @@ -40,19 +42,28 @@ "documents", "normalization" ] +requires-python = ">=3.7" dependencies = ["importlib-metadata; python_version < '3.8'"] [project.urls] Documentation = "http://docs.python-cerberus.org" Repository = "https://github.com/pyeve/cerberus" + +[tool.black] +safe = true +skip-string-normalization = true + + +[tool.pytest.ini_options] +filterwarnings = [ + "error" +] + + [tool.setuptools] include-package-data = false [tool.setuptools.packages.find] include = ["cerberus"] exclude = ["*.benchmarks", "*.tests"] - -[tool.black] -safe = true -skip-string-normalization = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/pytest.ini new/cerberus-1.3.7/pytest.ini --- old/cerberus-1.3.5/pytest.ini 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/pytest.ini 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -[pytest] -addopts = --maxfail=2 -rf -norecursedirs = documents diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cerberus-1.3.5/tox.ini new/cerberus-1.3.7/tox.ini --- old/cerberus-1.3.5/tox.ini 2023-08-09 14:48:27.000000000 +0200 +++ new/cerberus-1.3.7/tox.ini 2024-12-31 15:21:41.000000000 +0100 @@ -1,5 +1,5 @@ [tox] -envlist=py37,py38,py39,py310,py311,pypy3,doclinks,doctest,linting +envlist=py37,py38,py39,py310,py311,py312,pypy3,doclinks,doctest,linting [testenv] deps=pytest
participants (1)
-
Source-Sync