Ejemplo n.º 1
0
# BBB. Remove in Version 5.0
from zope.deprecation import moved
moved('zope.component', 'Version 5.0')
Ejemplo n.º 2
0
from zope import deprecation

deprecation.moved(
    'openprocurement.auctions.core.tests.plugins.contracting.base.tests.test_validators',
    'version update')
Ejemplo n.º 3
0
from zope import deprecation

deprecation.moved('openprocurement.auctions.core.tests.plugins.awarding.v2.tests.blanks.chronograph_blanks', 'version update')
from zope import deprecation

deprecation.moved(
    'openprocurement.auctions.core.tests.plugins.awarding.v1.tests.base',
    'version update')
from zope import deprecation

deprecation.moved('openprocurement.auctions.core.tests.plugins.contracting.v1.tests.contract', 'version update')
Ejemplo n.º 6
0
# -*- coding: utf-8 -*-
###
# collective.zamqp
#
# Licensed under the GPL license, see LICENCE.txt for more details.
#
# Copyright by Affinitic sprl
# Copyright (c) 2012 University of Jyväskylä
###

# BBB for affinitic.zamqp

from zope.deprecation import deprecated, moved

from collective.zamqp.producer import Producer


Publisher = Producer
deprecated('Publisher',
           'Publisher is no more. Please, use Producer instead.')

moved('collective.zamqp.producer', 'version 1.0.0')
Ejemplo n.º 7
0
from zope import deprecation

deprecation.moved(
    'openprocurement.auctions.core.tests.plugins.contracting.v3.tests.blanks.fixtures.prolongation',
    'version update')
from zope import deprecation

deprecation.moved(
    'openprocurement.auctions.core.tests.plugins.contracting.v3.tests.chronograph',
    'version 2')
Ejemplo n.º 9
0
# -*- coding: utf-8 -*-
from zope.deprecation import moved


moved(
    'plone.app.z3cform.objectsubform',
    'Version 3.0, because "object" in a builtin'
)
Ejemplo n.º 10
0
# -*- coding: utf-8 -*-
from zope.deprecation import moved

moved('plone.app.z3cform.objectsubform',
      'Version 3.0, because "object" in a builtin')
Ejemplo n.º 11
0
from zope import deprecation

deprecation.moved(
    'openprocurement.auctions.core.tests.plugins.contracting.v3.tests.unit.contract_validation',
    'version update')
Ejemplo n.º 12
0
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Hooks for getting and setting a site in the thread global namespace.
"""
# BBB. Remove in Version 5.0
from zope.deprecation import moved

moved('zope.component.hooks', 'Version 5.0')
Ejemplo n.º 13
0
# -*- coding: utf-8 -*-
###
# collective.zamqp
#
# Licensed under the ZPL license, see LICENCE.txt for more details.
#
# Copyright (c) 2012 University of Jyväskylä and Contributors.
###

# BBB for affinitic.zamqp

from zope.deprecation import deprecated, moved

from collective.zamqp.producer import Producer

Publisher = Producer
deprecated('Publisher', 'Publisher is no more. Please, use Producer instead.')

moved('collective.zamqp.producer', 'version 1.0.0')
Ejemplo n.º 14
0
# -*- coding: utf-8 -*-
"""
Test support for schemas and interfaces, mostly in the form of
Hamcrest matchers.

The following functions can still be imported from here, but have been
moved to :mod:`nti.testing.matchers`:

- :func:`~nti.testing.matchers.provides`
- :func:`~nti.testing.matchers.implements`
- :func:`~nti.testing.matchers.verifiably_provides`
- :func:`~nti.testing.matchers.validly_provides`
- :func:`~nti.testing.matchers.validated_by`
- :func:`~nti.testing.matchers.not_validated_by`
"""

from __future__ import division
from __future__ import print_function

from zope.deprecation import moved
moved('nti.testing.matchers')
from zope import deprecation

deprecation.moved(
    'openprocurement.auctions.core.tests.plugins.contracting.v3.tests.unit.prolongation_manager',
    'version update')
# -*- coding: utf-8 -*-
from zope.deprecation import moved

message = "openprocurement.auctions.core.models now contains submodules: schema, validators and roles. "
"Please, re-import your stuff from there"

moved('openprocurement.auctions.core.models.schema', message)
moved('openprocurement.auctions.core.models.roles', message)
moved('openprocurement.auctions.core.models.validators', message)