summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Back to development: 5.1HEADmasterMichael Howitz2023-05-042-1/+7
|
* Preparing release 5.05.0Michael Howitz2023-05-042-2/+2
|
* Config with pure python template (#59)Michael Howitz2023-05-0329-284/+198
| | | | | * Bumped version for breaking release. * Drop support for Python 2.7, 3.5, 3.6. * Fix problem with building the docs.
* Config with pure python (#58)Michael Howitz2022-12-1527-66/+148
| | | | | * Fix GHA: ubuntu-latest no longer contains Python 3.5 and 3.6 * Add support for Python 3.11. * isort imports
* Back to development: 4.4.2Michael Howitz2022-04-072-1/+7
|
* Preparing release 4.4.14.4.1Michael Howitz2022-04-072-2/+2
|
* Add support for Python 3.10 + fix docs.Michael Howitz2022-04-079-20/+45
|
* Fix badgeMichael Howitz2021-05-311-2/+2
| | | [skip ci]
* Lint the code.Michael Howitz2021-05-3125-196/+447
| | | | Add support for Python 3.9.
* Configuring for pure-pythonMichael Howitz2021-05-3110-326/+261
|
* Merge pull request #53 from cjwatson/traceback-reference-cycleColin Watson2021-05-152-7/+15
|\ | | | | Avoid creating reference cycles through tracebacks in reraise
| * Avoid creating reference cycles through tracebacks in reraiseColin Watson2021-05-142-7/+15
|/ | | | | This code was originally copied from ``six``; this brings it up to date with the changes in 1.11.0.
* Merge pull request #52 from zopefoundation/all-repos_autofix_all-repos-sedJens Vagelpohl2020-10-281-2/+2
|\ | | | | Update badge URL for Travis
| * Update badge URL for Travisall-repos_autofix_all-repos-sedJürgen Gmach2020-10-281-2/+2
|/ | | | Committed via https://github.com/asottile/all-repos
* Merge pull request #51 from felixonmars/patch-1Jens Vagelpohl2020-10-141-1/+1
|\ | | | | Correct a typo in interfaces.py
| * Correct a typo in interfaces.pyFelix Yan2020-10-141-1/+1
|/
* Back to development: 4.4.1Jason Madden2020-03-222-1/+7
|
* Preparing release 4.4.04.4.0Jason Madden2020-03-222-2/+2
|
* Merge pull request #50 from zopefoundation/issue49Jason Madden2020-03-2213-39/+83
|\ | | | | Ensure consistent IRO for all objects.
| * Fix IRO for test Schema object.Jason Madden2020-03-221-1/+1
| |
| * Add py38 to tox.ini, and make unittest run our explicit doctests like ↵Jason Madden2020-03-226-21/+7
| | | | | | | | zope.testrunner.
| * Ensure consistent IRO for all objects.issue49Jason Madden2020-03-227-18/+76
|/ | | | | | This requires switching some tests to the plain unittest runner right now because of cyclic dependencies. Fixes #49
* Fix typo.Jürgen Gmach2019-05-031-1/+1
|
* Back to development: 4.4.0Michael Howitz2019-02-122-1/+7
|
* Preparing release 4.3.14.3.1Michael Howitz2019-02-122-2/+2
|
* Merge pull request #46 from zopefoundation/fix-ztk-testsMichael Howitz2019-02-123-5/+12
|\ | | | | Do not break when running the tests from a wheel.
| * Improve output.fix-ztk-testsMichael Howitz2019-02-111-1/+1
| |
| * Use skipping to show that setup.py cannot be found.Michael Howitz2019-02-111-2/+8
| |
| * Do not break when running the tests from a wheel.Michael Howitz2019-02-092-4/+5
|/ | | | | | The wheel does neither include `setup.py` nor the `docs` dir. So omit the documentation tests when no `setup.py` can be found. This should fix the tests in ZTK.
* Add missing min version.Michael Howitz2018-11-031-1/+1
|
* Switch to new Framework :: Zope :: 3 classifierMarius Gedminas2018-10-191-1/+1
| | | | | See https://github.com/zopefoundation/z3c.authviewlet/pull/6#discussion_r226414566 for the background behind this.
* Back to development: 4.3.1Jason Madden2018-10-012-1/+7
|
* Preparing release 4.3.04.3.0Jason Madden2018-10-012-2/+2
|
* Merge pull request #45 from zopefoundation/issue43Jason Madden2018-10-017-109/+196
|\ | | | | Simplify exception chaining and nested exception error messages.
| * Also test the repr of ConfigurationError.issue43Jason Madden2018-09-281-7/+8
| |
| * Include the details also in the invalid default value case too.Jason Madden2018-09-282-6/+25
| |
| * Conflict errors should also report any details.Jason Madden2018-09-282-24/+41
| | | | | | | | Also tweak config.py docs to link to exception classes.
| * Simplify detail formatting and 100% coverage.Jason Madden2018-09-283-13/+35
| |
| * Simplify ZopeSAXParseException.Jason Madden2018-09-282-21/+9
| | | | | | | | We don't seem to need to do the reformating it claimed was for emacs.
| * Simplify the catch block in execute_actions.Jason Madden2018-09-282-21/+12
| |
| * Simplify exception chaining and nested exception error messages.Jason Madden2018-09-287-75/+124
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #43 Given a/b/c/d.zcml included in that order with an error in d.zcml, previously we would get this: ``` Traceback (most recent call last): ... raise InvalidDottedName(value).with_field_and_value(self, value) zope.schema.interfaces.InvalidDottedName: invalid dotted name During handling of the above exception, another exception occurred: Traceback (most recent call last): ... raise InvalidDottedName(value).with_field_and_value(self, value) zope.configuration.exceptions.ConfigurationError: ('Invalid value for', 'package', 'invalid dotted name') During handling of the above exception, another exception occurred: Traceback (most recent call last): ... raise InvalidDottedName(value).with_field_and_value(self, value) zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/tmp/d.zcml", line 2.4-2.58 ConfigurationError: ('Invalid value for', 'package', 'invalid dotted name') During handling of the above exception, another exception occurred: Traceback (most recent call last): ... raise InvalidDottedName(value).with_field_and_value(self, value) zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/tmp/c.zcml", line 2.4-2.29 ZopeXMLConfigurationError: File "/tmp/d.zcml", line 2.4-2.58 ConfigurationError: ('Invalid value for', 'package', 'invalid dotted name') During handling of the above exception, another exception occurred: Traceback (most recent call last): ... raise InvalidDottedName(value).with_field_and_value(self, value) zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/tmp/b.zcml", line 2.4-2.29 ZopeXMLConfigurationError: File "/tmp/c.zcml", line 2.4-2.29 ZopeXMLConfigurationError: File "/tmp/d.zcml", line 2.4-2.58 ConfigurationError: ('Invalid value for', 'package', 'invalid dotted name') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 1, in <module> ... raise InvalidDottedName(value).with_field_and_value(self, value) zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/tmp/a.zcml", line 2.4-2.29 ZopeXMLConfigurationError: File "/tmp/b.zcml", line 2.4-2.29 ZopeXMLConfigurationError: File "/tmp/c.zcml", line 2.4-2.29 ZopeXMLConfigurationError: File "/tmp/d.zcml", line 2.4-2.58 ConfigurationError: ('Invalid value for', 'package', 'invalid dotted name') ``` Now we get the simpler: ``` Traceback (most recent call last): ... File "/Users/jmadden/Projects/GithubSources/zope.schema/src/zope/schema/_field.py", line 670, in _validate raise InvalidDottedName(value).with_field_and_value(self, value) zope.schema.interfaces.InvalidDottedName: invalid dotted name During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 1, in <module> ... raise InvalidDottedName(value).with_field_and_value(self, value) zope.configuration.exceptions.ConfigurationError: Invalid value for 'package': InvalidDottedName('invalid dotted name') zope.schema.interfaces.InvalidDottedName: invalid dotted name File "/tmp/d.zcml", line 2.4-2.58 File "/tmp/c.zcml", line 2.4-2.29 File "/tmp/b.zcml", line 2.4-2.29 File "/tmp/a.zcml", line 2.4-2.29 ```
* Merge pull request #44 from zopefoundation/issue40Jason Madden2018-09-2817-1743/+1486
|\ | | | | Unify docs back to .py files
| * Docstring cleanups from review.Jason Madden2018-09-284-40/+39
| |
| * Unify docs for xmlconfig.rst/py back into .pyissue40Jason Madden2018-09-273-224/+171
| |
| * Unify docs for config.rst/py back into .pyJason Madden2018-09-272-1069/+867
| |
| * Tweak docs for IConfigurationContext.action.Jason Madden2018-09-271-10/+19
| |
| * A simple automodule:: suffices for .interfaces.Jason Madden2018-09-271-15/+4
| |
| * No need to repeat all the docs for zopeconfigure twice.Jason Madden2018-09-272-4/+7
| |
| * Unify docs for name.rst/py back into .py. Note that the functions never had ↵Jason Madden2018-09-272-10/+9
| | | | | | | | any actual documentation and are not used here, so leave a warning that they might get deprecated.
| * Unify docs for docutils.rst/py back into .pyJason Madden2018-09-272-32/+31
| |