Skip to content

Commit

Permalink
Merge 25744a0 into beb3161
Browse files Browse the repository at this point in the history
  • Loading branch information
sallner committed Sep 28, 2020
2 parents beb3161 + 25744a0 commit 1da114a
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -11,7 +11,7 @@ matrix:
env: TOXENV=py35
- python: "3.6"
env: TOXENV=py36
- python: "3.7"
- python: "3.7.8"
env: TOXENV=py37
- python: "3.8"
env: TOXENV=py38
Expand Down
9 changes: 8 additions & 1 deletion CHANGES.rst
Expand Up @@ -3,9 +3,16 @@ Changelog

For changes before version 3.0, see ``HISTORY.rst``.

4.3 (unreleased)
5.0 (unreleased)
----------------

- Remove deprecated classes and functions in
(see `#32 <https://github.com/zopefoundation/AccessControl/issues/32>`_):

+ ``AccessControl/DTML.py``
+ ``AccessControl/Owned.py``
+ ``AccessControl/Permissions.py``

- Add deprecation warnings for BBB imports in:

+ ``AccessControl/AuthEncoding.py``
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -32,7 +32,7 @@
join('include', 'Acquisition', 'Acquisition.h')]),
]

version = '4.3.dev0'
version = '5.0.dev0'


setup(name='AccessControl',
Expand Down
24 changes: 0 additions & 24 deletions src/AccessControl/DTML.py

This file was deleted.

11 changes: 0 additions & 11 deletions src/AccessControl/Permissions.py
Expand Up @@ -13,9 +13,6 @@
"""Constant definitions for built-in Zope permissions
"""

from zope.deferredimport import deprecated


access_contents_information = 'Access contents information'
add_database_methods = 'Add Database Methods'
add_documents_images_and_files = 'Add Documents, Images, and Files'
Expand Down Expand Up @@ -67,11 +64,3 @@
webdav_manage_locks = 'Manage WebDAV Locks'
webdav_unlock_items = 'WebDAV Unlock items'
new_loc = 'DocumentTemplate.permissions'

deprecated(
"This permission has moved to %s, please import from there. "
"This backward compatibility shim will be removed in AccessControl "
"version 5." % new_loc,
change_dtml_documents='%s:change_dtml_documents' % new_loc,
change_dtml_methods='%s:change_dtml_methods' % new_loc,
)
@@ -1,4 +1,4 @@
"""Unit tests for AccessControl.Owned
"""Unit tests for AccessControl.owner
"""

import unittest
Expand Down
File renamed without changes.

0 comments on commit 1da114a

Please sign in to comment.