[Checkins] SVN: zope.app.http/trunk/ - Replaced the dependency on zope.deprecation with BBB imports

Shane Hathaway shane at hathawaymix.org
Mon May 25 12:35:30 EDT 2009


Log message for revision 100360:
  - Replaced the dependency on zope.deprecation with BBB imports
  
  - Made the dependency on zope.app.publisher (for browser:defaultView) explicit
  

Changed:
  U   zope.app.http/trunk/CHANGES.txt
  U   zope.app.http/trunk/setup.py
  U   zope.app.http/trunk/src/zope/app/http/interfaces.py

-=-
Modified: zope.app.http/trunk/CHANGES.txt
===================================================================
--- zope.app.http/trunk/CHANGES.txt	2009-05-25 16:03:51 UTC (rev 100359)
+++ zope.app.http/trunk/CHANGES.txt	2009-05-25 16:35:29 UTC (rev 100360)
@@ -5,8 +5,10 @@
 3.6.1 (unreleased)
 ------------------
 
-- ...
+- Replaced the dependency on zope.deprecation with BBB imports
 
+- Made the dependency on zope.app.publisher explicit
+
 3.6.0 (2009-05-23)
 ------------------
 

Modified: zope.app.http/trunk/setup.py
===================================================================
--- zope.app.http/trunk/setup.py	2009-05-25 16:03:51 UTC (rev 100359)
+++ zope.app.http/trunk/setup.py	2009-05-25 16:35:29 UTC (rev 100360)
@@ -53,11 +53,11 @@
                 'zope.app.file',
                 'zope.app.zcmlfiles']),
       install_requires=['setuptools',
-                        'zope.deprecation',
                         'zope.interface',
                         'zope.publisher>=3.8.0',
                         'zope.container',
                         'zope.filerepresentation',
+                        'zope.app.publisher',  # for browser:defaultView
                         ],
       include_package_data=True,
       zip_safe=False,

Modified: zope.app.http/trunk/src/zope/app/http/interfaces.py
===================================================================
--- zope.app.http/trunk/src/zope/app/http/interfaces.py	2009-05-25 16:03:51 UTC (rev 100359)
+++ zope.app.http/trunk/src/zope/app/http/interfaces.py	2009-05-25 16:35:29 UTC (rev 100360)
@@ -19,10 +19,7 @@
 
 from zope.interface import Interface, Attribute
 
-from zope.publisher.interfaces.http import IHTTPException
-from zope.deprecation import deprecated
-deprecated(
-    'IHTTPException', "moved to zope.publisher.interfaces.http")
+from zope.publisher.interfaces.http import IHTTPException #BBB import
 
 class INullResource(Interface):
     """Placeholder objects for new container items to be created via PUT



More information about the Checkins mailing list