Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-annotated-doc for
openSUSE:Factory checked in at 2026-03-18 16:49:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-annotated-doc (Old)
and /work/SRC/openSUSE:Factory/.python-annotated-doc.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-annotated-doc"
Wed Mar 18 16:49:28 2026 rev:2 rq:1340813 version:0.0.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-annotated-doc/python-annotated-doc.changes
2025-11-01 23:34:48.854968781 +0100
+++
/work/SRC/openSUSE:Factory/.python-annotated-doc.new.8177/python-annotated-doc.changes
2026-03-18 16:50:41.917514890 +0100
@@ -1,0 +2,8 @@
+Wed Mar 18 04:01:55 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 0.0.4:
+ * Switch to dynamic versioning with pdm build system.
+ * Add typing-extensions to test requirements for Python < 3.9.
+- Ship the README in the binary packages as docs.
+
+-------------------------------------------------------------------
Old:
----
annotated_doc-0.0.3.tar.gz
New:
----
annotated_doc-0.0.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-annotated-doc.spec ++++++
--- /var/tmp/diff_new_pack.84GvoD/_old 2026-03-18 16:50:43.661587946 +0100
+++ /var/tmp/diff_new_pack.84GvoD/_new 2026-03-18 16:50:43.665588113 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-annotated-doc
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,18 @@
Name: python-annotated-doc
-Version: 0.0.3
+Version: 0.0.4
Release: 0
Summary: Document params, attributes, types and variables inline
License: MIT
URL: https://github.com/fastapi/annotated-doc
Source:
https://files.pythonhosted.org/packages/source/a/annotated-doc/annotated_doc-%{version}.tar.gz
-BuildRequires: python-rpm-macros
+BuildRequires: %{python_module base >= 3.8}
+BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module uv-build < 0.10.0}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module typing-extensions}
BuildRequires: fdupes
+BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@@ -50,6 +50,7 @@
%files %{python_files}
%license LICENSE
+%doc README.md
%{python_sitelib}/annotated_doc
%{python_sitelib}/annotated_doc-%{version}.dist-info
++++++ annotated_doc-0.0.3.tar.gz -> annotated_doc-0.0.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/annotated_doc-0.0.3/PKG-INFO
new/annotated_doc-0.0.4/PKG-INFO
--- old/annotated_doc-0.0.3/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
+++ new/annotated_doc-0.0.4/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +1,8 @@
Metadata-Version: 2.4
Name: annotated-doc
-Version: 0.0.3
+Version: 0.0.4
Summary: Document parameters, class attributes, return types, and variables
inline, with Annotated.
-Author: Sebastián Ramírez
-Author-email: Sebastián Ramírez <[email protected]>
+Author-Email: =?utf-8?q?Sebasti=C3=A1n_Ram=C3=ADrez?= <[email protected]>
License-Expression: MIT
License-File: LICENSE
Classifier: Intended Audience :: Information Technology
@@ -19,7 +18,6 @@
Classifier: Typing :: Typed
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
@@ -28,12 +26,12 @@
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
-Requires-Python: >=3.8
-Project-URL: Changelog,
https://github.com/fastapi/annotated-doc/release-notes.md
-Project-URL: Documentation, https://github.com/fastapi/annotated-doc
Project-URL: Homepage, https://github.com/fastapi/annotated-doc
-Project-URL: Issues, https://github.com/fastapi/annotated-doc/issues
+Project-URL: Documentation, https://github.com/fastapi/annotated-doc
Project-URL: Repository, https://github.com/fastapi/annotated-doc
+Project-URL: Issues, https://github.com/fastapi/annotated-doc/issues
+Project-URL: Changelog,
https://github.com/fastapi/annotated-doc/release-notes.md
+Requires-Python: >=3.8
Description-Content-Type: text/markdown
# Annotated Doc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/annotated_doc-0.0.3/pyproject.toml
new/annotated_doc-0.0.4/pyproject.toml
--- old/annotated_doc-0.0.3/pyproject.toml 1970-01-01 01:00:00.000000000
+0100
+++ new/annotated_doc-0.0.4/pyproject.toml 2025-11-10 23:07:26.924620600
+0100
@@ -1,12 +1,14 @@
[project]
name = "annotated-doc"
-version = "0.0.3"
+dynamic = []
license = "MIT"
-license-files = ["LICENSE"]
+license-files = [
+ "LICENSE",
+]
description = "Document parameters, class attributes, return types, and
variables inline, with Annotated."
readme = "README.md"
authors = [
- { name = "Sebastián Ramírez", email = "[email protected]" }
+ { name = "Sebastián Ramírez", email = "[email protected]" },
]
requires-python = ">=3.8"
classifiers = [
@@ -23,7 +25,6 @@
"Typing :: Typed",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
- "License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
@@ -34,6 +35,8 @@
"Programming Language :: Python :: 3.14",
]
dependencies = []
+version = "0.0.4"
+
[project.urls]
Homepage = "https://github.com/fastapi/annotated-doc"
Documentation = "https://github.com/fastapi/annotated-doc"
@@ -42,16 +45,18 @@
Changelog = "https://github.com/fastapi/annotated-doc/release-notes.md"
[build-system]
-requires = ["uv_build>=0.9.1,<0.10.0"]
-build-backend = "uv_build"
+requires = [
+ "pdm-backend",
+]
+build-backend = "pdm.backend"
[tool.mypy]
strict = true
[tool.pytest.ini_options]
addopts = [
- "--strict-config",
- "--strict-markers",
+ "--strict-config",
+ "--strict-markers",
]
xfail_strict = true
junit_family = "xunit2"
@@ -63,7 +68,7 @@
"src/annotated_doc",
"tests",
]
-context = '${CONTEXT}'
+context = "${CONTEXT}"
dynamic_context = "test_function"
relative_files = true
@@ -76,28 +81,34 @@
[tool.ruff.lint]
select = [
- "E", # pycodestyle errors
- "W", # pycodestyle warnings
- "F", # pyflakes
- "I", # isort
- "B", # flake8-bugbear
- "C4", # flake8-comprehensions
- "UP", # pyupgrade
+ "E",
+ "W",
+ "F",
+ "I",
+ "B",
+ "C4",
+ "UP",
]
ignore = [
- "E501", # line too long, handled by black
- "B008", # do not perform function calls in argument defaults
- "C901", # too complex
- "W191", # indentation contains tabs
+ "E501",
+ "B008",
+ "C901",
+ "W191",
]
[tool.ruff.lint.pyupgrade]
-# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true
-[tool.uv.build-backend]
-source-include = [
- "tests/**",
+[tool.pdm]
+distribution = true
+
+[tool.pdm.version]
+source = "file"
+path = "src/annotated_doc/__init__.py"
+
+[tool.pdm.build]
+source-includes = [
+ "tests/",
"requirements*.txt",
- "scripts/**",
+ "scripts/",
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/annotated_doc-0.0.3/requirements-tests.txt
new/annotated_doc-0.0.4/requirements-tests.txt
--- old/annotated_doc-0.0.3/requirements-tests.txt 1970-01-01
01:00:00.000000000 +0100
+++ new/annotated_doc-0.0.4/requirements-tests.txt 2025-11-10
23:07:19.988552600 +0100
@@ -1,7 +1,8 @@
-e .
pytest >=8.3.5
+typing-extensions; python_version < "3.9"
coverage[toml] >=7.6.1
mypy ==1.14.1
-ruff ==0.14.1
+ruff ==0.14.3
smokeshow >=0.5.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/annotated_doc-0.0.3/src/annotated_doc/__init__.py
new/annotated_doc-0.0.4/src/annotated_doc/__init__.py
--- old/annotated_doc-0.0.3/src/annotated_doc/__init__.py 1970-01-01
01:00:00.000000000 +0100
+++ new/annotated_doc-0.0.4/src/annotated_doc/__init__.py 2025-11-10
23:07:19.989552700 +0100
@@ -1,5 +1,3 @@
-from importlib.metadata import version
-
from .main import Doc as Doc
-__version__ = version("annotated-doc")
+__version__ = "0.0.4"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/annotated_doc-0.0.3/tests/test_main.py
new/annotated_doc-0.0.4/tests/test_main.py
--- old/annotated_doc-0.0.3/tests/test_main.py 1970-01-01 01:00:00.000000000
+0100
+++ new/annotated_doc-0.0.4/tests/test_main.py 2025-11-10 23:07:19.990552700
+0100
@@ -1,9 +1,13 @@
import pickle
-
-from typing_extensions import Annotated, get_type_hints
+import sys
from annotated_doc import Doc
+if sys.version_info >= (3, 9):
+ from typing import Annotated, get_type_hints
+else:
+ from typing_extensions import Annotated, get_type_hints
+
def test_doc_basic() -> None:
doc = Doc("This is a test documentation.")