version-query 1.5.4__tar.gz → 1.5.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {version-query-1.5.4 → version_query-1.5.5}/NOTICE +1 -1
- {version-query-1.5.4/version_query.egg-info → version_query-1.5.5}/PKG-INFO +9 -4
- version_query-1.5.5/requirements.txt +4 -0
- {version-query-1.5.4 → version_query-1.5.5}/setup.py +1 -0
- {version-query-1.5.4 → version_query-1.5.5}/test/__init__.py +1 -1
- {version-query-1.5.4 → version_query-1.5.5}/version_query/__main__.py +1 -1
- {version-query-1.5.4 → version_query-1.5.5}/version_query/main.py +6 -5
- {version-query-1.5.4 → version_query-1.5.5/version_query.egg-info}/PKG-INFO +9 -4
- version_query-1.5.5/version_query.egg-info/requires.txt +4 -0
- version-query-1.5.4/requirements.txt +0 -4
- version-query-1.5.4/version_query.egg-info/requires.txt +0 -4
- {version-query-1.5.4 → version_query-1.5.5}/LICENSE +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/MANIFEST.in +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/README.rst +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/pyproject.toml +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/requirements_test.txt +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/setup.cfg +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/test/examples.py +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/test/test_git.py +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/test/test_packaging.py +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/test/test_query.py +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/test/test_version.py +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/version_query/__init__.py +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/version_query/_version.py +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/version_query/git_query.py +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/version_query/py.typed +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/version_query/py_query.py +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/version_query/query.py +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/version_query/version.py +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/version_query.egg-info/SOURCES.txt +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/version_query.egg-info/dependency_links.txt +0 -0
- {version-query-1.5.4 → version_query-1.5.5}/version_query.egg-info/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
version-query
|
|
2
|
-
Copyright (c) 2017-
|
|
2
|
+
Copyright (c) 2017-2024 Mateusz Bysiek https://mbdevpl.github.io/
|
|
3
3
|
Copyright (c) 2020 John Vandenberg https://github.com/jayvdb
|
|
4
4
|
|
|
5
5
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: version-query
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.5
|
|
4
4
|
Summary: Zero-overhead package versioning for Python.
|
|
5
5
|
Home-page: https://github.com/mbdevpl/version-query
|
|
6
6
|
Download-URL:
|
|
@@ -22,6 +22,7 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
26
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
26
27
|
Classifier: Topic :: Software Development :: Version Control
|
|
27
28
|
Classifier: Topic :: Software Development :: Version Control :: Git
|
|
@@ -32,6 +33,10 @@ Requires-Python: >=3.8
|
|
|
32
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
34
|
License-File: LICENSE
|
|
34
35
|
License-File: NOTICE
|
|
36
|
+
Requires-Dist: boilerplates[cli,logging]~=1.0
|
|
37
|
+
Requires-Dist: GitPython~=3.1
|
|
38
|
+
Requires-Dist: packaging>=23.0
|
|
39
|
+
Requires-Dist: semver<3.1,>=2.13
|
|
35
40
|
|
|
36
41
|
.. role:: bash(code)
|
|
37
42
|
:language: bash
|
|
@@ -63,7 +68,7 @@ Zero-overhead package versioning for Python.
|
|
|
63
68
|
:alt: grade from Codacy
|
|
64
69
|
|
|
65
70
|
.. image:: https://img.shields.io/github/license/mbdevpl/version-query.svg
|
|
66
|
-
:target: https://github.com/mbdevpl/version-query/blob/v1.5.
|
|
71
|
+
:target: https://github.com/mbdevpl/version-query/blob/v1.5.5/NOTICE
|
|
67
72
|
:alt: license
|
|
68
73
|
|
|
69
74
|
Package versioning toolkit for Python which relies on git tags, git history traversal
|
|
@@ -473,8 +478,8 @@ Requirements
|
|
|
473
478
|
|
|
474
479
|
Python version 3.8 or later.
|
|
475
480
|
|
|
476
|
-
Python libraries as specified in `requirements.txt <https://github.com/mbdevpl/version-query/blob/v1.5.
|
|
481
|
+
Python libraries as specified in `requirements.txt <https://github.com/mbdevpl/version-query/blob/v1.5.5/requirements.txt>`_.
|
|
477
482
|
|
|
478
|
-
Building and running tests additionally requires packages listed in `requirements_test.txt <https://github.com/mbdevpl/version-query/blob/v1.5.
|
|
483
|
+
Building and running tests additionally requires packages listed in `requirements_test.txt <https://github.com/mbdevpl/version-query/blob/v1.5.5/requirements_test.txt>`_.
|
|
479
484
|
|
|
480
485
|
Tested on Linux, macOS and Windows.
|
|
@@ -24,6 +24,7 @@ class Package(boilerplates.setup.Package):
|
|
|
24
24
|
'Programming Language :: Python :: 3.9',
|
|
25
25
|
'Programming Language :: Python :: 3.10',
|
|
26
26
|
'Programming Language :: Python :: 3.11',
|
|
27
|
+
'Programming Language :: Python :: 3.12',
|
|
27
28
|
'Programming Language :: Python :: 3 :: Only',
|
|
28
29
|
'Topic :: Software Development :: Version Control',
|
|
29
30
|
'Topic :: Software Development :: Version Control :: Git',
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import argparse
|
|
4
4
|
import pathlib
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
from boilerplates.cli import make_copyright_notice, add_version_option
|
|
6
7
|
|
|
7
8
|
from ._version import VERSION
|
|
8
9
|
from .version import VersionComponent
|
|
@@ -18,17 +19,17 @@ def main(args=None, namespace=None) -> None:
|
|
|
18
19
|
prog='version_query',
|
|
19
20
|
description='''Tool for querying current versions of Python packages. Use LOGGING_LEVEL
|
|
20
21
|
environment variable to adjust logging level.''',
|
|
21
|
-
epilog=
|
|
22
|
-
|
|
22
|
+
epilog=make_copyright_notice(
|
|
23
|
+
2017, 2024, author='the contributors', url='https://github.com/mbdevpl/version-query'),
|
|
23
24
|
formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
|
25
|
+
add_version_option(parser, VERSION)
|
|
26
|
+
|
|
24
27
|
parser.add_argument('-i', '--increment', action='store_true', help='''output version string for
|
|
25
28
|
next patch release, i.e. if version is 1.0.3, output 1.0.4''')
|
|
26
29
|
parser.add_argument('-p', '--predict', action='store_true', help='''operate in prediction mode,
|
|
27
30
|
i.e. assume existence of git repository and infer current version from
|
|
28
31
|
its tags, history and working tree status''')
|
|
29
32
|
parser.add_argument('path', type=pathlib.Path)
|
|
30
|
-
parser.add_argument('--version', action='version',
|
|
31
|
-
version=f'{parser.prog} {VERSION},\nPython {sys.version}')
|
|
32
33
|
parsed_args = parser.parse_args(args=args, namespace=namespace)
|
|
33
34
|
if parsed_args.predict and parsed_args.increment:
|
|
34
35
|
raise ValueError(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: version-query
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.5
|
|
4
4
|
Summary: Zero-overhead package versioning for Python.
|
|
5
5
|
Home-page: https://github.com/mbdevpl/version-query
|
|
6
6
|
Download-URL:
|
|
@@ -22,6 +22,7 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
26
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
26
27
|
Classifier: Topic :: Software Development :: Version Control
|
|
27
28
|
Classifier: Topic :: Software Development :: Version Control :: Git
|
|
@@ -32,6 +33,10 @@ Requires-Python: >=3.8
|
|
|
32
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
33
34
|
License-File: LICENSE
|
|
34
35
|
License-File: NOTICE
|
|
36
|
+
Requires-Dist: boilerplates[cli,logging]~=1.0
|
|
37
|
+
Requires-Dist: GitPython~=3.1
|
|
38
|
+
Requires-Dist: packaging>=23.0
|
|
39
|
+
Requires-Dist: semver<3.1,>=2.13
|
|
35
40
|
|
|
36
41
|
.. role:: bash(code)
|
|
37
42
|
:language: bash
|
|
@@ -63,7 +68,7 @@ Zero-overhead package versioning for Python.
|
|
|
63
68
|
:alt: grade from Codacy
|
|
64
69
|
|
|
65
70
|
.. image:: https://img.shields.io/github/license/mbdevpl/version-query.svg
|
|
66
|
-
:target: https://github.com/mbdevpl/version-query/blob/v1.5.
|
|
71
|
+
:target: https://github.com/mbdevpl/version-query/blob/v1.5.5/NOTICE
|
|
67
72
|
:alt: license
|
|
68
73
|
|
|
69
74
|
Package versioning toolkit for Python which relies on git tags, git history traversal
|
|
@@ -473,8 +478,8 @@ Requirements
|
|
|
473
478
|
|
|
474
479
|
Python version 3.8 or later.
|
|
475
480
|
|
|
476
|
-
Python libraries as specified in `requirements.txt <https://github.com/mbdevpl/version-query/blob/v1.5.
|
|
481
|
+
Python libraries as specified in `requirements.txt <https://github.com/mbdevpl/version-query/blob/v1.5.5/requirements.txt>`_.
|
|
477
482
|
|
|
478
|
-
Building and running tests additionally requires packages listed in `requirements_test.txt <https://github.com/mbdevpl/version-query/blob/v1.5.
|
|
483
|
+
Building and running tests additionally requires packages listed in `requirements_test.txt <https://github.com/mbdevpl/version-query/blob/v1.5.5/requirements_test.txt>`_.
|
|
479
484
|
|
|
480
485
|
Tested on Linux, macOS and Windows.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|