Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Add Python 3.7 and fix tests with new zope.annotation
Browse files Browse the repository at this point in the history
Fixes #2
  • Loading branch information
jamadden committed Oct 21, 2018
1 parent 7c26145 commit 9b23581
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 21 deletions.
17 changes: 12 additions & 5 deletions .travis.yml
@@ -1,11 +1,18 @@
language: python
sudo: false
python:
- 2.7
- pypy-5.4.1
- 3.4
- 3.5
- 3.6
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
- pypy3
matrix:
include:
- python: "3.7"
dist: xenial
sudo: true

install:
- pip install -U pip setuptools
- pip install -U coverage coveralls
Expand Down
20 changes: 10 additions & 10 deletions CHANGES.rst
@@ -1,15 +1,15 @@
=======
CHANGES
=======
=========
CHANGES
=========

4.0.1 (unreleased)
------------------
4.1.0 (unreleased)
==================

- Nothing changed yet.
- Add support for Python 3.7.


4.0.0 (2017-04-22)
------------------
==================

- Add support for Python 3.4, 3.5, and 3.6 and PyPy.

Expand All @@ -20,17 +20,17 @@ CHANGES
- Removed zope.app.testing dependency.

3.5.1 (2009-12-15)
------------------
==================

- Added missing zcml namespace to the configure file.

3.5.0 (2009-12-15)
------------------
==================

- Moved CheckDependency event handler and its tests into this package from
its former place in zope.container.

3.4.0 (2007-10-23)
------------------
==================

- Initial release independent of the main Zope tree.
5 changes: 3 additions & 2 deletions setup.py
Expand Up @@ -25,7 +25,7 @@ def read(*rnames):
with open(os.path.join(os.path.dirname(__file__), *rnames)) as f:
return f.read()

version = '4.0.1.dev0'
version = '4.1.0.dev0'
tests_require = [
'zope.container',
'zope.testing',
Expand Down Expand Up @@ -55,14 +55,15 @@ def read(*rnames):
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Zope :: 3',
],
url='http://github.com/zopefoundation/zope.app.dependable',
url='https://github.com/zopefoundation/zope.app.dependable',
license='ZPL 2.1',
packages=find_packages('src'),
package_dir={'': 'src'},
Expand Down
5 changes: 2 additions & 3 deletions src/zope/app/dependable/tests.py
Expand Up @@ -56,7 +56,7 @@ def testVerifyInterface(self):

def testBasic(self):
dependable = self.factory()
self.failIf(dependable.dependents())
self.assertFalse(dependable.dependents())
dependable.addDependent('/a/b')
dependable.addDependent('/c/d')
dependable.addDependent('/c/e')
Expand Down Expand Up @@ -101,8 +101,7 @@ def testWithParent(self):
parent.__name__ = 'parent'
parent.__parent__ = grandparent

obj = AttributeAnnotations(C())
obj.__parent__ = parent
obj = AttributeAnnotations(parent)
obj.__name__ = 'obj'

from zope.traversing.api import getPath
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
py27, pypy, py34, py35, py36
py27, pypy, py34, py35, py36, py37

[testenv]
commands =
Expand Down

0 comments on commit 9b23581

Please sign in to comment.