Skip to content

Commit b9ed32d

Browse files
committed
Use inversion instead of verspec
1 parent cc0c930 commit b9ed32d

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎CHANGES.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
- *pkg-config* `.pc` files now always use POSIX-like paths
7777
- Fix display of the traceback in a bfg file when building from the build
7878
directory
79-
- Replace `packaging` dependency with `verspec` for future stability
79+
- Replace `packaging` dependency with `inversion` for future stability
8080

8181
[mopack]: https://jimporter.github.io/mopack/
8282

‎bfg9000/versioning.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import platform
22
import re
33
from itertools import chain
4-
from verspec.loose import Version, Specifier, SpecifierSet, InvalidSpecifier
5-
from verspec.python import PythonVersion, PythonSpecifier, PythonSpecifierSet
4+
from inversion.loose import Version, Specifier, SpecifierSet, InvalidSpecifier
5+
from inversion.python import PythonVersion, PythonSpecifier, PythonSpecifierSet
66

77
from .app_version import version as bfg_version
88
from .exceptions import VersionError

‎doc/developer/backends.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ The default is the backend with the highest priority that's also "valid" (i.e.
5757

5858
### backend.version() { #backend-version }
5959

60-
Return the version (as a [*verspec.loose.Version*][verspec] object -- also
60+
Return the version (as an [*inversion.loose.Version*][inversion] object -- also
6161
aliased as `bfg9000.versioning.Version`) of this build backend's underlying
6262
tool. If the tool can't be found (or is otherwise broken), this returns *None*.
6363

6464
[entry-point]: https://setuptools.readthedocs.io/en/latest/setuptools.html#dynamic-discovery-of-services-and-plugins
65-
[verspec]: https://github.com/jimporter/verspec/
65+
[inversion]: https://github.com/jimporter/inversion/

‎mkdocs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from verspec.python import Version
1+
from inversion.python import Version
22

33
from bfg9000.app_version import version as version_str
44

‎setup.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def run(self):
5050
}
5151

5252
try:
53-
from verspec.python import Version
53+
from inversion.python import Version
5454

5555
class DocServe(Command):
5656
description = 'serve the documentation locally'
@@ -184,9 +184,9 @@ def run(self):
184184
packages=find_packages(exclude=['test', 'test.*']),
185185

186186
python_requires='>=3.8',
187-
install_requires=(
188-
['colorama', 'importlib_metadata', 'pyyaml', 'verspec'] + more_requires
189-
),
187+
install_requires=([
188+
'colorama', 'importlib_metadata', 'inversion', 'pyyaml'
189+
] + more_requires),
190190
extras_require={
191191
'dev': ['coverage', 'flake8 >= 3.7', 'flake8-quotes', 'lxml',
192192
'mike >= 2.0.0', 'mkdocs-bootswatch-classic >= 1.0',

0 commit comments

Comments
 (0)