summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Annotate method so it doesn’t decrease coverage.fix_register_instance_methodsMartin Häcker2017-09-151-1/+1
|
* Fixes #12 - registering instance methods as listeners doesn’t allow to ↵Martin Häcker2017-09-142-1/+12
| | | | easily unregister them as the registry tries to find the handler with 'is' but it should use '==' to allow the python BoundMethod wrapper (which is a new instance every time instance.$methodname is accessed).
* Merge pull request #99 from avanov/masterTres Seaver2017-09-013-2/+13
|\ | | | | Drop `__annotations__` in interface declarations, added to interface definitions with Python 3.x type hints.
| * Drop __annotations__ in interface declarationsMaxim Avanov2017-09-013-2/+13
|/
* Back to development: 4.4.3Jason Madden2017-06-142-1/+7
|
* Preparing release 4.4.24.4.2Jason Madden2017-06-142-2/+2
|
* Our wheels are *not* universal. Set this explicitly in setup.cfg so that ↵Jason Madden2017-06-141-0/+3
| | | | zest.releaser doesn't try to create and upload one.
* Merge pull request #95 from zopefoundation/combined-coverageJason Madden2017-06-1416-73/+83
|\ | | | | Enable combined coverage reports under tox and branch coverage
| * cleanups requested by @tseaver: remove assert from _implements since all its ↵Jason Madden2017-06-142-3/+5
| | | | | | | | callers already do this guard; be more explicit about ClassType in test_odd_declarations
| * Enable combined coverage reports under tox and branch coveragecombined-coverageJason Madden2017-06-1416-72/+80
| | | | | | | | | | | | | | | | Fixes #91 Remove many (or most) now-redundant 'pragma: no cover'. A few minor test changes to get full branch coverage.
* | Merge pull request #94 from zopefoundation/issue93Jason Madden2017-06-143-13/+73
|\ \ | |/ |/| Fix the cache getting out of sync with _utility_registrations.
| * Fix the cache getting out of sync with _utility_registrations.issue93Jason Madden2017-06-143-13/+73
|/ | | | Fixes #93
* Merge pull request #92 from zopefoundation/issue85-take2-reduceJason Madden2017-06-143-8/+126
|\ | | | | Fix #85 by implementing __reduce__ to omit _v_ attributes.
| * Fix #85 by implementing __reduce__ to omit _v_ attributes.issue85-take2-reduceJason Madden2017-06-143-8/+126
|/ | | | | | | | | | This is an alternative to #86 and was suggested by @mgedmin in #85. There are tests to be sure this works for subclasses like Pyramid's Registry that extend dict too. This doesn't change the pickle format, we were storing the output of object.__reduce__ previously.
* 100% coverage (#90)Jason Madden2017-06-1216-274/+200
| | | | | | | | | | | | | | | | | | | | | * Get as close to 100% coverage as possible. Without conflicting with #86. This is almost entirely trivial changes: - Make dummy methods that should never be called either raise NotImplementedError or call self.fail() in tests. - Standardize the no-coverage pragma - Add a few pragmas where coverage varies across versions/implementations, mostly for the sake of tox (travis should hit them all). * Convert tox to run the coverage command, like travis. A follow up should have it produce coverage for all python versions/implementations. Fixes #87 * Adjust coverage config for py2 only tests; fix typo; finish replacing self with cls
* Enable coveralls (#89)Jason Madden2017-06-091-4/+12
| | | | | | | | | | | | | | | | | * Enable coveralls Test coverage is not at 100% yet so it should fail this PR. Also enable pip caching since we are installing more deps. Update PyPy versions to latest available for speed and because the old version of PyPy3 can't install newer pip and coverage, etc. Partially addresses #87 * Even newer pypys * Despite the list, pypy-5.6 doesn,t work, it must be 5.6.0
* Test sanity cleanups (#88)Jason Madden2017-06-0819-218/+108
| | | | | | | | | | | | | | | | | | | * Test sanity cleanups Partially addresses #87 - Remove manual lists of tests in favor of loadTestsFromName. This mostly gets all test runners running the same number of tests. - Remove `additional_tests`, which was just duplicating the discovered tests. No modern test runner seems to need it. - Change the two compatibility skip decorators to actually use unitetest skips, which helps with the reporting. * Per @tseaver, drop most test_suite functions. * Port remaining doctest to unittest. * Make the odd tests work on all supported python versions
* Back to development: 4.4.2Jim Fulton2017-05-132-1/+7
|
* Preparing release 4.4.14.4.1Jim Fulton2017-05-132-2/+2
|
* Improve pyromaJim Fulton2017-05-131-0/+1
|
* Merge pull request #84 from zopefoundation/simplify-utility-registrations-cacheJim Fulton2017-05-133-43/+27
|\ | | | | Simply the caching of utility-registration data. In addition to
| * Added some comments to describe the management of _v_utility_registrations_cachesimplify-utility-registrations-cacheJim Fulton2017-05-121-0/+7
| |
| * typoJim Fulton2017-05-121-1/+1
| |
| * Simply the caching of utility-registration data. In addition toJim Fulton2017-05-123-43/+20
|/ | | | | simplification, avoids spurious test failures when checking for leaks in tests with persistent registries.
* Merge pull request #81 from zopefoundation/75-prevent-non-text-name-errorsTres Seaver2017-05-046-4/+85
|\ | | | | Disallow non-text name passed to adapter registry methods.
| * Raise ValueError if non-text name passed to adapter registry methods.75-prevent-non-text-name-errorsTres Seaver2017-05-045-4/+84
| | | | | | | | | | | | Prevents corruption of lookup cache. Alternative to fix proposed in #75.
| * Show missing lines / branches.Tres Seaver2017-05-041-0/+1
|/
* Merge pull request #80 from zopefoundation/manylinux27Forest Gregg2017-04-231-0/+1
|\ | | | | cleanup after manylinux wheelbuilding
| * cleanup after manylinux wheelbuildingmanylinux27Forest Gregg2017-04-221-0/+1
| |
* | svbTres Seaver2017-04-212-1/+6
| |
* | Prep 4.4.0 release.4.4.0Tres Seaver2017-04-212-2/+2
| |
* | Bump minor version due to new Python version support.Tres Seaver2017-04-212-2/+2
|/
* Merge pull request #78 from zopefoundation/manylinuxForest Gregg2017-04-213-1/+44
|\ | | | | CI setup for manylinux wheels on tagged commit
| * CI setup for manylinux wheels on tagged commitmanylinuxForest Gregg2017-04-213-1/+44
|/
* Fix sentence in READMENiels Bom2017-03-201-1/+1
| | | Classes (factories) _implement_, objects _provide_. After first carefully explaining the difference, the docs mix them up.
* Add support for Python 3.6. (#74)Jason Madden2017-01-185-4/+17
| | | | | | | | | | | | | | * Add support for Python 3.6. Also use macpython for all the mac builds. See zopefoundation/persistent#59 * Install the test extra with pip. hopefully this avoids the SSL issue seen in macpython 3.6 (https://travis-ci.org/zopefoundation/zope.interface/jobs/192367647) Also update appveyor.yml
* Always build wheels and archive them as artifactsMarius Gedminas2017-01-121-24/+21
|
* Update zope.wheelbuilder password in appveyor.ymlMarius Gedminas2017-01-121-1/+1
|
* Merge pull request #73 from zopefoundation/issue70Jason Madden2017-01-053-8/+41
|\ | | | | Expose IComponent documentation.
| * Expose IComponent documentation.Jason Madden2017-01-053-8/+41
| |
* | Merge pull request #72 from zopefoundation/issue71Jason Madden2017-01-052-89/+85
|\ \ | |/ |/| Don't redefine METH_KEYWORDS
| * Don't redefine METH_KEYWORDSJason Madden2017-01-052-89/+85
|/ | | | | | Instead, use the intended METH_KEYWORDS | METH_VARARGS spelling. Fixes #71
* svbTres Seaver2016-12-132-1/+6
|
* Prep 4.3.3 release.4.3.3Tres Seaver2016-12-132-2/+2
|
* Garden changelog.Tres Seaver2016-12-131-0/+5
| | | | [ci skip]
* Merge pull request #66 from zopefoundation/41-document-adapter-registry-apiTres Seaver2016-12-063-0/+25
|\ | | | | Document API for adapter registry.
| * Document API for adapter registry.Tres Seaver2016-12-063-0/+25
| | | | | | | | Closes: #41.
* | Fix docstring summary line for 'unregisterAdapter'.Tres Seaver2016-12-061-1/+1
|/ | | | | | Closes #23. [ci skip]
* Merge pull request #64 from zopefoundation/62-ensure-license-file-in-wheelTres Seaver2016-12-061-0/+3
|\ | | | | Ensure that LICENSE.txt is present in built wheels.
| * Ensure that LICENSE.txt is present in built wheels.62-ensure-license-file-in-wheelTres Seaver2016-11-161-0/+3
| |