griffecli 2.3.0__tar.gz → 2.3.2__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.
@@ -1,6 +1,10 @@
1
1
  # editors
2
2
  .idea/
3
3
  .vscode/
4
+ .zed
5
+
6
+ # environment
7
+ .env
4
8
 
5
9
  # python
6
10
  *.egg-info/
@@ -13,6 +17,7 @@ dist/
13
17
  # tools
14
18
  .coverage*
15
19
  /.pdm-build/
20
+ /docs/griffe.json
16
21
  /htmlcov/
17
22
  /site/
18
23
  uv.lock
@@ -5,6 +5,26 @@ 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.2](https://github.com/mkdocstrings/griffe/releases/tag/2.3.2) - 2026-10-06
9
+
10
+ <small>[Compare with 2.3.1](https://github.com/mkdocstrings/griffe/compare/2.3.1...2.3.2)</small>
11
+
12
+ ### Build
13
+
14
+ - Drop support for Python 3.10 in griffelib and griffecli packages ([7c45a8f](https://github.com/mkdocstrings/griffe/commit/7c45a8f9785d085b38a2809d98d11faabfd5a5b5) by Timothée Mazzucotelli).
15
+
16
+ ## [2.3.1](https://github.com/mkdocstrings/griffe/releases/tag/2.3.1) - 2026-10-06
17
+
18
+ <small>[Compare with 2.3.0](https://github.com/mkdocstrings/griffe/compare/2.3.0...2.3.1)</small>
19
+
20
+ ### Build
21
+
22
+ - Drop support for Python 3.10 ([686993d](https://github.com/mkdocstrings/griffe/commit/686993d4970d9fabbbd33334f88f48e1daed0565) by Timothée Mazzucotelli).
23
+
24
+ ### Bug Fixes
25
+
26
+ - Exit gracefully when checking API and no tags are found ([7c898a9](https://github.com/mkdocstrings/griffe/commit/7c898a9685c8ac29e1a4fd7767e85bf830b75a58) by Timothée Mazzucotelli).
27
+
8
28
  ## [2.3.0](https://github.com/mkdocstrings/griffe/releases/tag/2.3.0) - 2026-09-04
9
29
 
10
30
  <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.0
3
+ Version: 2.3.2
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,16 +10,16 @@ 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
17
16
  Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
18
  Classifier: Topic :: Documentation
19
19
  Classifier: Topic :: Software Development
20
20
  Classifier: Topic :: Software Development :: Documentation
21
21
  Classifier: Topic :: Utilities
22
22
  Classifier: Typing :: Typed
23
- Requires-Python: >=3.10
23
+ Requires-Python: >=3.11
24
24
  Requires-Dist: colorama>=0.4
25
- Requires-Dist: griffelib==2.3.0
25
+ Requires-Dist: griffelib==2.3.2
@@ -1,7 +1,7 @@
1
1
  # Griffe
2
2
 
3
3
  [![ci](https://github.com/mkdocstrings/griffe/workflows/ci/badge.svg)](https://github.com/mkdocstrings/griffe/actions?query=workflow%3Aci)
4
- [![documentation](https://img.shields.io/badge/docs-mkdocs-708FCC.svg?style=flat)](https://mkdocstrings.github.io/griffe/)
4
+ [![documentation](https://img.shields.io/badge/docs-zensical-FF9100.svg?style=flat)](https://mkdocstrings.github.io/griffe/)
5
5
  [![pypi version](https://img.shields.io/pypi/v/griffe.svg)](https://pypi.org/project/griffe/)
6
6
  [![gitter](https://img.shields.io/badge/matrix-chat-4db798.svg?style=flat)](https://app.gitter.im/#/room/#mkdocstrings_griffe:gitter.im)
7
7
  [![radicle](https://img.shields.io/badge/rad-clone-6666FF.svg?style=flat)](https://app.radicle.at/nodes/seed.radicle.at/rad:z4M5XTPDD4Wh1sm8iPCenF85J3z8Z)
@@ -10,7 +10,7 @@ description = "Signatures for entire Python programs. Extract the structure, the
10
10
  authors = [{name = "Timothée Mazzucotelli", email = "dev@pawamoy.fr"}]
11
11
  license = "ISC"
12
12
  license-files = ["LICENSE"]
13
- requires-python = ">=3.10"
13
+ requires-python = ">=3.11"
14
14
  keywords = ["api", "signature", "breaking-changes", "static-analysis", "dynamic-analysis"]
15
15
  dynamic = ["version", "dependencies"]
16
16
  classifiers = [
@@ -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.
@@ -29,6 +27,8 @@ classifiers = [
29
27
  "Programming Language :: Python :: 3.13",
30
28
  # YORE: EOL 3.14: Remove line.
31
29
  "Programming Language :: Python :: 3.14",
30
+ # YORE: EOL 3.15: Remove line.
31
+ "Programming Language :: Python :: 3.15",
32
32
  "Topic :: Documentation",
33
33
  "Topic :: Software Development",
34
34
  "Topic :: Software Development :: Documentation",
@@ -34,7 +34,7 @@ import logging
34
34
  import os
35
35
  import re
36
36
  import sys
37
- from datetime import datetime, timezone
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=timezone.utc)
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=timezone.utc) - started
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