diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2019-08-24 00:08:16 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2019-08-26 21:34:44 +0200 |
commit | 7688b54c4a6005a75301a2e6a477f402311a6a2d (patch) | |
tree | 842637245bc856b4dcca385d8a02aa3521590b16 /semantic_version/__init__.py | |
parent | c4c6ab0e925d8cfabb68d34a10a783cb854b63a0 (diff) | |
download | semantic-version-7688b54c4a6005a75301a2e6a477f402311a6a2d.tar.gz |
Add deprecations for Spec/SpecItem.
The internal features from those classes will be removed in future
versions:
- The `Spec` class is incompatible with the support of multiple syntaxes
- The `SpecItem` class was an implementation detail, but doesn't support
complex `Range` combinations.
Diffstat (limited to 'semantic_version/__init__.py')
-rw-r--r-- | semantic_version/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/semantic_version/__init__.py b/semantic_version/__init__.py index e04e0ba..6092e59 100644 --- a/semantic_version/__init__.py +++ b/semantic_version/__init__.py @@ -3,7 +3,7 @@ # This code is distributed under the two-clause BSD License. -from .base import compare, match, validate, NativeSpec, NpmSpec, Spec, SpecItem, Version +from .base import compare, match, validate, SimpleSpec, NpmSpec, Spec, SpecItem, Version __author__ = "Raphaël Barrois <raphael.barrois+semver@polytechnique.org>" |