Skip to content

Commit

Permalink
Fix #33 by using the correct import location.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Sep 10, 2020
1 parent 5daf49c commit 3d3298e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
- Fix tests with, and require, zope.site 4.4.0 or above. See
:issue:`34`.

- Fix deprecation warning from ``nti.transactions``. Requires
``nti.transactions`` 4.0. See :issue:`33`.

2.2.0 (2020-07-30)
==================

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def _read(fname):
# do the same in regular deps.
'ZODB >= 5.6.0',
'nti.schema',
'nti.transactions >= 3.0.0',
'nti.transactions >= 4.0.0', # nti.transactions.loop
'persistent',
'setuptools',
'six',
Expand Down
2 changes: 1 addition & 1 deletion src/nti/site/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from ZODB.interfaces import IDatabase

from nti.transactions.transactions import TransactionLoop
from nti.transactions.loop import TransactionLoop

from nti.site.interfaces import SiteNotInstalledError

Expand Down

0 comments on commit 3d3298e

Please sign in to comment.