griffecli 2.3.0__tar.gz → 2.3.1__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.
- {griffecli-2.3.0 → griffecli-2.3.1}/.gitignore +5 -0
- {griffecli-2.3.0 → griffecli-2.3.1}/CHANGELOG.md +12 -0
- {griffecli-2.3.0 → griffecli-2.3.1}/LICENSE +1 -1
- {griffecli-2.3.0 → griffecli-2.3.1}/PKG-INFO +2 -3
- {griffecli-2.3.0 → griffecli-2.3.1}/README.md +1 -1
- {griffecli-2.3.0 → griffecli-2.3.1}/pyproject.toml +0 -2
- {griffecli-2.3.0 → griffecli-2.3.1}/src/griffecli/_internal/cli.py +7 -3
- {griffecli-2.3.0 → griffecli-2.3.1}/src/griffecli/__init__.py +0 -0
- {griffecli-2.3.0 → griffecli-2.3.1}/src/griffecli/__main__.py +0 -0
- {griffecli-2.3.0 → griffecli-2.3.1}/src/griffecli/_internal/__init__.py +0 -0
- {griffecli-2.3.0 → griffecli-2.3.1}/src/griffecli/py.typed +0 -0
- {griffecli-2.3.0 → griffecli-2.3.1}/tests/__init__.py +0 -0
- {griffecli-2.3.0 → griffecli-2.3.1}/tests/test_cli.py +0 -0
|
@@ -5,6 +5,18 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
7
|
<!-- insertion marker -->
|
|
8
|
+
## [2.3.1](https://github.com/mkdocstrings/griffe/releases/tag/2.3.1) - 2026-10-06
|
|
9
|
+
|
|
10
|
+
<small>[Compare with 2.3.0](https://github.com/mkdocstrings/griffe/compare/2.3.0...2.3.1)</small>
|
|
11
|
+
|
|
12
|
+
### Build
|
|
13
|
+
|
|
14
|
+
- Drop support for Python 3.10 ([686993d](https://github.com/mkdocstrings/griffe/commit/686993d4970d9fabbbd33334f88f48e1daed0565) by Timothée Mazzucotelli).
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- Exit gracefully when checking API and no tags are found ([7c898a9](https://github.com/mkdocstrings/griffe/commit/7c898a9685c8ac29e1a4fd7767e85bf830b75a58) by Timothée Mazzucotelli).
|
|
19
|
+
|
|
8
20
|
## [2.3.0](https://github.com/mkdocstrings/griffe/releases/tag/2.3.0) - 2026-09-04
|
|
9
21
|
|
|
10
22
|
<small>[Compare with 2.2.0](https://github.com/mkdocstrings/griffe/compare/2.2.0...2.3.0)</small>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
ISC License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2021, Timothée Mazzucotelli
|
|
3
|
+
Copyright (c) 2021, Timothée Mazzucotelli and contributors
|
|
4
4
|
|
|
5
5
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
6
|
purpose with or without fee is hereby granted, provided that the above
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: griffecli
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API.
|
|
5
5
|
Author-email: Timothée Mazzucotelli <dev@pawamoy.fr>
|
|
6
6
|
License-Expression: ISC
|
|
@@ -10,7 +10,6 @@ Classifier: Intended Audience :: Developers
|
|
|
10
10
|
Classifier: Programming Language :: Python
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.13
|
|
@@ -22,4 +21,4 @@ Classifier: Topic :: Utilities
|
|
|
22
21
|
Classifier: Typing :: Typed
|
|
23
22
|
Requires-Python: >=3.10
|
|
24
23
|
Requires-Dist: colorama>=0.4
|
|
25
|
-
Requires-Dist: griffelib==2.3.
|
|
24
|
+
Requires-Dist: griffelib==2.3.1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Griffe
|
|
2
2
|
|
|
3
3
|
[](https://github.com/mkdocstrings/griffe/actions?query=workflow%3Aci)
|
|
4
|
-
[](https://mkdocstrings.github.io/griffe/)
|
|
5
5
|
[](https://pypi.org/project/griffe/)
|
|
6
6
|
[](https://app.gitter.im/#/room/#mkdocstrings_griffe:gitter.im)
|
|
7
7
|
[](https://app.radicle.at/nodes/seed.radicle.at/rad:z4M5XTPDD4Wh1sm8iPCenF85J3z8Z)
|
|
@@ -19,8 +19,6 @@ classifiers = [
|
|
|
19
19
|
"Programming Language :: Python",
|
|
20
20
|
"Programming Language :: Python :: 3",
|
|
21
21
|
"Programming Language :: Python :: 3 :: Only",
|
|
22
|
-
# YORE: EOL 3.10: Remove line.
|
|
23
|
-
"Programming Language :: Python :: 3.10",
|
|
24
22
|
# YORE: EOL 3.11: Remove line.
|
|
25
23
|
"Programming Language :: Python :: 3.11",
|
|
26
24
|
# YORE: EOL 3.12: Remove line.
|
|
@@ -34,7 +34,7 @@ import logging
|
|
|
34
34
|
import os
|
|
35
35
|
import re
|
|
36
36
|
import sys
|
|
37
|
-
from datetime import
|
|
37
|
+
from datetime import UTC, datetime
|
|
38
38
|
from pathlib import Path
|
|
39
39
|
from typing import IO, TYPE_CHECKING, Any
|
|
40
40
|
|
|
@@ -439,7 +439,7 @@ def dump(
|
|
|
439
439
|
data_packages = loader.modules_collection.members
|
|
440
440
|
|
|
441
441
|
# Serialize and dump packages.
|
|
442
|
-
started = datetime.now(tz=
|
|
442
|
+
started = datetime.now(tz=UTC)
|
|
443
443
|
if per_package_output:
|
|
444
444
|
for package_name, data in data_packages.items():
|
|
445
445
|
serialized = data.as_json(indent=2, full=full, sort_keys=True)
|
|
@@ -447,7 +447,7 @@ def dump(
|
|
|
447
447
|
else:
|
|
448
448
|
serialized = json.dumps(data_packages, cls=JSONEncoder, indent=2, full=full, sort_keys=True)
|
|
449
449
|
_print_data(serialized, output)
|
|
450
|
-
elapsed = datetime.now(tz=
|
|
450
|
+
elapsed = datetime.now(tz=UTC) - started
|
|
451
451
|
|
|
452
452
|
if stats:
|
|
453
453
|
loader_stats = loader.stats()
|
|
@@ -561,6 +561,10 @@ def check(
|
|
|
561
561
|
print(f"griffe: error: {error}", file=sys.stderr)
|
|
562
562
|
return 2
|
|
563
563
|
|
|
564
|
+
if not against:
|
|
565
|
+
print("griffe: info: 'against' ref not specified and no tags found", file=sys.stderr)
|
|
566
|
+
return 0
|
|
567
|
+
|
|
564
568
|
# Load old and new version of the package.
|
|
565
569
|
old_package = load_git(
|
|
566
570
|
against_path,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|