Skip to content

Commit

Permalink
Merge ffadbcb into a1b72cc
Browse files Browse the repository at this point in the history
  • Loading branch information
vernans committed Oct 6, 2018
2 parents a1b72cc + ffadbcb commit b07b1f7
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -12,6 +12,12 @@ python:
- pypy
- pypy3

matrix:
include:
- python: "3.7"
dist: xenial
sudo: true

script:
- coverage run -m zope.testrunner --test-path=src
- if [[ -z "$MINIMAL" ]]; then sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html; fi
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.rst
Expand Up @@ -4,9 +4,12 @@ Changes
4.4.2 (unreleased)
------------------

- Add support for Python 3.7.

- Always install ``zope.hookable`` as a dependency (the ``hook``
extra is now empty). ``zope.hookable`` respects the PURE_PYTHON
environment variable, and has an optional C extension.

- Make accessing names that have been moved to ``zope.interface``
produce a ``DeprecationWarning``.

Expand Down
13 changes: 6 additions & 7 deletions docs/zcml.rst
Expand Up @@ -139,9 +139,8 @@ Of course, if no factory is provided at all, we will get an error:
... />''')
Traceback (most recent call last):
...
ZopeXMLConfigurationError: File "<string>", line 4.2-8.8
ValueError: No factory specified

ComponentConfigurationError: No factory specified
File "<string>", line 4.2-8.8

Declaring ``for``, ``provides`` and ``name`` in Python
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -311,8 +310,8 @@ Chained factories are not supported for multi-adapters, though:
... />''')
Traceback (most recent call last):
...
ZopeXMLConfigurationError: File "<string>", line 4.2-11.8
ValueError: Can't use multiple factories and multiple for
ComponentConfigurationError: Can't use multiple factories and multiple for
File "<string>", line 4.2-11.8

And neither for null-adapters:

Expand All @@ -328,8 +327,8 @@ And neither for null-adapters:
... />''')
Traceback (most recent call last):
...
ZopeXMLConfigurationError: File "<string>", line 4.2-9.8
ValueError: Can't use multiple factories and multiple for
ComponentConfigurationError: Can't use multiple factories and multiple for
File "<string>", line 4.2-9.8

Protected adapters
~~~~~~~~~~~~~~~~~~
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -89,6 +89,7 @@ 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",
"Framework :: Zope3",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -2,7 +2,7 @@
envlist =
# Jython support pending 2.7 support, due 2012-07-15 or so. See:
# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
py27,py27-minimal,pypy,py34,py35,py36,pypy3,docs
py27,py27-minimal,pypy,py34,py35,py36,py37,pypy3,docs

[mindeps]
deps =
Expand Down

0 comments on commit b07b1f7

Please sign in to comment.